simple_spell_checker library
Classes
-
Checker<
T extends Object, R, OP extends Object> - LanguageIdentifier
-
LanguageIdentifier is a representation of a register of a language with it's dictionary
language ref to the country code
word
ref to the dictionary - MultiSpellChecker
- A multi spell checker that split on different spans the wrong words from the right ones.
- SimpleSpellChecker
- A simple spell checker that split on different spans the wrong words from the right ones.
-
Tokenizer<
T extends Object> - A interface with the necessary methods to tokenize words
- WordTokenizer
- Default work tokenizer implemented by the package
Enums
- StrategyLanguageSearchOrder
-
This tells to the
SimpleSpellchecker
which should be the priority when we need to search the dictionary for the current language
Mixins
-
CheckOperationsStreams<
T extends Object>
Extensions
Properties
-
defaultLanguages
→ List<
String> -
This list contains all languages that are supported by
default in simple_spell_checker
final
-
defaultLanguagesDictionaries
→ Map<
String, String> -
final
Functions
-
removeUnnecessaryCharacters(
String original, [Object? replace]) → String - This is only for internal use and should not be used outside because this is used to remove unnecessary characters into the dictionary string. By now is used, but in future releases will be removed since we need to change the implementation of the dictionaries