0.0.6 • Published 7 years ago

hachikuji v0.0.6

Weekly downloads
-
License
MIT
Repository
-
Last release
7 years ago

Hachikuji

npm.io

Required

  • Docker
  • yamitzky/miniconda-neologd - Docker Hub

Setup

curl -fsSL https://get.docker.com/ | sh
sudo usermod -aG docker `whoami`
sudo gpasswd -a $USER docker
docker pull yamitzky/docker-miniconda-neologd

Install

yarn add hachikuji

Usage

cosnt { Mecab } = require('hachikuji')

new Mecab()
  .parse("ご注文はうさぎですか?")
  .then( results => console.log(results) );
=>
[ { surface_from: 'ご注文はうさぎですか?',
    pos: '名詞',
    pos_detail_1: '固有名詞',
    pos_detail_2: '一般',
    pos_detail_3: '*',
    conjugated_type: '*',
    conjugated_form: '*',
    basic_form: 'ご注文はうさぎですか?',
    reading: 'ゴチュウモンハウサギデスカ',
    pronunciation: 'ゴチューモンハウサギデスカ' } ]

Reference Code

hecomi/node-mecab-async: Asynchronous japanese morphological analyser using MeCab.

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago