Skip to content

u1f992/mecab-wasm

 
 

Repository files navigation

mecab-wasm

Mecab is a morphological analyzer for Japanese.

This repository builds Mecab with Emscripten, so it can be used in a browser or Node.js.

See examples/ for usage examples.

Build Process

make all

This compiles MeCab C++ source to WebAssembly, builds the IPA dictionary, and bundles everything into the lib/ directory.

A devcontainer configuration is provided in .devcontainer/ with all required dependencies.

Release Process

make clean-submodule  # npm version requires clean git state
npm version patch  # or minor, major
npm publish

About

Mecab, a Japanese morphological analyzer, built for JS with Emscripten

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 59.4%
  • Makefile 20.4%
  • Shell 16.7%
  • Dockerfile 3.5%