Skip to content

Commit

Permalink
fix: improve test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
sebthom committed Dec 20, 2024
1 parent 7ebf160 commit afc14db
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/hx/strings/spelling/checker/GermanSpellChecker.hx
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,8 @@ class GermanSpellChecker extends AbstractSpellChecker {
* >>> GermanSpellChecker.INSTANCE.correctWord("SCHREIBWEISE") == "Schreibweise"
* >>> GermanSpellChecker.INSTANCE.correctWord("SCHRIBWEISE") == "Schreibweise"
* >>> GermanSpellChecker.INSTANCE.correctWord("Schre1bweise") == "Schreibweise"
#if !cpp
// TODO see https://github.com/HaxeFoundation/haxe/issues/9007
* >>> GermanSpellChecker.INSTANCE.correctText("etwaz kohmische Aepfel ligen vör der Thür", 3000) == "etwas komische Äpfel liegen vor der Tür"
#end
* >>> GermanSpellChecker.INSTANCE.suggestWords("Sistem", 3, 3000) == [ "System", "Sitte", "Sitten" ]
* >>> GermanSpellChecker.INSTANCE.suggestWords("Kiche", 3, 3000) == [ "Kirche", "Küche", "Eiche" ]
* </code></pre>
*/
public static final INSTANCE = new GermanSpellChecker(GermanDictionary.INSTANCE);
Expand Down

0 comments on commit afc14db

Please # to comment.