You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
By defaulting to eng, this actually injects information that might not be accurate and breaks the language detection library being used. This should instead default to None and let the library do what it needs to to detect the language.
To Reproduce
Running local connector on the example-docs/language-docs/UDHR_first_article_all.txt file produces only english languages.
Expected behavior
Running local connector on the example-docs/language-docs/UDHR_first_article_all.txt should result in ['ind', 'est']
The text was updated successfully, but these errors were encountered:
Describe the bug
By defaulting to
eng
, this actually injects information that might not be accurate and breaks the language detection library being used. This should instead default toNone
and let the library do what it needs to to detect the language.To Reproduce
Running local connector on the
example-docs/language-docs/UDHR_first_article_all.txt
file produces only english languages.Expected behavior
Running local connector on the
example-docs/language-docs/UDHR_first_article_all.txt
should result in['ind', 'est']
The text was updated successfully, but these errors were encountered: