Mimino666 / langdetect

Port of Google's language-detection library to Python.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

English detected as Catalan

theAarnio opened this issue · comments

Hi!
Consider this:

from langdetect import detect_langs
detect_langs("Excellent service as usual")
[ca:0.9999950696214479]

br Sami

I also noticed issues when the input is short. For longer text strings of >30 tokens it seems to work very well though.