You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
./dawg/dawgjs-sample/node_modules/dawgjs/factories.js:13
let dictData = new Uint32Array(buffer, 4, dictSize);
^
RangeError: Invalid typed array length
at new Uint32Array (native)
at readByteCompletionDawg (./dawg/dawgjs-sample/node_modules/dawgjs/factories.js:13:20)
at Object.readStringMapDawg (./dawg/dawgjs-sample/node_modules/dawgjs/factories.js:27:55)
at Object.readStringMapDawgSync (./dawg/dawgjs-sample/node_modules/dawgjs/factories.node.js:6:24)
at Object.<anonymous> (./dawg/dawgjs-sample/index.js:3:21)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
Окружение:
$ node --version
v6.9.1
$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.12.2
$ python3 --version
Python 3.6.0
$ pip3 list
DAWG (0.7.8)
The text was updated successfully, but these errors were encountered:
Построение словаря:
Готовый словарь: words.dawg.zip
Инициализация словая в JS:
Ошибка загрузки словаря:
Окружение:
The text was updated successfully, but these errors were encountered: