We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
n-gram size seems fixed at 3, how can it be changed to a user-specified value?
The text was updated successfully, but these errors were encountered:
Class NgramExtractors has
NgramExtractors
private static final NgramExtractor STANDARD = NgramExtractor .gramLengths(1, 2, 3) .filter(StandardNgramFilter.getInstance()) .textPadding(' ');
so you should be able to make your own like this. I think bundled models only have 1-grams, 2-grams, and 3-grams.
Sorry, something went wrong.
No branches or pull requests
n-gram size seems fixed at 3, how can it be changed to a user-specified value?
The text was updated successfully, but these errors were encountered: