JSPM

tiny-segmenter

0.2.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 15467
  • Score
    100M100P100Q136086F
  • License SEE LICENSE IN http://chasen.org/~taku/software/TinySegmenter/LICENCE.txt

Super compact Japanese tokenizer in Javascript. http://chasen.org/~taku/software/TinySegmenter/

Package Exports

  • tiny-segmenter

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (tiny-segmenter) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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(" | ")); // 表示