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

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)

Awesome Lists containing this project

README

          

# rwalang (detect ikinyarwanda)

[![Downloads](https://pepy.tech/badge/rwalang)](https://pepy.tech/project/rwalang)
[![Open Source Love](https://badges.frapsoft.com/os/v1/open-source.svg?v=102)](https://github.com/ellerbrock/open-source-badge/)
[![Open Source Love](https://badges.frapsoft.com/os/mit/mit.svg?v=102)](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 😂
```