| Package | Description |
|---|---|
| org.cleartk.ml.feature.extractor |
| Modifier and Type | Class and Description |
|---|---|
static class |
CleartkExtractor.Bag
A
CleartkExtractor.Context that aggregates the features of other contexts into a "bag" where position
information of each individual feature is no longer maintained. |
static class |
CleartkExtractor.Count
A
CleartkExtractor.Context that aggregates the features of other contexts into a bag of counts where
only the count of occurrence of each feature value is maintained. |
static class |
CleartkExtractor.Covered
A
CleartkExtractor.Context for extracting all annotations within the focus annotation. |
static class |
CleartkExtractor.FirstCovered
A
CleartkExtractor.Context for extracting the first annotations within the focus annotation. |
static class |
CleartkExtractor.Focus
A
CleartkExtractor.Context for extracting the focus annotation. |
static class |
CleartkExtractor.Following
A
CleartkExtractor.Context for extracting annotations appearing after the focus annotation. |
static class |
CleartkExtractor.LastCovered
A
CleartkExtractor.Context for extracting the last annotations within the focus annotation. |
static class |
CleartkExtractor.Ngram
A
CleartkExtractor.Context that aggregates the features of other contexts into a single "ngram" feature,
where the feature values are concatenated together in order to form a single value. |
static class |
CleartkExtractor.Ngrams
A
CleartkExtractor.Context that aggregates the features of other contexts into several "ngrams"
features, where sub-sequences of the feature values are concatenated together in order to form
single values. |
static class |
CleartkExtractor.Preceding
A
CleartkExtractor.Context for extracting annotations appearing before the focus annotation. |
| Constructor and Description |
|---|
CleartkExtractor.Bag(CleartkExtractor.Context... contexts)
Constructs a
CleartkExtractor.Context which converts the features extracted by the argument contexts
into a bag of features where all features have the same name. |
CleartkExtractor.Count(CleartkExtractor.Context... contexts)
Constructs a
CleartkExtractor.Context which converts the features extracted by the argument contexts
into a bag of count features. |
CleartkExtractor.Ngram(CleartkExtractor.Context... contexts)
Constructs a
CleartkExtractor.Context which converts the features extracted by the argument contexts
into a single ngram feature where all feature values have been concatenated together. |
CleartkExtractor.Ngrams(int n,
CleartkExtractor.Context... contexts)
Constructs a
CleartkExtractor.Context which converts the features extracted by the argument contexts
into ngram features where sub-sequences feature values have been concatenated together. |
CleartkExtractor(Class<SEARCH_T> annotationClass,
FeatureExtractor1<SEARCH_T> extractor,
CleartkExtractor.Context... contexts)
Create an extractor that finds
Annotations of the given type at the specified
CleartkExtractor.Contexts and applies the given feature extractor to the annotations. |
Copyright © 2014. All rights reserved.