#morphological-analysis #wasm #library #morphological

lindera-wasm

A morphological analysis library for WebAssembly

1 unstable release

new 0.40.1 Apr 1, 2025

#2287 in Text processing

MIT license

57KB
173 lines

lindera-wasm

WebAssembly of Lindera

Screenshot 2024-12-25 143434

Install project dependencies

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 example && npm install && npm run build && cp index.html dist/index.html

Run example web application

% cd example && npm run start

Dependencies

~15–27MB
~481K SLoC