optimaize/language-detector

Customize code to detect a prefer language in mix languages sentece

Closed this issue · 0 comments

Hi Fabian and all,

Suppose I have a sentence contains 2 languages, e.g. "je vais voir le film The return of the King", and I'd like to detect it as "fr" instead of "en". Is there any way to edit a "weight" or a "threshold" of "fr" ?

Could you please give me some suggestion ? Thank you in advance