Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

Awesome Lists containing this project

README

        

## Khmer2Number

Khmer word to number converter.

```shell
pip install khmer2number
```

```python
from khmer2number import parse

tokens = "លោក បាន ទទួល លុយ ចំនួន ដក មួយ រយ ចុច សាមសិប ពីរ រៀល".split()
print(list(parse(tokens)))
# => ['លោក', 'បាន', 'ទទួល', 'លុយ', 'ចំនួន', -100, 'ចុច', 32, 'រៀល']
```