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.
Metadata
Release files for ShortLangueDetect 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| shortlanguedetect-0.1.0.tar.gz | 2.3 MB | Details |
Release files / shortlanguedetect-0.1.0.tar.gz
| Download URL | shortlanguedetect-0.1.0.tar.gz |
|---|---|
| Size | 2.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5beff62ab318ee846d56ea9a2aac670e3b8145a5e81275e6f866d788043c2048
|
|
BLAKE2b-256 checksum How to use checksums |
f1b7db33a2c21333f890af1689252a983a78ad500fafa553bd9375b36753c24b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.2
|