Mimino666 / langdetect

Port of Google's language-detection library to Python.
Other
1.71k stars 196 forks source link

Can you force the detection algorithm only to choose between a short list of languages? #84

Closed joseberlines closed 3 years ago

joseberlines commented 3 years ago

Imagine I know that the language I want to detect is en, fr, de, sp of it, how can I help the algorithm to force it to detect only those (and hence perhaps run faster)?

hugovk commented 3 years ago

Duplicate of #71?

It has a solution/workaround:

joseberlines commented 3 years ago

Thanks