fasttext-langdetect
fasttext-langdetect copied to clipboard
Add more than one language detection
There are cases in practice when text is bi-lingual or it contains phrases or paragraphs even on several languages. Original fasttext
allows to get more than one language detected with predict
function parameter k
: https://github.com/facebookresearch/fastText/blob/main/python/fasttext_module/fasttext/FastText.py#L183
Might be relevant : https://github.com/DoodleBears/split-lang