Expand description
Parsers for Chinese input-method dictionary formats.
cidian-rs converts source-specific dictionary files into a
small common data model. It deliberately does not normalize entries or
export them to another dictionary format.
Modules§
- bcd
- Parser for Baidu mobile category dictionary (
.bcd) files. - bdict
- Parser for Baidu desktop category dictionary (
.bdict) files. - qcel
- Parser for QQ Pinyin Cell Dictionary (
.qcel) files. - qpyd
- Parser for QQ Pinyin category dictionary (
.qpyd) files. - scel
- Parser for Sogou Cell Dictionary (
.scel) files.
Structs§
- Dictionary
- A parsed dictionary and its source metadata.
- Entry
- A single dictionary entry.
- Metadata
- Metadata shared by supported dictionary formats.
Enums§
- Error
- Errors returned while reading or parsing a dictionary.
- Format
- A dictionary format understood by
cidian-rs.
Type Aliases§
- Result
- Result type used by all dictionary parsers.