-
Notifications
You must be signed in to change notification settings - Fork 620
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Language guess mistakes english for catalan #1364
Comments
Few more examples, import { Language } from "@nlpjs/language"
const lang = new Language();
const text = 'What is your name?'
console.log(text, lang.guess(text).filter((x, i) => i< 3).map((x) => [x.language, x.score]));
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
The Language.guess() function mistakes a short english sentence for catalan
To Reproduce
1 - Run this script:
Output
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: