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

Performance: Exit early when high accuracy is reached #12

Closed
wooorm opened this issue Oct 16, 2014 · 1 comment
Closed

Performance: Exit early when high accuracy is reached #12

wooorm opened this issue Oct 16, 2014 · 1 comment

Comments

@wooorm
Copy link
Owner

wooorm commented Oct 16, 2014

When the probability of a given document for a certain language is over X, the process could exit early and return the language.

It’s at least interesting to research, maybe by splitting the input in parts of N characters/trigrams...

This also touches on another problem: normalising probability-values. Currently, franc returns [languageCode, 1] for a very-probable language, which might be confusing for further processing.

@wooorm
Copy link
Owner Author

wooorm commented Mar 19, 2015

Closing this (for now?). If someone wants to build it be my guest, but currently I'm not sure of a feasible implementation.

@wooorm wooorm closed this as completed Mar 19, 2015
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

1 participant