Détail du package

@aiktb/kuromoji

aiktb40Apache-2.01.0.2

Forked version of kuromoji with better compatibility for browsers

japanese, morphological analyzer, nlp, pos

readme

@aiktb/kuromoji

Why need this fork?

This is a special purpose version of kuromoji that allows serving *.dat instead of *.dat.gz files. The logic about file decompression has been removed from the code. If you are curious why this is needed, please check https://github.com/aiktb/FuriganaMaker/issues/21.

Why forked by @sglkc/kuromoji?

@aiktb/Kuromoji forked by @sglkc/kuromoji, @sglkc/kuromoji forked by kuromoji.js.

@sglkc/kuromoji is a very good kuromoji fork. Now that kuromoji.js has stopped maintaining, it provides many modern features, such as browser support, service worker support, etc. For details, please check my blog: Stop Using kuromoji.js: @sglkc/kuromoji is a Better, More Modern Fork

[!CAUTION] This fork has no long-term maintenance plans and has only been tested in the browser. No issues will be accepted. If you need anything, please create a fork or open a PR.

How to use

Compatible with kuromoji.js API, the only difference is that please provide the directory where the *.dat files are stored.

changelog

0.1.2 (2018-03-20)

Bug Fixes

  • tokenization of 研/究 (#16) and 協/会 (#23) is not valid

Bump deps

  • update dependencies and devDependencies in package.json

0.1.1 (2016-08-07)

Breaking Changes

  • dictionary directory path is changed from dist/dict/ to dict/, and browserified file kuromoji.js is moved from dist/browser/kuromoji.js to build/kuromoji.js (#13)

Bug Fixes

  • browserified kuromoji.js does not work in browser (#13)

0.1.0 (2016-08-06)

Breaking Changes

  • change binary format of cc.dat.gz (connection costs dictionary) (761eaf2, c64cc22)

Bug Fixes

  • word_position returns the real position in the text (#10)

Performance Improvements

  • read seed dictionary line-by-line to reduce memory consumption when building dictionary

Bump deps

  • update dependencies in package.json

Miscellaneous

  • separate mecab-ipadic seed dictionary to different repo as a npm package mecab-ipadic-seed (#12)
  • remove jsdoc directory from git repo (817c23e)
  • define deploy gulp task to publish jsdoc and demo as GitHub Pages (2d638aa)

0.0.5 (2015-11-19)

Bug Fixes

  • add error handling when DictionaryLoader try to load non-exist dictionaries (#7)
  • work with Atom editor (#8)

0.0.4 (2015-09-07)

Bump deps

  • update dependencies in package.json (#5)

Performance Improvements

  • use built-in zlib module instead of zlib.js on node.js (#6)

0.0.3 (2015-09-06)

Miscellaneous

  • introduce Travis CI, Coveralls.io and Code Climate
  • update README.md

0.0.2 (2014-12-04)

Miscellaneous

  • version to 0.0.2 because of failure to npm publish (1cdad3c)