Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/seanghay/khmer2number
A Khmer word to number converter.
https://github.com/seanghay/khmer2number
cambodia khmer khmer-language khmernumber
Last synced: 30 days ago
JSON representation
A Khmer word to number converter.
- Host: GitHub
- URL: https://github.com/seanghay/khmer2number
- Owner: seanghay
- License: apache-2.0
- Created: 2024-07-11T10:00:52.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-07-11T10:05:14.000Z (5 months ago)
- Last Synced: 2024-11-06T08:43:53.333Z (about 2 months ago)
- Topics: cambodia, khmer, khmer-language, khmernumber
- Language: Python
- Homepage: https://pypi.org/project/khmer2number
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-khmer-language - seanghay/khmer2number
README
## Khmer2Number
Khmer word to number converter.
```shell
pip install khmer2number
``````python
from khmer2number import parsetokens = "លោក បាន ទទួល លុយ ចំនួន ដក មួយ រយ ចុច សាមសិប ពីរ រៀល".split()
print(list(parse(tokens)))
# => ['លោក', 'បាន', 'ទទួល', 'លុយ', 'ចំនួន', -100, 'ចុច', 32, 'រៀល']
```