37 releases (19 breaking)

0.30.0 Apr 13, 2024
0.29.0 Mar 18, 2024
0.28.0 Feb 23, 2024
0.27.2 Dec 30, 2023
0.12.2 Mar 23, 2022

#507 in Text processing

Download history 3820/week @ 2024-01-03 4470/week @ 2024-01-10 4148/week @ 2024-01-17 4652/week @ 2024-01-24 3804/week @ 2024-01-31 4591/week @ 2024-02-07 4642/week @ 2024-02-14 5532/week @ 2024-02-21 6321/week @ 2024-02-28 5307/week @ 2024-03-06 6337/week @ 2024-03-13 6306/week @ 2024-03-20 4886/week @ 2024-03-27 5482/week @ 2024-04-03 5267/week @ 2024-04-10 3905/week @ 2024-04-17

20,726 downloads per month
Used in 24 crates (4 directly)

MIT license

70KB
1.5K SLoC

Lindera CC-CEDICT Builder

License: MIT Join the chat at https://gitter.im/lindera-morphology/lindera

CC-CEDICT dictionary builder for Lindera.

Dictionary format

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

Index Name (Chinese) Name (English) Notes
0 表面形式 Surface
1 左语境ID Left context ID
2 右语境ID Right context ID
3 成本 Cost
4 词类 Major POS classification
5 词类1 Middle POS classification
6 词类2 Small POS classification
7 词类3 Fine POS classification
8 併音 pinyin
9 繁体字 traditional
10 簡体字 simplified
11 定义 definition

User dictionary format (CSV)

Simple version

Index Name (Japanese) Name (English) Notes
0 表面形式 Surface
1 词类 Major POS classification
2 併音 pinyin

Detailed version

Index Name (Japanese) Name (English) Notes
0 表面形式 Surface
1 左语境ID Left context ID
2 右语境ID Right context ID
3 成本 Cost
4 词类 POS
5 词类1 POS subcategory 1
6 词类2 POS subcategory 2
7 词类3 POS subcategory 3
8 併音 pinyin
9 繁体字 traditional
10 簡体字 simplified
11 定义 definition
12 - - After 12, it can be freely expanded.

How to use CC-CEDICT dictionary

For more details about lindera command, please refer to the following URL:

API reference

The API reference is available. Please see following URL:

Dependencies

~9MB
~206K SLoC