fasttext-langdetect icon indicating copy to clipboard operation
fasttext-langdetect copied to clipboard

Add more than one language detection

Open valerii-delphai opened this issue 1 year ago • 1 comments

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

valerii-delphai avatar Jun 15 '23 10:06 valerii-delphai

Might be relevant : https://github.com/DoodleBears/split-lang

thiswillbeyourgithub avatar Aug 21 '24 22:08 thiswillbeyourgithub