Package | Description |
---|---|
com.optimaize.langdetect | |
com.optimaize.langdetect.ngram |
Provides functionality for handling n-grams.
|
com.optimaize.langdetect.profiles |
Provides functionality for loading, storing and creating
LanguageProfile s. |
Modifier and Type | Method and Description |
---|---|
static LanguageDetectorBuilder |
LanguageDetectorBuilder.create(@NotNull NgramExtractor ngramExtractor) |
Modifier and Type | Method and Description |
---|---|
static NgramExtractor |
NgramExtractors.backwards()
The old way of doing n-grams.
|
NgramExtractor |
NgramExtractor.filter(NgramFilter filter) |
static NgramExtractor |
NgramExtractor.gramLength(int gramLength) |
static NgramExtractor |
NgramExtractor.gramLengths(Integer... gramLength) |
static NgramExtractor |
NgramExtractors.standard()
The new standard n-gram algorithm.
|
NgramExtractor |
NgramExtractor.textPadding(char textPadding)
To ensure having border grams, this character is added to the left and right of the text.
|
Modifier and Type | Method and Description |
---|---|
LanguageProfileBuilder |
LanguageProfileBuilder.ngramExtractor(@NotNull NgramExtractor ngramExtractor) |
Copyright © 2024. All rights reserved.