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

#1439 in Text processing

Download history 2967/week @ 2024-10-24 3309/week @ 2024-10-31 3958/week @ 2024-11-07 3974/week @ 2024-11-14 4402/week @ 2024-11-21 4492/week @ 2024-11-28 3247/week @ 2024-12-05 3620/week @ 2024-12-12 2915/week @ 2024-12-19 2189/week @ 2024-12-26 3034/week @ 2025-01-02 4389/week @ 2025-01-09 3412/week @ 2025-01-16 2985/week @ 2025-01-23 3871/week @ 2025-01-30 4024/week @ 2025-02-06

14,839 downloads per month
Used in 33 crates (13 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
~224K SLoC