IPADIC dictionary builder for Lindera. This project fork from fulmicoton's kuromoji-rs.
% cargo install lindera-ipadic-builder
The following products are required to build:
text
% make lindera-ipadic
This repository contains mecab-ipadic-2.7.0-20070801.
Building a dictionary with lindera-ipadic
command:
% ./bin/lindera-ipadic ./mecab-ipadic-2.7.0-20070801 ./lindera-ipadic-2.7.0-20070801
You can tokenize text using produced dictionary with lindera
command:
% echo "羽田空港限定トートバッグ" | lindera -d ./lindera-ipadic-2.7.0-20070801
羽田空港 名詞,固有名詞,一般,*,*,*,羽田空港,ハネダクウコウ,ハネダクーコー
限定 名詞,サ変接続,*,*,*,*,限定,ゲンテイ,ゲンテイ
トートバッグ UNK,*,*,*,*,*,*,*,*
EOS
For more details about lindera
command, please refer to the following URL:
The API reference is available. Please see following URL: - lindera-ipadic-builder
lindera consists of several projects. The list is following: