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

Odd classifications #16

Open
justinchen opened this issue Mar 28, 2020 · 2 comments
Open

Odd classifications #16

justinchen opened this issue Mar 28, 2020 · 2 comments

Comments

@justinchen
Copy link

Can someone help me understand why these English statements are getting classified as Tagalog and Haitian?

irb(main):013:0> CLD.detect_language("Is global warming real?")
=> {:name=>"TAGALOG", :code=>"tl", :reliable=>false}

irb(main):014:0> CLD.detect_language("tap your favorite icon!")
=> {:name=>"HAITIAN_CREOLE", :code=>"ht", :reliable=>false}

@kathgironpe
Copy link

Trying to test this as well. So far, it is accurate in figuring out what is Tagalog and not what is English.

CLD.detect_language("Una sa lahat")
=> {
      :code => "tl",
      :name => "TAGALOG",
  :reliable => false
}

@jmgarnier
Copy link
Contributor

Hello @kathgironpe ! Sorry for the social "spam". It is a small world indeed :)

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

No branches or pull requests

3 participants