Skip to content

migrate from NHunspell to WeCantSpell.Hunspell #278

migrate from NHunspell to WeCantSpell.Hunspell

migrate from NHunspell to WeCantSpell.Hunspell #278

GitHub Actions / LCM Tests failed Aug 30, 2024 in 0s

10 fail, 20 skipped, 2 796 pass in 2m 55s

    16 files  +    8      16 suites  +8   2m 55s ⏱️ + 1m 17s
 2 826 tests +   13   2 796 ✅ +    3   20 💤 ±  0  10 ❌ +10 
11 252 runs  +5 626  11 060 ✅ +5 511  179 💤 +102  13 ❌ +13 

Results for commit 54048c4. ± Comparison against earlier commit a94672d.

Annotations

Check warning on line 0 in SIL.LCModel.Core.SpellChecking.SpellingHelperTests

See this annotation in the file changed.

@github-actions github-actions / LCM Tests

1 out of 4 runs failed: ResetDictionary_AddsNoWordsToNonPrivate (SIL.LCModel.Core.SpellChecking.SpellingHelperTests)

artifacts/Test results (windows-latest)/results_net461_20240830090952.trx [took 0s]
Raw output
System.IO.FileLoadException : Could not load file or assembly 'WeCantSpell.Hunspell, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)   at SIL.LCModel.Core.SpellChecking.SpellEngineWeCantSpell..ctor(String affixPath, String dictPath, String exceptionPath)
   at SIL.LCModel.Core.SpellChecking.SpellEngine.Create(String affixPath, String dictPath, String exceptionPath) in D:\a\liblcm\liblcm\src\SIL.LCModel.Core\SpellChecking\SpellEngine.cs:line 42
   at SIL.LCModel.Core.SpellChecking.SpellingHelper.RawGetSpellChecker(String dictId) in D:\a\liblcm\liblcm\src\SIL.LCModel.Core\SpellChecking\SpellingHelper.cs:line 244
   at SIL.LCModel.Core.SpellChecking.SpellingHelper.GetSpellChecker(String dictId) in D:\a\liblcm\liblcm\src\SIL.LCModel.Core\SpellChecking\SpellingHelper.cs:line 78
   at SIL.LCModel.Core.SpellChecking.SpellingHelper.ResetDictionary(String id, IEnumerable`1 words) in D:\a\liblcm\liblcm\src\SIL.LCModel.Core\SpellChecking\SpellingHelper.cs:line 462
   at SIL.LCModel.Core.SpellChecking.SpellingHelperTests.ResetDictionary_AddsNoWordsToNonPrivate() in D:\a\liblcm\liblcm\tests\SIL.LCModel.Core.Tests\SpellChecking\SpellingHelperTests.cs:line 251

Check warning on line 0 in SIL.LCModel.Core.SpellChecking.SpellingHelperTests

See this annotation in the file changed.

@github-actions github-actions / LCM Tests

1 out of 4 runs failed: DictionaryCanHaveNonAsciId (SIL.LCModel.Core.SpellChecking.SpellingHelperTests)

artifacts/Test results (windows-latest)/results_net461_20240830090952.trx [took 0s]
Raw output
System.IO.FileLoadException : Could not load file or assembly 'WeCantSpell.Hunspell, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)   at SIL.LCModel.Core.SpellChecking.SpellEngineWeCantSpell..ctor(String affixPath, String dictPath, String exceptionPath)
   at SIL.LCModel.Core.SpellChecking.SpellEngine.Create(String affixPath, String dictPath, String exceptionPath) in D:\a\liblcm\liblcm\src\SIL.LCModel.Core\SpellChecking\SpellEngine.cs:line 42
   at SIL.LCModel.Core.SpellChecking.SpellingHelper.RawGetSpellChecker(String dictId) in D:\a\liblcm\liblcm\src\SIL.LCModel.Core\SpellChecking\SpellingHelper.cs:line 244
   at SIL.LCModel.Core.SpellChecking.SpellingHelper.GetSpellChecker(String dictId) in D:\a\liblcm\liblcm\src\SIL.LCModel.Core\SpellChecking\SpellingHelper.cs:line 78
   at SIL.LCModel.Core.SpellChecking.SpellingHelperTests.DictionaryCanHaveNonAsciId() in D:\a\liblcm\liblcm\tests\SIL.LCModel.Core.Tests\SpellChecking\SpellingHelperTests.cs:line 131

Check warning on line 0 in SIL.LCModel.Core.SpellChecking.SpellingHelperTests

See this annotation in the file changed.

@github-actions github-actions / LCM Tests

2 out of 4 runs failed: GetSimpleSuggestion (SIL.LCModel.Core.SpellChecking.SpellingHelperTests)

artifacts/Test results (windows-latest)/results_net461_20240830090952.trx [took 0s]
artifacts/Test results (windows-latest)/results_net8.0_20240830090958.trx [took 0s]
Raw output
System.IO.FileLoadException : Could not load file or assembly 'WeCantSpell.Hunspell, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)   at SIL.LCModel.Core.SpellChecking.SpellEngineWeCantSpell..ctor(String affixPath, String dictPath, String exceptionPath)
   at SIL.LCModel.Core.SpellChecking.SpellEngine.Create(String affixPath, String dictPath, String exceptionPath) in D:\a\liblcm\liblcm\src\SIL.LCModel.Core\SpellChecking\SpellEngine.cs:line 42
   at SIL.LCModel.Core.SpellChecking.SpellingHelper.RawGetSpellChecker(String dictId) in D:\a\liblcm\liblcm\src\SIL.LCModel.Core\SpellChecking\SpellingHelper.cs:line 244
   at SIL.LCModel.Core.SpellChecking.SpellingHelper.GetSpellChecker(String dictId) in D:\a\liblcm\liblcm\src\SIL.LCModel.Core\SpellChecking\SpellingHelper.cs:line 78
   at SIL.LCModel.Core.SpellChecking.SpellingHelperTests.GetSimpleSuggestion() in D:\a\liblcm\liblcm\tests\SIL.LCModel.Core.Tests\SpellChecking\SpellingHelperTests.cs:line 299

Check warning on line 0 in SIL.LCModel.Core.SpellChecking.SpellingHelperTests

See this annotation in the file changed.

@github-actions github-actions / LCM Tests

1 out of 4 runs failed: AddBaddBeforeStarSpellling (SIL.LCModel.Core.SpellChecking.SpellingHelperTests)

artifacts/Test results (windows-latest)/results_net461_20240830090952.trx [took 0s]
Raw output
System.IO.FileLoadException : Could not load file or assembly 'WeCantSpell.Hunspell, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)   at SIL.LCModel.Core.SpellChecking.SpellEngineWeCantSpell..ctor(String affixPath, String dictPath, String exceptionPath)
   at SIL.LCModel.Core.SpellChecking.SpellEngine.Create(String affixPath, String dictPath, String exceptionPath) in D:\a\liblcm\liblcm\src\SIL.LCModel.Core\SpellChecking\SpellEngine.cs:line 42
   at SIL.LCModel.Core.SpellChecking.SpellingHelper.RawGetSpellChecker(String dictId) in D:\a\liblcm\liblcm\src\SIL.LCModel.Core\SpellChecking\SpellingHelper.cs:line 244
   at SIL.LCModel.Core.SpellChecking.SpellingHelper.GetSpellChecker(String dictId) in D:\a\liblcm\liblcm\src\SIL.LCModel.Core\SpellChecking\SpellingHelper.cs:line 78
   at SIL.LCModel.Core.SpellChecking.SpellingHelperTests.AddBaddBeforeStarSpellling() in D:\a\liblcm\liblcm\tests\SIL.LCModel.Core.Tests\SpellChecking\SpellingHelperTests.cs:line 283

Check warning on line 0 in SIL.LCModel.Core.SpellChecking.SpellingHelperTests

See this annotation in the file changed.

@github-actions github-actions / LCM Tests

2 out of 4 runs failed: BasicSpellingStatus (SIL.LCModel.Core.SpellChecking.SpellingHelperTests)

artifacts/Test results (windows-latest)/results_net461_20240830090952.trx [took 0s]
artifacts/Test results (windows-latest)/results_net8.0_20240830090958.trx [took 0s]
Raw output
System.IO.FileLoadException : Could not load file or assembly 'WeCantSpell.Hunspell, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)   at SIL.LCModel.Core.SpellChecking.SpellEngineWeCantSpell..ctor(String affixPath, String dictPath, String exceptionPath)
   at SIL.LCModel.Core.SpellChecking.SpellEngine.Create(String affixPath, String dictPath, String exceptionPath) in D:\a\liblcm\liblcm\src\SIL.LCModel.Core\SpellChecking\SpellEngine.cs:line 42
   at SIL.LCModel.Core.SpellChecking.SpellingHelper.RawGetSpellChecker(String dictId) in D:\a\liblcm\liblcm\src\SIL.LCModel.Core\SpellChecking\SpellingHelper.cs:line 244
   at SIL.LCModel.Core.SpellChecking.SpellingHelper.GetSpellChecker(String dictId) in D:\a\liblcm\liblcm\src\SIL.LCModel.Core\SpellChecking\SpellingHelper.cs:line 78
   at SIL.LCModel.Core.SpellChecking.SpellingHelperTests.BasicSpellingStatus() in D:\a\liblcm\liblcm\tests\SIL.LCModel.Core.Tests\SpellChecking\SpellingHelperTests.cs:line 43

Check warning on line 0 in SIL.LCModel.Core.SpellChecking.SpellingHelperTests

See this annotation in the file changed.

@github-actions github-actions / LCM Tests

1 out of 4 runs failed: OurDictionaryIsPrivate (SIL.LCModel.Core.SpellChecking.SpellingHelperTests)

artifacts/Test results (windows-latest)/results_net461_20240830090952.trx [took 0s]
Raw output
System.IO.FileLoadException : Could not load file or assembly 'WeCantSpell.Hunspell, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)   at SIL.LCModel.Core.SpellChecking.SpellEngineWeCantSpell..ctor(String affixPath, String dictPath, String exceptionPath)
   at SIL.LCModel.Core.SpellChecking.SpellEngine.Create(String affixPath, String dictPath, String exceptionPath) in D:\a\liblcm\liblcm\src\SIL.LCModel.Core\SpellChecking\SpellEngine.cs:line 42
   at SIL.LCModel.Core.SpellChecking.SpellingHelper.RawGetSpellChecker(String dictId) in D:\a\liblcm\liblcm\src\SIL.LCModel.Core\SpellChecking\SpellingHelper.cs:line 244
   at SIL.LCModel.Core.SpellChecking.SpellingHelper.GetSpellChecker(String dictId) in D:\a\liblcm\liblcm\src\SIL.LCModel.Core\SpellChecking\SpellingHelper.cs:line 78
   at SIL.LCModel.Core.SpellChecking.SpellingHelperTests.OurDictionaryIsPrivate() in D:\a\liblcm\liblcm\tests\SIL.LCModel.Core.Tests\SpellChecking\SpellingHelperTests.cs:line 175

Check warning on line 0 in SIL.LCModel.Core.SpellChecking.SpellingHelperTests

See this annotation in the file changed.

@github-actions github-actions / LCM Tests

1 out of 4 runs failed: EnsureDictionaryDoesNotOverwriteNonVernacularDictionary (SIL.LCModel.Core.SpellChecking.SpellingHelperTests)

artifacts/Test results (windows-latest)/results_net461_20240830090952.trx [took 0s]
Raw output
System.IO.FileLoadException : Could not load file or assembly 'WeCantSpell.Hunspell, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)   at SIL.LCModel.Core.SpellChecking.SpellEngineWeCantSpell..ctor(String affixPath, String dictPath, String exceptionPath)
   at SIL.LCModel.Core.SpellChecking.SpellEngine.Create(String affixPath, String dictPath, String exceptionPath) in D:\a\liblcm\liblcm\src\SIL.LCModel.Core\SpellChecking\SpellEngine.cs:line 42
   at SIL.LCModel.Core.SpellChecking.SpellingHelper.RawGetSpellChecker(String dictId) in D:\a\liblcm\liblcm\src\SIL.LCModel.Core\SpellChecking\SpellingHelper.cs:line 244
   at SIL.LCModel.Core.SpellChecking.SpellingHelper.GetSpellChecker(String dictId) in D:\a\liblcm\liblcm\src\SIL.LCModel.Core\SpellChecking\SpellingHelper.cs:line 78
   at SIL.LCModel.Core.SpellChecking.SpellingHelper.EnsureDictionary(String dictId) in D:\a\liblcm\liblcm\src\SIL.LCModel.Core\SpellChecking\SpellingHelper.cs:line 324
   at SIL.LCModel.Core.SpellChecking.SpellingHelperTests.EnsureDictionaryDoesNotOverwriteNonVernacularDictionary() in D:\a\liblcm\liblcm\tests\SIL.LCModel.Core.Tests\SpellChecking\SpellingHelperTests.cs:line 163

Check warning on line 0 in SIL.LCModel.Core.SpellChecking.SpellingHelperTests

See this annotation in the file changed.

@github-actions github-actions / LCM Tests

1 out of 4 runs failed: OtherDictionaryIsNotPrivate (SIL.LCModel.Core.SpellChecking.SpellingHelperTests)

artifacts/Test results (windows-latest)/results_net461_20240830090952.trx [took 0s]
Raw output
System.IO.FileLoadException : Could not load file or assembly 'WeCantSpell.Hunspell, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)   at SIL.LCModel.Core.SpellChecking.SpellEngineWeCantSpell..ctor(String affixPath, String dictPath, String exceptionPath)
   at SIL.LCModel.Core.SpellChecking.SpellEngine.Create(String affixPath, String dictPath, String exceptionPath) in D:\a\liblcm\liblcm\src\SIL.LCModel.Core\SpellChecking\SpellEngine.cs:line 42
   at SIL.LCModel.Core.SpellChecking.SpellingHelper.RawGetSpellChecker(String dictId) in D:\a\liblcm\liblcm\src\SIL.LCModel.Core\SpellChecking\SpellingHelper.cs:line 244
   at SIL.LCModel.Core.SpellChecking.SpellingHelper.GetSpellChecker(String dictId) in D:\a\liblcm\liblcm\src\SIL.LCModel.Core\SpellChecking\SpellingHelper.cs:line 78
   at SIL.LCModel.Core.SpellChecking.SpellingHelperTests.OtherDictionaryIsNotPrivate() in D:\a\liblcm\liblcm\tests\SIL.LCModel.Core.Tests\SpellChecking\SpellingHelperTests.cs:line 192

Check warning on line 0 in SIL.LCModel.Core.SpellChecking.SpellingHelperTests

See this annotation in the file changed.

@github-actions github-actions / LCM Tests

2 out of 4 runs failed: ResetDictionaryAddsAllWords (SIL.LCModel.Core.SpellChecking.SpellingHelperTests)

artifacts/Test results (windows-latest)/results_net461_20240830090952.trx [took 0s]
artifacts/Test results (windows-latest)/results_net8.0_20240830090958.trx [took 0s]
Raw output
System.IO.FileLoadException : Could not load file or assembly 'WeCantSpell.Hunspell, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)   at SIL.LCModel.Core.SpellChecking.SpellEngineWeCantSpell..ctor(String affixPath, String dictPath, String exceptionPath)
   at SIL.LCModel.Core.SpellChecking.SpellEngine.Create(String affixPath, String dictPath, String exceptionPath) in D:\a\liblcm\liblcm\src\SIL.LCModel.Core\SpellChecking\SpellEngine.cs:line 42
   at SIL.LCModel.Core.SpellChecking.SpellingHelper.RawGetSpellChecker(String dictId) in D:\a\liblcm\liblcm\src\SIL.LCModel.Core\SpellChecking\SpellingHelper.cs:line 244
   at SIL.LCModel.Core.SpellChecking.SpellingHelper.GetSpellChecker(String dictId) in D:\a\liblcm\liblcm\src\SIL.LCModel.Core\SpellChecking\SpellingHelper.cs:line 78
   at SIL.LCModel.Core.SpellChecking.SpellingHelperTests.ResetDictionaryAddsAllWords() in D:\a\liblcm\liblcm\tests\SIL.LCModel.Core.Tests\SpellChecking\SpellingHelperTests.cs:line 228

Check warning on line 0 in SIL.LCModel.Core.SpellChecking.SpellingHelperTests

See this annotation in the file changed.

@github-actions github-actions / LCM Tests

1 out of 4 runs failed: ExceptionListIsLoadedForNonVernacularDictionary (SIL.LCModel.Core.SpellChecking.SpellingHelperTests)

artifacts/Test results (windows-latest)/results_net461_20240830090952.trx [took 0s]
Raw output
System.IO.FileLoadException : Could not load file or assembly 'WeCantSpell.Hunspell, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)   at SIL.LCModel.Core.SpellChecking.SpellEngineWeCantSpell..ctor(String affixPath, String dictPath, String exceptionPath)
   at SIL.LCModel.Core.SpellChecking.SpellEngine.Create(String affixPath, String dictPath, String exceptionPath) in D:\a\liblcm\liblcm\src\SIL.LCModel.Core\SpellChecking\SpellEngine.cs:line 42
   at SIL.LCModel.Core.SpellChecking.SpellingHelper.RawGetSpellChecker(String dictId) in D:\a\liblcm\liblcm\src\SIL.LCModel.Core\SpellChecking\SpellingHelper.cs:line 244
   at SIL.LCModel.Core.SpellChecking.SpellingHelper.GetSpellChecker(String dictId) in D:\a\liblcm\liblcm\src\SIL.LCModel.Core\SpellChecking\SpellingHelper.cs:line 78
   at SIL.LCModel.Core.SpellChecking.SpellingHelperTests.ExceptionListIsLoadedForNonVernacularDictionary() in D:\a\liblcm\liblcm\tests\SIL.LCModel.Core.Tests\SpellChecking\SpellingHelperTests.cs:line 272