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

Use CLD2 for language detection #2751

Closed
wants to merge 1 commit into from

Conversation

pfigel
Copy link
Contributor

@pfigel pfigel commented May 3, 2017

CLD2 supports more languages and has a 94 % accuracy rate when tested against a dataset of ~70k tweets, compared to 41 % for WhatLanguage.

Fixes #2704

CLD2 supports more languages and has a 94 % accuracy rate when
tested against a dataset of ~70k tweets, compared to 41 % for
WhatLanguage.

Fixes mastodon#2704
@@ -56,7 +56,7 @@ gem 'statsd-instrument'
gem 'twitter-text'
gem 'tzinfo-data'
gem 'webpacker', '~>1.2'
gem 'whatlanguage'
gem 'cld2'
Copy link
Sponsor Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

require: 'cld'

@pfigel
Copy link
Contributor Author

pfigel commented May 3, 2017

Closing this in favour of #2753, which incorporates this feedback.

@pfigel pfigel closed this May 3, 2017
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

Successfully merging this pull request may close these issues.

None yet

2 participants