| Package | Description |
|---|---|
| com.optimaize.langdetect.ngram |
Provides functionality for handling n-grams.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BackwardsCompatibleNgramFilter
Filters those that were not generated by the old n-gram generator.
|
class |
StandardNgramFilter
Filters what is generally not desired.
|
| Modifier and Type | Field and Description |
|---|---|
private @Nullable NgramFilter |
NgramExtractor.filter |
| Modifier and Type | Method and Description |
|---|---|
static NgramFilter |
BackwardsCompatibleNgramFilter.getInstance() |
static NgramFilter |
StandardNgramFilter.getInstance() |
| Modifier and Type | Method and Description |
|---|---|
NgramExtractor |
NgramExtractor.filter(NgramFilter filter) |
| Constructor and Description |
|---|
NgramExtractor(@NotNull java.util.List<java.lang.Integer> gramLengths,
@Nullable NgramFilter filter,
@Nullable java.lang.Character textPadding) |