WordDictionary class
Constructors
Properties
Methods
-
addWord(
String word) → String? -
containsWord(
String word) → bool -
getFreq(
String key) → double -
getTrie(
) → DictSegment -
init(
String configFile) → void - for ES to initialize the user dictionary.
-
inits(
List< String> paths) → void -
loadDict(
) → Future< void> -
loadUserDict(
String userDictPath) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resetDict(
) → void - let user just use their own dict instead of the default dict
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- singleton ↔ WordDictionary?
-
getter/setter pair
Static Methods
Constants
- MAIN_DICT → const String
- USER_DICT_SUFFIX → const String