Ailln/cn2an
📦 快速转化「中文数字」和「阿拉伯数字」~ (最新特性:分数,日期、温度等转化)
Implements bidirectional conversion between Chinese and Arabic numerals with three parsing modes (strict/normal/smart) supporting mixed formats, decimals, and negatives; also provides sentence-level transformation with regex-based pattern recognition for specialized contexts like dates, fractions, percentages, and temperatures. Exposes both Python library (3.6+) and HTTP API interfaces, achieving ~67k conversions/second for Arabic-to-Chinese and ~29k for Chinese-to-Arabic on standard hardware.
758 stars and 275,316 monthly downloads. Used by 10 other packages. No commits in the last 6 months. Available on PyPI.
Stars
758
Forks
84
Language
Python
License
MIT
Category
Last pushed
Dec 21, 2024
Monthly downloads
275,316
Commits (30d)
0
Dependencies
1
Reverse dependents
10
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/voice-ai/Ailln/cn2an"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related tools
supertone-inc/supertonic
Lightning-Fast, On-Device, Multilingual TTS — running natively via ONNX.
roryeckel/wyoming_openai
OpenAI-Compatible Proxy Middleware for the Wyoming Protocol
PyThaiNLP/PyThaiTTS
Open Source Thai Text-to-speech library in Python
hugobloem/wyoming-microsoft-tts
Wyoming protocol server for Microsoft Azure text-to-speech
supertone-inc/supertonic-py
Lightning-Fast, On-Device TTS — running natively via ONNX.