- Notifications
You must be signed in to change notification settings - Fork2
mecab-ipadic seed dictionary reader
License
NotificationsYou must be signed in to change notification settings
takuyaa/mecab-ipadic-seed
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
File reader formecab-ipadic seed dictionary.
$ npm install mecab-ipadic-seed
Construct object:
constIPADic=require('mecab-ipadic-seed');constdic=newIPADic();
This library offers 4 methods: readMatrixDef(), readCharDef(), readUnkDef(), and readTokenInfo() for reading MeCab seed dictionary (They are text files).For example, if you would like to readmetrix.def
:
dic.readMatrixDef((line)=>{// line is a line of text of matrix.def// This function will be called at line-by-line sequentially}).then(()=>{// This function will be called at once when all lines have been read});
Usage of other 3 methods are in the same way.See also undertest
directory.
This project is licensed under the MIT License. See LICENSE.txt for details.This repository includes files of 3rd party dictionaries. See NOTICE.md for these details.
About
mecab-ipadic seed dictionary reader
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.