lingua-chinese-language-model

The Chinese language model for Lingua, an accurate natural language detection library

4 stable releases

new 1.2.0 Mar 20, 2025
1.1.0 Jun 13, 2023
1.0.1 Feb 16, 2022
1.0.0 Nov 21, 2020

#1577 in Text processing

Download history 2098/week @ 2024-12-04 1811/week @ 2024-12-11 1890/week @ 2024-12-18 1495/week @ 2024-12-25 843/week @ 2025-01-01 1403/week @ 2025-01-08 1677/week @ 2025-01-15 1623/week @ 2025-01-22 1245/week @ 2025-01-29 1658/week @ 2025-02-05 1783/week @ 2025-02-12 1829/week @ 2025-02-19 1830/week @ 2025-02-26 1816/week @ 2025-03-05 2333/week @ 2025-03-12 2549/week @ 2025-03-19

8,860 downloads per month
Used in 2 crates (via lingua)

Apache-2.0

100KB

Chinese language model for Lingua

This is the language model for the Chinese language which is used by Lingua, the most accurate natural language detection library in the Rust ecosystem.

Changelog

Version 1.2.0

  • The language model has been enhanced by including unique and most common ngrams to support an absolute confidence metric which is independent of other languages.

Version 1.1.0

  • The language model files are now compressed with the Brotli algorithm which reduces the file size by 15 %, on average.

Dependencies