Class: NodeDictionaryLoader

NodeDictionaryLoader


new NodeDictionaryLoader(dic_path)

NodeDictionaryLoader inherits DictionaryLoader

Parameters:
Name Type Description
dic_path string

Dictionary path

Methods


loadArrayBuffer(file, callback)

Utility function

Parameters:
Name Type Description
file string

Dictionary file path

callback NodeDictionaryLoader~onLoad

Callback function

Type Definitions


onLoad(err, buffer)

Parameters:
Name Type Description
err Object

Error object

buffer Uint8Array

Loaded buffer