Skip to main content

A language detector for short string or chat.

Project description

Installation

pip install ShortLanguageDetection

Usage

import ShortLanguageDetection

detection = ShortLanguageDetection.Detector() # reliable_min=0.5 in arguments for less wrong detection.
print(detection.detect('text'))
# ('en', True)

Project

This language detector is used by interaction bot to detect the language of message sent by user. It have for project to improve detection for this type of message.

Contribute

You can make pr or join this server for speaking about this detector: https://discord.gg/G8BjAV9hgg.

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

ShortLanguageDetection-0.0.7.tar.gz (2.3 MB view hashes)

Uploaded Source

Built Distribution

ShortLanguageDetection-0.0.7-py3-none-any.whl (2.3 MB 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