kuroshiro-analyzer-kuromoji

1.1.0 • Public • Published

kuroshiro-analyzer-kuromoji

Build Status Coverage Status npm version

Package kuroshiro-analyzer-kuromoji
Description Kuromoji morphological analyzer for kuroshiro.
Compatibility Node ✓ (>=6)
Browser

Install

$ npm install kuroshiro-analyzer-kuromoji

For legacy frontend workflows, you could include dist/kuroshiro-analyzer-kuromoji.min.js in your page. (you may first build it from source with npm run build after npm install)

Usage with kuroshiro

Configure analyzer

This analyzer utilizes kuromoji.js.

You could specify the path of your dictionary files with dictPath param.

import KuromojiAnalyzer from "kuroshiro-analyzer-kuromoji";
 
const analyzer = new KuromojiAnalyzer();
 
await kuroshiro.init(analyzer);

Initialization Parameters

Example:

const analyzer = new KuromojiAnalyzer({
    dictPath: "url/to/dictionary_files"
});
  • dictPath: Optional Path of the dictionary files

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.0
    1,761
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.0
    1,761

Package Sidebar

Install

npm i kuroshiro-analyzer-kuromoji

Weekly Downloads

1,371

Version

1.1.0

License

MIT

Unpacked Size

418 kB

Total Files

13

Last publish

Collaborators

  • hexenq