lindera-wasm
WebAssembly of Lindera
Demo Application
npm
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)
Install project dependencies
- wasm-pack : https://rustwasm.github.io/wasm-pack/installer/
Setup repository
# Clone lindera-py project repository
% git clone git@github.com:lindera/lindera-wasm.git
% cd lindera-wasm
Build project
% wasm-pack build --release --features=cjk --target=bundler
Build example web application
% cd lindera-wasm && npm install && npm run build && cp index.html dist/index.html
Run example web application
% cd lindera-wasm && npm run start