Skip to main content

A fast language detection package for Ikinyarwanda(Native language of Rwandans)

Project description

# rwalang (detect ikinyarwanda)

https://travis-ci.com/knowbee/pyrwalang.svg?token=yN9jXnk59suszMqNsJJb&branch=master https://badges.frapsoft.com/os/v1/open-source.svg?v=102

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

Detect Ikinyarwanda

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 😂

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rwalang-0.0.1.tar.gz (4.2 kB view hashes)

Uploaded Source

Built Distribution

rwalang-0.0.1-py3-none-any.whl (4.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page