We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
fastText did some pre-processing before training, so it's safest to do the same, especially lowercasing:
> (async () => { console.log(await lid.predict("Ótimo")) })() > [ { lang: 'hu', prob: 0.3540060520172119 } ] > (async () => { console.log(await lid.predict("ótimo")) })() > [ { lang: 'pt', prob: 0.9964836835861206 } ] > (async () => { console.log(await lid.predict("Uma boa experiencia")) })() > [ { lang: 'en', prob: 0.5653783679008484 } ] > (async () => { console.log(await lid.predict("uma boa experiencia")) })() > [ { lang: 'pt', prob: 0.9949126839637756 } ]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
fastText did some pre-processing before training, so it's safest to do the same, especially lowercasing:
The text was updated successfully, but these errors were encountered: