https://github.com/ai4bharat/indic-numtowords
A simple lightweight library for text normalization for Indian Languages
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (8.5%) to scientific vocabulary
Repository
A simple lightweight library for text normalization for Indian Languages
Basic Info
- Host: GitHub
- Owner: AI4Bharat
- License: mit
- Language: Python
- Default Branch: master
- Homepage: https://pypi.org/project/indic-numtowords
- Size: 81.1 KB
Statistics
- Stars: 10
- Watchers: 7
- Forks: 8
- Open Issues: 1
- Releases: 0
Metadata Files
README.md
AI4Bharat num2words
A module to convert numbers to words for Indian languages and English.
Installation
To install the module, run the following command:
sh
pip install indic-numtowords
Import
To use the library, import it using the following command:
ssh
from indic_numtowords import num2words
Usage
- Converts numbers into words in various languages:
ssh words = num2words(38, lang='ta') #output: 'முப்பத்து எட்டு' - Returns variations for numbers:
ssh words = num2words(150, lang='hi', variations=True) #output: ['एक सौ पचास', 'डेढ़ सौ'] - Converts each digit separately:
ssh words = num2words(420, lang='doi', split=True) #output: 'चार दो सिफर'
Parameters
The num2words function accepts the following parameters:
number: (int) The non-negative integer to convert into words.lang: (str) The ISO code for the target language. Defaults to English (en).variations: (bool, optional) If set toTrue, returns variations of the number.split: (bool, optional) IfTrue, converts each digit separately into its word form.
Supported Languages
The following languages are supported by the num2words module:
as: Assamesebn: Bengalibrx: Bododoi: Dogrien: Englishgu: Gujaratihi: Hindikn: Kannadaks: Kashmirikok: Konkanimai: Maithiliml: Malayalammr: Marathimni: Manipurine: Nepalior: Odiapa: Punjabisa: Sanskritsat: Santalisd: Sindhita: Tamilte: Teluguur: Urdu
Release Notes
This package contains work on converting numbers to words. The contents of this package can also be downloaded from our GitHub repo.
Meta
Distributed under the MIT license. See LICENSE for more information.
Owner
- Name: AI4Bhārat
- Login: AI4Bharat
- Kind: organization
- Email: opensource@ai4bharat.org
- Location: India
- Website: https://ai4bharat.org
- Twitter: AI4Bharat
- Repositories: 37
- Profile: https://github.com/AI4Bharat
Artificial-Intelligence-For-Bhārat : Building open-source AI solutions for India!
GitHub Events
Total
- Issues event: 4
- Watch event: 5
- Issue comment event: 4
- Push event: 11
- Pull request event: 1
- Fork event: 3
Last Year
- Issues event: 4
- Watch event: 5
- Issue comment event: 4
- Push event: 11
- Pull request event: 1
- Fork event: 3
Committers
Last synced: over 3 years ago
All Time
- Total Commits: 4
- Total Committers: 3
- Avg Commits per committer: 1.333
- Development Distribution Score (DDS): 0.5
Top Committers
| Name | Commits | |
|---|---|---|
| safikhanSoofiyani | s****0@g****m | 2 |
| Nikhil Narasimhan | n****9@g****m | 1 |
| svp19 | s****9@g****m | 1 |
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 3
- Total pull requests: 4
- Average time to close issues: about 1 month
- Average time to close pull requests: 6 months
- Total issue authors: 3
- Total pull request authors: 4
- Average comments per issue: 1.33
- Average comments per pull request: 0.25
- Merged pull requests: 2
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 2
- Pull requests: 1
- Average time to close issues: about 1 month
- Average time to close pull requests: about 5 hours
- Issue authors: 2
- Pull request authors: 1
- Average comments per issue: 1.0
- Average comments per pull request: 0.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- coding-dallas (1)
- muqeem066 (1)
- MahmoudAshraf97 (1)
Pull Request Authors
- raj-sutariya (2)
- ryback123 (1)
- DevMehendale (1)
- AshishKingdom (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 123,556 last-month
- Total dependent packages: 0
- Total dependent repositories: 1
- Total versions: 4
- Total maintainers: 2
pypi.org: indic-numtowords
A module to convert numbers to words for Indian languages and English.
- Homepage: https://github.com/AI4Bharat/indic-numtowords
- Documentation: https://indic-numtowords.readthedocs.io/
- License: MIT
-
Latest release: 1.1.0
published 12 months ago