39 releases (21 breaking)

0.32.2 Jun 29, 2024
0.30.0 Apr 13, 2024
0.29.0 Mar 18, 2024
0.27.2 Dec 30, 2023
0.12.2 Mar 23, 2022

#2031 in Text processing

Download history 3021/week @ 2024-07-21 3082/week @ 2024-07-28 2640/week @ 2024-08-04 2824/week @ 2024-08-11 2108/week @ 2024-08-18 2963/week @ 2024-08-25 3075/week @ 2024-09-01 2876/week @ 2024-09-08 2548/week @ 2024-09-15 3090/week @ 2024-09-22 2991/week @ 2024-09-29 2708/week @ 2024-10-06 3513/week @ 2024-10-13 3441/week @ 2024-10-20 2652/week @ 2024-10-27 3721/week @ 2024-11-03

13,594 downloads per month
Used in 21 crates (2 directly)

MIT license

150KB
3K SLoC

Lindera CC-CEDICT Builder

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

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

~9.5MB
~213K SLoC