lindera-ipadic-builder 0.3.0

A Japanese morphological dictionary builder for IPADIC.
Documentation
# Lindera IPADIC Builder

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Join the chat at https://gitter.im/bayard-search/lindera](https://badges.gitter.im/bayard-search/lindera.svg)](https://gitter.im/bayard-search/lindera?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

IPADIC dictionary builder for [Lindera](https://github.com/lindera-morphology/lindera). This project fork from fulmicoton's [kuromoji-rs](https://github.com/fulmicoton/kuromoji-rs).

## Install

```
% cargo install lindera-ipadic-builder
```

## Build

The following products are required to build:

- Rust >= 1.39.0
- make >= 3.81

```text
% make lindera-ipadic
```

## Dictionary version

This repository contains [mecab-ipadic-2.7.0-20070801](https://osdn.net/projects/sfnet_mecab/downloads/mecab-ipadic/2.7.0-20070801/mecab-ipadic-2.7.0-20070801.tar.gz/).

## Building a dictionary

Building a dictionary with `lindera-ipadic` command:

```
% ./bin/lindera-ipadic ./mecab-ipadic ./lindera-ipadic
```

## Tokenizing text using produced dictionary

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:

- [Lindera CLI]https://github.com/lindera-morphology/lindera-cli


## API reference

The API reference is available. Please see following URL:
- <a href="https://docs.rs/lindera-ipadic-builder" target="_blank">lindera-ipadic-builder</a>

## Project links

lindera consists of several projects. The list is following:

- [Lindera]https://github.com/lindera-morphology/lindera
- [Lindera Core]https://github.com/lindera-morphology/lindera-core
- [Lindera Dictionary]https://github.com/lindera-morphology/lindera-dictionary
- [Lindera IPADIC]https://github.com/lindera-morphology/lindera-ipadic
- [lindera IPADIC Builder]https://github.com/lindera-morphology/lindera-ipadic-builder
- [lindera IPADIC NEologd Builder]https://github.com/lindera-morphology/lindera-ipadic-neologd-builder
- [lindera UniDic Builder]https://github.com/lindera-morphology/lindera-unidic-builder
- [Lindera CLI]https://github.com/lindera-morphology/lindera-cli