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 has for objective to improve the language indentification for this type of message.
Medium Post
https://medium.com/@jourdelune863/improving-language-detection-for-chat-discord-b148dfacc2e5
Contribute
You can make pr or join this server for speaking about this detector: https://discord.gg/G8BjAV9hgg.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for ShortLanguageDetection-0.0.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40cb93c43a461d6e00e3d134d685edcd5f6e727d36197714f1098158a4351dd8 |
|
MD5 | 987b377e2cf6589c2823997a9252dece |
|
BLAKE2b-256 | 683c58adf529ef110db9dfd4212a94810044e4a9969b661527bae40987161310 |
Close
Hashes for ShortLanguageDetection-0.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3807ea227ecd13c6bc119ade1c1b22c3f7eae7d8e591648245ad9c72db54246 |
|
MD5 | 75bc9ff824dd1e330a6cc2de539940a3 |
|
BLAKE2b-256 | 6190aebcd82b817e53bc1b0afc934c44bbaf20ef041948a545f4b186873bf950 |