Skip to content

Japanese Dependency and Case Structure Analyzer. 日本語構文・格・照応解析システム

License

Notifications You must be signed in to change notification settings

thammin/knp-bin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

knp-bin

knp is a Japanese Dependency and Case Structure Analyzer.

Install

$ npm install --save knp-bin

Usage

const { exec } = require('child_process');
const juman = require('juman-bin');
const knp = require('knp-bin');

exec(`echo ラーメン大好き | ${juman} | ${knp}`, (err, stdout) => {
  console.log(stdout);
  // =>
  // # S-ID:1 KNP:4.17-CF1.1 DATE:2017/05/11 SCORE:-8.61202
  // ラーメン═════╗ <体言>
  //           大好き<用言:形><格解析結果:ガ/ラーメン;カラ/-;ガ2/-;ノ/->
  // EOS
});

License

MIT

About

Japanese Dependency and Case Structure Analyzer. 日本語構文・格・照応解析システム

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published