#109 · Primary category: NLP Tools & Text Processing
cn2an
Quickly convert Chinese numerals and Arabic numerals (latest features: fractions, dates, temperatures, etc.)
Project last updated:04/23/26
GitHub Stars
766
Forks
84
Contributors
5
License
MIT
Why we included this project
Chinese-language products have a recurring data problem: numbers arrive as characters, not digits. cn2an converts between the two in both directions, and it handles the awkward cases that trip up naive parsers, including uppercase financial characters, mixed forms like "1百23", decimals, negatives, and dates, fractions, percentages, and temperatures embedded in sentences. That makes it useful for ASR post-processing, where a recognizer returns "一百二十三" and downstream logic needs 123, and for normalizing text before it reaches analytics. The API is small enough to wire into a pipeline in minutes, and an HTTP endpoint is available if you would rather call it as a service。
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
flair
A very simple framework for state-of-the-art Natural Language Processing (NLP)
compromise
modest natural-language processing
tokenizers
💥 Fast State-of-the-Art Tokenizers optimized for Research and Production
CoreNLP
CoreNLP: A Java suite of core NLP tools for tokenization, sentence segmentation, NER, parsing, coreference, sentiment analysis, etc.
Chinese-Word-Vectors
100+ Chinese Word Vectors 上百种预训练中文词向量