| Modifier and Type | Method and Description |
|---|---|
List<Feature> |
FilteringExtractor.extract(JCas view,
T focusAnnotation) |
| Modifier and Type | Method and Description |
|---|---|
List<Feature> |
SiblingExtractor.extract(JCas jCas,
TreebankNode node) |
List<Feature> |
ParentExtractor.extract(JCas jCas,
TreebankNode node) |
List<Feature> |
HeadWordExtractor.extract(JCas jCas,
TreebankNode constituent) |
List<Feature> |
SyntacticPathExtractor.extract(JCas view,
TreebankNode leftConstituent,
TreebankNode rightConstituent)
Extract a string representation of a path feature.
|
| Modifier and Type | Method and Description |
|---|---|
List<Feature> |
TokenTextForSelectedPosExtractor.extract(JCas view,
Token token) |
| Modifier and Type | Method and Description |
|---|---|
static CleartkExtractorException |
CleartkExtractorException.invalidTypePath(String path,
Type type) |
static CleartkExtractorException |
CleartkExtractorException.moreThanOneName(String name1,
String name2) |
static CleartkExtractorException |
CleartkExtractorException.noAnnotationInWindow(Class<? extends Annotation> expectedType,
Annotation window) |
static CleartkExtractorException |
CleartkExtractorException.noAnnotationMatchingWindow(Class<? extends Annotation> expectedType,
Annotation window) |
static CleartkExtractorException |
CleartkExtractorException.notPrimitive(Feature feature) |
static CleartkExtractorException |
CleartkExtractorException.notPrimitiveArray(Feature feature) |
static CleartkExtractorException |
CleartkExtractorException.wrongAnnotationType(Class<? extends Annotation> expectedType,
Annotation actualAnnotation) |
static CleartkExtractorException |
CleartkExtractorException.wrongNumberOfAnnotations(Class<? extends Annotation> expectedType,
int expectedNumber,
int actualNumber) |
| Modifier and Type | Method and Description |
|---|---|
List<Feature> |
WhiteSpaceExtractor.extract(JCas view,
Annotation focusAnnotation) |
List<Feature> |
TypePathExtractor.extract(JCas view,
Annotation focusAnnotation) |
<SEARCH_T extends Annotation> |
CleartkExtractor.Context.extract(JCas jCas,
Annotation focusAnnotation,
CleartkExtractor.Bounds bounds,
Class<SEARCH_T> annotationClass,
FeatureExtractor1<SEARCH_T> extractor)
Extracts features in the given context.
|
<SEARCH_T extends Annotation> |
CleartkExtractor.Focus.extract(JCas jCas,
Annotation focusAnnotation,
CleartkExtractor.Bounds bounds,
Class<SEARCH_T> annotationClass,
FeatureExtractor1<SEARCH_T> extractor) |
<SEARCH_T extends Annotation> |
CleartkExtractor.Covered.extract(JCas jCas,
Annotation focusAnnotation,
CleartkExtractor.Bounds bounds,
Class<SEARCH_T> annotationClass,
FeatureExtractor1<SEARCH_T> extractor) |
<SEARCH_T extends Annotation> |
CleartkExtractor.Bag.extract(JCas jCas,
Annotation focusAnnotation,
CleartkExtractor.Bounds bounds,
Class<SEARCH_T> annotationClass,
FeatureExtractor1<SEARCH_T> extractor) |
<SEARCH_T extends Annotation> |
CleartkExtractor.Count.extract(JCas jCas,
Annotation focusAnnotation,
CleartkExtractor.Bounds bounds,
Class<SEARCH_T> annotationClass,
FeatureExtractor1<SEARCH_T> extractor)
This method got a bit gnarly in order to support nested Count contexts.
|
<SEARCH_T extends Annotation> |
CleartkExtractor.Ngram.extract(JCas jCas,
Annotation focusAnnotation,
CleartkExtractor.Bounds bounds,
Class<SEARCH_T> annotationClass,
FeatureExtractor1<SEARCH_T> extractor) |
<SEARCH_T extends Annotation> |
CleartkExtractor.Ngrams.extract(JCas jCas,
Annotation focusAnnotation,
CleartkExtractor.Bounds bounds,
Class<SEARCH_T> annotationClass,
FeatureExtractor1<SEARCH_T> extractor) |
List<Feature> |
CleartkExtractor.extract(JCas view,
FOCUS_T focusAnnotation) |
List<Feature> |
CleartkExtractor.extract(JCas view,
FOCUS_T annotation1,
FOCUS_T annotation2) |
List<Feature> |
NamingExtractor1.extract(JCas view,
T focusAnnotation) |
List<Feature> |
FeatureExtractor1.extract(JCas view,
T focusAnnotation)
Some feature extractors will require some specific number of annotations that is greater than
one.
|
List<Feature> |
CombinedExtractor1.extract(JCas view,
T focusAnnotation)
Extract features from the Annotation using the sub-extractors.
|
List<Feature> |
FeatureExtractor2.extract(JCas view,
T annotation1,
U annotation2) |
List<Feature> |
CleartkExtractor.extractBetween(JCas view,
FOCUS_T annotation1,
FOCUS_T annotation2) |
List<Feature> |
CleartkExtractor.extractWithin(JCas view,
FOCUS_T focusAnnotation,
Annotation boundsAnnotation)
Extract features from the annotations around the focus annotation and within the given bounds.
|
| Modifier and Type | Method and Description |
|---|---|
List<Feature> |
FeatureFunctionExtractor.extract(JCas jCas,
T focusAnnotation) |
| Modifier and Type | Method and Description |
|---|---|
List<Feature> |
MutualInformationFeatureSelectionExtractor.extract(JCas view,
FOCUS_T focusAnnotation) |
| Modifier and Type | Method and Description |
|---|---|
List<Feature> |
ZeroMeanUnitStddevExtractor.extract(JCas view,
FOCUS_T focusAnnotation) |
List<Feature> |
TfidfExtractor.extract(JCas view,
FOCUS_T focusAnnotation) |
List<Feature> |
MinMaxNormalizationExtractor.extract(JCas view,
FOCUS_T focusAnnotation) |
List<Feature> |
CentroidTfidfSimilarityExtractor.extract(JCas view,
FOCUS_T focusAnnotation) |
| Modifier and Type | Method and Description |
|---|---|
List<Feature> |
PosFeatureExtractor.extractFeatures(JCas jCas,
TOKEN_TYPE token,
SENTENCE_TYPE sentence) |
| Modifier and Type | Method and Description |
|---|---|
List<Feature> |
DefaultFeatureExtractor.extractFeatures(JCas jCas,
Token token,
Sentence sentence) |
Copyright © 2014. All rights reserved.