-
Notifications
You must be signed in to change notification settings - Fork 42
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
Upgrade Simplemma & limit its memory usage #724
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #724 +/- ##
=======================================
Coverage 99.64% 99.64%
=======================================
Files 91 93 +2
Lines 6831 6854 +23
=======================================
+ Hits 6807 6830 +23
Misses 24 24 ☔ View full report in Codecov by Sentry. |
Kudos, SonarCloud Quality Gate passed!
|
|
e7b5e80
to
b66279e
Compare
Rebased on current |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This PR upgrades Simplemma to the latest version 1.1.1 and adds some wrapper code to make it possible to use Simplemma language detection with a limit on the number of languages simultaneously loaded into memory. The number of languages is currently hardcoded at 5.
This will enable adding language detection functionality to the REST API in PR #659 , which has not been merged yet due to concerns about memory usage.