juman-bin

0.3.0 • Public • Published

juman-bin

juman is a User-Extensible Morphological Analyzer for Japanese.

Install

$ npm install --save juman-bin

Usage

const { exec } = require('child_process');
const juman = require('juman-bin');
 
exec(`echo ラーメン大好き | ${juman}`, (err, stdout) => {
  console.log(stdout);
  // =>
  // ラーメン らーめん ラーメン 名詞 6 普通名詞 1 * 0 * 0 "代表表記:ラーメン/らーめん カテゴリ:人工物-食べ物 ドメイン:料理・食事"
  // 大好き だいすき 大好きだ 形容詞 3 * 0 ナノ形容詞 22 語幹 1 "代表表記:大好きだ/だいすきだ"
  // EOS
});

License

MIT

/juman-bin/

    Package Sidebar

    Install

    npm i juman-bin

    Weekly Downloads

    37

    Version

    0.3.0

    License

    MIT

    Last publish

    Collaborators

    • thammin