{"categories":[{"label":"Linguistic","url":"https://skillfed.io/packages/category/text-processing-linguistic/2"}],"enrichment":{"capability":"Converts between Chinese numerals and Arabic numerals in multiple modes, supporting integers, decimals, negatives, and sentence-level transformations including dates, fractions, and percentages.","skillfed_tags":["chinese-nlp","number-conversion","text-normalization"],"use_cases":["Parse Chinese financial documents or invoices that use written numerals into machine-readable integers","Generate human-readable Chinese numeral output for financial reports, receipts, or formal RMB amounts","Extract and normalize dates from Chinese text for data cleaning pipelines","Convert mixed-notation numbers in Chinese text for standardization","Build multilingual number handling for applications serving Chinese-speaking users"],"what_it_does":"cn2an is a bidirectional converter between Chinese numerals and Arabic numerals. It handles standard conversions across multiple parsing modes: strict mode enforces proper numeral syntax, normal mode accepts informal sequences, smart mode handles mixed notation, and direct mode performs character-by-character translation. Beyond simple numbers, it transforms dates, fractions, percentages, and temperatures within sentences, supporting negative numbers and decimals up to 10**16 magnitude in both directions.\n\nThe package offers three output styles for Arabic-to-Chinese conversion: lowercase Chinese numerals, uppercase formal numerals, and RMB currency notation. It includes an HTTP API for non-Python environments. The library depends on proces for data preprocessing and is actively maintained with recent bug fixes for numeral parsing edge cases.","worth_installing":"Yes. The package is actively maintained, has no known vulnerabilities, uses a permissive MIT license, and solves a specific problem with low install friction. It is well-suited for applications that need bidirectional Chinese-Arabic numeral conversion. The experimental sentence-level transformation feature adds value for text processing but should be tested for your specific use cases."},"id":"cn2an","links":{"html":"https://skillfed.io/packages/cn2an","md":"https://skillfed.io/packages/cn2an.md","pypi":"https://pypi.org/project/cn2an/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-04-22","license_spdx":null,"license_treatment":"permissive","name":"cn2an","python_support":"supports_current","summary":"Convert Chinese numerals and Arabic numerals."},"popularity":{"monthly_downloads":304235,"position":7807,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.5.24"}
