Lightweight language detection (rule-based + ML hybrid)
Project description
pylangdetect
Lightweight language detection (rule-based + ML hybrid).
Installation
pip install pylangdetect
Usage
from pylangdetect import detect_language, is_english
detect_language("Hello world") # "en"
is_english("Hello world") # True
License
MIT
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
pylangdetect-0.1.0.tar.gz
(2.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pylangdetect-0.1.0.tar.gz.
File metadata
- Download URL: pylangdetect-0.1.0.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f7121966a083afbc0d3dfdc4bc00ec43a036b0130f869f5b5d5e476c4f3551af
|
|
| MD5 |
bc40c849b36838c51584d805ee206de6
|
|
| BLAKE2b-256 |
b045fd6c19413b40428474f9cf8f64573394a6d70c496181f691e3722523a46b
|
File details
Details for the file pylangdetect-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pylangdetect-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
94981ba3e055114ce044c0f6070d0c1be69902a0ca153774b13abf70312513cf
|
|
| MD5 |
a0a12ee6f105552e294d8df29c2343a4
|
|
| BLAKE2b-256 |
1765779f57868f846e57b1dd59c2a66e2d1f5a24842246ef29ed5172d426e715
|