Class: BrowserDictionaryLoader

BrowserDictionaryLoader

new BrowserDictionaryLoader(dic_path)

BrowserDictionaryLoader inherits DictionaryLoader, using jQuery XHR for download
Parameters:
Name Type Description
dic_path string Dictionary path
Source:

Methods

loadArrayBuffer(url, callback)

Utility function to load gzipped dictionary
Parameters:
Name Type Description
url string Dictionary URL
callback BrowserDictionaryLoader~onLoad Callback function
Source:

Type Definitions

onLoad(err, buffer)

Callback
Parameters:
Name Type Description
err Object Error object
buffer Uint8Array Loaded buffer
Source: