Closed hixus closed 5 years ago
I also tried wit 3-5x longer text and the results where same.
Example sentence in above snippet is too short even if it's 3-5x longer. Recommended min length from cld3 is 150-200 char per length. Shorter text will greatly decrease accuracy. For accuracy and other feature of cld3 I suggest to file issue https://github.com/google/cld3 - this module doesn't do special handling.
hmm, tried with 400-500 char per lang text combinations and still results remained similar. Will look into cld3 repo you linked.
Tried your lib and "findLanguage" seems to work fine but combining languages and then using "findMostFrequentLanguages" seems to find only one language in couple cases.