new DictionaryLoader(dic_path)
DictionaryLoader base constructor
Parameters:
Name | Type | Description |
---|---|---|
dic_path |
string | Dictionary path |
- Source:
Methods
-
<static> getLoader(dic_path)
-
Factory method for DictionaryLoader
Parameters:
Name Type Description dic_path
string Dictionary path - Source:
-
load(load_callback)
-
Load dictionary files
Parameters:
Name Type Description load_callback
DictionaryLoader~onLoad Callback function called after loaded - Source:
Type Definitions
-
onLoad(err, dic)
-
Callback
Parameters:
Name Type Description err
Object Error object dic
DynamicDictionaries Loaded dictionary - Source: