https://github.com/knowbee/pyrwalang
🗣A fast language detection python package for Ikinyarwanda(Native language of Rwandans)
https://github.com/knowbee/pyrwalang
languagedetection languagedetector rwanda
Last synced: 5 months ago
JSON representation
🗣A fast language detection python package for Ikinyarwanda(Native language of Rwandans)
- Host: GitHub
- URL: https://github.com/knowbee/pyrwalang
- Owner: knowbee
- License: mit
- Created: 2020-04-05T12:45:59.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-12-25T16:02:51.000Z (over 5 years ago)
- Last Synced: 2025-09-01T16:58:50.445Z (10 months ago)
- Topics: languagedetection, languagedetector, rwanda
- Language: Python
- Homepage: https://pypi.org/project/rwalang/
- Size: 8.79 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rwalang (detect ikinyarwanda)
[](https://pepy.tech/project/rwalang)
[](https://github.com/ellerbrock/open-source-badge/)
[](https://github.com/ellerbrock/open-source-badge/)
A fast language detection package for Ikinyarwanda(Native language of Rwandans)
âš Be aware that if a sentence has foreign language mixed with Ikinyarwanda rwalang returns `false`
## Installation
The distribution is hosted on pypi at: https://pypi.org/project/rwalang/. To directly install the package from pypi, run from your terminal::
$ pip install rwalang
Usage
```py
from rwalang import isKinyarwanda
print(isKinyarwanda("Thank you!")); //false
print(isKinyarwanda("Murakoze!")); //true
print(isKinyarwanda("Mu myandikire ya gihaânga")); //true
print(isKinyarwanda("Iminsi n'imitindi")); //true
print(isKinyarwanda("Yangurije amafaranga magana atanu")); //true
print(isKinyarwanda("mbega i nigga")); //false 😂
```