49 releases (28 breaking)

new 0.40.1 Mar 27, 2025
0.39.0 Feb 2, 2025
0.38.1 Nov 30, 2024
0.32.2 Jun 29, 2024
0.12.2 Mar 23, 2022

#1863 in Text processing

Download history 2073/week @ 2024-12-04 1551/week @ 2024-12-11 1777/week @ 2024-12-18 1637/week @ 2024-12-25 1917/week @ 2025-01-01 2530/week @ 2025-01-08 2113/week @ 2025-01-15 1712/week @ 2025-01-22 1786/week @ 2025-01-29 2180/week @ 2025-02-05 2038/week @ 2025-02-12 3572/week @ 2025-02-19 4888/week @ 2025-02-26 4585/week @ 2025-03-05 4008/week @ 2025-03-12 4376/week @ 2025-03-19

18,813 downloads per month
Used in 12 crates (via lindera)

MIT license

140KB
3K SLoC

Lindera UniDic

License: MIT Crates.io

Dictionary version

This repository contains unidic-mecab.

Dictionary format

Refer to the manual for details on the unidic-mecab dictionary format and part-of-speech tags.

Index Name (Japanese) Name (English) Notes
0 表層形 Surface
1 左文脈ID Left context ID
2 右文脈ID Right context ID
3 コスト Cost
4 品詞大分類 Major POS classification
5 品詞中分類 Middle POS classification
6 品詞小分類 Small POS classification
7 品詞細分類 Fine POS classification
8 活用型 Conjugation form
9 活用形 Conjugation type
10 語彙素読み Lexeme reading
11 語彙素(語彙素表記 + 語彙素細分類) Lexeme
12 書字形出現形 Orthography appearance type
13 発音形出現形 Pronunciation appearance type
14 書字形基本形 Orthography basic type
15 発音形基本形 Pronunciation basic type
16 語種 Word type
17 語頭変化型 Prefix of a word form
18 語頭変化形 Prefix of a word type
19 語末変化型 Suffix of a word form
20 語末変化形 Suffix of a word type

User dictionary format (CSV)

Simple version

Index Name (Japanese) Name (English) Notes
0 表層形 Surface
1 品詞大分類 Major POS classification
2 語彙素読み Lexeme reading

Detailed version

Index Name (Japanese) Name (English) Notes
0 表層形 Surface
1 左文脈ID Left context ID
2 右文脈ID Right context ID
3 コスト Cost
4 品詞大分類 Major POS classification
5 品詞中分類 Middle POS classification
6 品詞小分類 Small POS classification
7 品詞細分類 Fine POS classification
8 活用型 Conjugation form
9 活用形 Conjugation type
10 語彙素読み Lexeme reading
11 語彙素(語彙素表記 + 語彙素細分類) Lexeme
12 書字形出現形 Orthography appearance type
13 発音形出現形 Pronunciation appearance type
14 書字形基本形 Orthography basic type
15 発音形基本形 Pronunciation basic type
16 語種 Word type
17 語頭変化型 Prefix of a word form
18 語頭変化形 Prefix of a word type
19 語末変化型 Suffix of a word form
20 語末変化形 Suffix of a word type
21 - - After 21, it can be freely expanded.

API reference

The API reference is available. Please see following URL:

Dependencies

~8–19MB
~320K SLoC