Skip to content
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

Any way to detect language of text? #602

Open
suspha opened this issue Jun 23, 2021 · 4 comments
Open

Any way to detect language of text? #602

suspha opened this issue Jun 23, 2021 · 4 comments

Comments

@suspha
Copy link

suspha commented Jun 23, 2021

Is there a built-in way to detect the language of a text to automatically choose the correct stemmer for the Bayesian classifier?

@Hugo-ter-Doest
Copy link
Collaborator

This functionality is not part of Natural.

@whalderman
Copy link

whalderman commented Aug 25, 2021

While it could be a part of natural at a later date, there are existing js libraries that handle the guessing pretty well. If you need a recommendation, I personally use franc.

@Hugo-ter-Doest
Copy link
Collaborator

Thanks!

@fmalk
Copy link

fmalk commented Apr 5, 2023

I'd like to recommend TinyLD as alternative to franc since it supposedly has a better score against false positives.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants