tiny-segmenter

0.2.0 • Public • Published

tiny-segmenter

Mirror of TinySegmenter, the super compact Japanese tokenizer in Javascript.

For publishing it as an npm package.

Install

npm i tiny-segmenter --save

Usage

// sample code from http://chasen.org/~taku/software/TinySegmenter/
var segmenter = new TinySegmenter(); // インスタンス生成
var segs = segmenter.segment("私の名前は中野です"); // 単語の配列が返る
console.log(segs.join(" | ")); // 表示

Package Sidebar

Install

npm i tiny-segmenter

Weekly Downloads

2,887

Version

0.2.0

License

SEE LICENSE IN http://chasen.org/~taku/software/TinySegmenter/LICENCE.txt

Last publish

Collaborators

  • leungwensen