QlangD (Qarvexium language Detect)
Multilingual language detection for 15 languages.
Installation
pip install torch tokenizers
Usage
from QlangD import langD
detector = langD()
language = detector("Hello, world!")
print(language)
result = detector.detect_with_name("Bonjour!")
print(result)
Supported Languages
English (en), Turkish (tr), German (de), French (fr), Spanish (es), Italian (it), Portuguese (pt), Russian (ru), Arabic (ar), Chinese (zh), Japanese (ja), Korean (ko), Hindi (hi), Dutch (nl), Polish (pl)
Structure
QlangD/
βββ __init__.py
βββ QlangD.pt
βββ tokenizer.json
README.md
use.py
API
langD(device="auto")detector(text)detector.detect_with_name(text)detector.language_name(code)
Run python use.py for demo.
LICENSE
This model is released under the MIT License.