{"categories":[{"label":"Linguistic","url":"https://skillfed.io/packages/category/text-processing-linguistic"},{"label":"Filters","url":"https://skillfed.io/packages/category/text-processing-filters"}],"enrichment":{"capability":"Converts natural language number words into their digit representations across seven languages, and detects ordinal, cardinal, and decimal numbers in text streams.","skillfed_tags":["multilingual-nlp","number-parsing","rust-backed"],"use_cases":["Convert spoken or transcribed numbers in customer service or voice-to-text workflows into standardized digit format.","Parse invoice or contract text to extract numerical amounts written in words for data entry or validation.","Process multilingual documents to normalize number representations for downstream analysis or database storage.","Build chatbots or voice assistants that need to understand number words in multiple languages.","Validate or clean datasets containing mixed text and number formats across international sources."],"what_it_does":"text2num is a parser library that recognizes and converts numbers written as natural language words into their integer or decimal digit equivalents. It supports seven languages: Dutch, English, French, German, Italian, Portuguese, and Spanish. The library handles cardinal numbers (e.g., 'ninety-five'), ordinals (e.g., 'fifth'), and decimal numbers (e.g., 'twelve point five'). The implementation is based on a Rust algorithm, providing low resource and energy consumption with small latency, and precompiled wheels are provided so you don't need to compile Rust yourself.\n\nThe package offers two main functions: direct conversion of word strings to numbers, and finding and transcribing all numbers within larger text passages. It operates in a relaxed parsing mode by default, tolerating punctuation and spacing variations in the input. There are no external runtime dependencies, making it lightweight and suitable for embedded or resource-constrained environments.","worth_installing":"Yes. The package is actively maintained, has no known vulnerabilities, supports current Python versions, and solves a specific multilingual parsing problem with zero runtime dependencies. Install friction is moderate but manageable via precompiled wheels. The permissive license and stable API make it suitable for production use."},"id":"text2num","links":{"html":"https://skillfed.io/packages/text2num","md":"https://skillfed.io/packages/text2num.md","pypi":"https://pypi.org/project/text2num/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-05-27","license_spdx":null,"license_treatment":"permissive","name":"text2num","python_support":"supports_current","summary":"Parse and convert numbers written in French, Spanish, English, Portuguese, German, Dutch or Italian into their digit representation."},"popularity":{"monthly_downloads":685181,"position":5355,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"3.0.2"}
