WebAssembly of Lindera
-
https://www.npmjs.com/package/lindera-wasm
Lindera WASM with CJK dictionaries (IPADIC, ko-dic, CC-CEDICT) -
https://www.npmjs.com/package/lindera-wasm-ipadic
Lindera WASM with Japanese dictionary (IPADIC) -
https://www.npmjs.com/package/lindera-wasm-unidic
Lindera WASM with Japanese dictionary (UniDic) -
https://www.npmjs.com/package/lindera-wasm-ko-dic
Lindera WASM with Korean dictionary (ko-dic) -
https://www.npmjs.com/package/lindera-wasm-cc-cedict
Lindera WASM with Chinese dictionary (CC-CEDICT)
- wasm-pack : https://rustwasm.github.io/wasm-pack/installer/
# Clone lindera-py project repository
% git clone [email protected]:lindera/lindera-wasm.git
% cd lindera-wasm
% wasm-pack build --release --features=cjk --target=bundler
% cd lindera-wasm && npm install && npm run build && cp index.html dist/index.html
% cd lindera-wasm && npm run start