This project has been archived by its maintainers, and is no longer receiving any updates.
Short Language Detection
This project is designed to detect the language of short text snippets. It uses machine learning models to accurately identify the language of a given input.
Features
- Detects language from short text inputs
- Supports multiple languages
- High accuracy and performance
Installation
To install the necessary dependencies, run:
pip install short-language-detection
Usage
To use the language detection model, run the following command:
import short_language_detection as sld
# Create a detector
predictor = sld.Detector()
# Detect the language of a text
print(predictor.detect("hello the world"))
# ({'language': 'en', 'score': 1.0, 'prefered': True, 'reliable': True}, {'language': 'sk', 'score': 0.33, 'prefered': False, 'reliable': False})
Contributing
We welcome contributions! Please fork the repository and submit a pull request.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Contact
For any questions or suggestions, please open an issue or contact us at jourdelune863@gmail.com.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file shortlanguedetect-0.1.0.tar.gz.
File metadata
- Download URL: shortlanguedetect-0.1.0.tar.gz
- Upload date:
- Size: 2.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.6.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5beff62ab318ee846d56ea9a2aac670e3b8145a5e81275e6f866d788043c2048
|
|
| MD5 |
ec3af4501972207f4743bf81e279b67f
|
|
| BLAKE2b-256 |
f1b7db33a2c21333f890af1689252a983a78ad500fafa553bd9375b36753c24b
|