Modifier and Type | Class and Description |
---|---|
class |
AttributeFeature |
class |
CachedFeatureCollection |
class |
ChunkPropertyIndicator |
class |
ConditionalFeatureExtractor |
class |
ContextFeatureExtractor
A ContextFeatureExtractor generates features from the words in the
context of the specified constituent.
|
class |
CurrencyIndicator
Checks for the following patterns in the input constituent:
Constituent ends with a currency symbol followed by a number
Constituent ends with a number (in words) followed by a currency symbol
|
class |
DependencyModifierFeatureExtractor
Adds modifiers from a specified dependency view.
|
class |
FeatureCollection
A feature set.
|
class |
ListFeatureExtractor
A feature extractor that simply checks if the surface string of the
constituent is in a list or not.
|
class |
NgramFeatureExtractor |
class |
ParseHeadWordFeatureExtractor
Extracts features from the the head word of the constituent.
|
class |
PrefixFeatureExtractor |
class |
RegexFeatureExtractor |
class |
SuffixFeatureExtractor |
class |
TokenPrefixFeatureExtractor
Prefixes a base feature extractor with the lower-cased surface string of the
input constituent.
|
class |
WordFeatureExtractor
Features of a word.
|
Modifier and Type | Field and Description |
---|---|
protected List<FeatureExtractor> |
FeatureCollection.generators |
Modifier and Type | Method and Description |
---|---|
static FeatureExtractor |
FeatureUtilities.conjoin(FeatureExtractor f1,
FeatureExtractor f2)
Conjoins two feature extractors.
|
Modifier and Type | Method and Description |
---|---|
void |
FeatureCollection.addFeatureExtractor(FeatureExtractor f) |
static FeatureExtractor |
FeatureUtilities.conjoin(FeatureExtractor f1,
FeatureExtractor f2)
Conjoins two feature extractors.
|
static WordFeatureExtractor |
WordFeatureExtractor.convertToWordFeatureExtractor(FeatureExtractor fex) |
static Map<String,Float> |
FeatureUtilities.getFeatureMap(FeatureExtractor fex,
Constituent c)
Create a feature map using the specified feature extractor on the input
constituent.
|
static Set<String> |
FeatureUtilities.getFeatureSet(FeatureExtractor fex,
Constituent c)
Create a feature set using the specified feature extractor on the input
constituent.
|
static edu.illinois.cs.cogcomp.lbjava.classify.Classifier |
FeatureUtilities.getLBJFeatureExtractor(FeatureExtractor fex)
Convert an edison feature extractor into an LBJ classifier
|
Constructor and Description |
---|
CachedFeatureCollection(String name,
FeatureExtractor... feats) |
CachedFeatureCollection(String name,
FeatureInputTransformer inputTransformer,
FeatureExtractor... feats) |
ConditionalFeatureExtractor(edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> condition,
FeatureExtractor ifTrue,
FeatureExtractor ifFalse) |
DependencyModifierFeatureExtractor(String dependencyViewName,
FeatureExtractor baseFex) |
FeatureCollection(String name,
FeatureExtractor... feats) |
FeatureCollection(String name,
FeatureInputTransformer inputTransformer,
FeatureExtractor... feats) |
ParseHeadWordFeatureExtractor(String parseViewName,
FeatureExtractor featureExtractor) |
TokenPrefixFeatureExtractor(FeatureExtractor base) |
Modifier and Type | Class and Description |
---|---|
class |
BrownClusterFeatureExtractor
A
WordFeatureExtractor that generates prefixes of brown cluster Ids
for each word. |
class |
ChunkEmbedding
Adds the following features using chunks from the specified view:
The number of chunks contained in the constituent
A thresholded version of the number of chunks.
|
class |
ChunkPathPattern
Extracts the following features from two constituents
The concatenation of shallow parse chunks between the last token of the
constituent to the left and the first token of the other one.
|
class |
ClauseFeatureExtractor |
class |
CorlexFeatureExtractor |
class |
DependencyPath
Given two tokens, this feature extractor extracts the following features:
The path (without tokens) in the dependency tree from the first token of
the first constituent to the first token of the second one.
The path, where tokens are represented by their POS tag
The length of the path
|
class |
DependencyPathNgrams
Given two tokens, this feature extractor extracts the following features:
The path in the dependency tree from the first token of the first
constituent to the first token of the second one.
The length of the path
|
class |
LevinVerbClassFeature
Adds a collection of features that correspond to Levin's verb classes, as
defined in
"English Verb Classes And Alternations: A Preliminary Investigation"
|
class |
LinearDistance
Given two constituents, indicates distance between the two.
|
class |
LinearPosition
Given two constituents, indicates whether the first is before or after the
other or have an overlap.
|
class |
NomLexClassFeature
Adds NomLex based features.
|
class |
ParseHeadWordPOS
Extracts the head word and POS tag of the constituent.
|
class |
ParseLabelIdentifier
This abstract feature extractor checks if the constituent's label in the
parse tree satisfies some property.
|
class |
ParsePath
Given two constituents, this feature extractor extracts the following
features:
The path in the parse tree from the one constituent to another
The length of the parse path
|
class |
ParsePhraseType
Extracts the label of the phrase and that of its parent along with the head
word of the parent according to the Collins' head percolation rules.
|
class |
ParseSiblings
Extracts the phrase type, head word and head POS of the left and right
siblings of the input constituent.
|
class |
RogetThesaurusFeatures |
class |
SpanFeaturesOrdered |
class |
SpanFeaturesUnordered |
class |
SpanLengthFeature |
class |
SubcategorizationFrame
Given a constituent, this feature finds the corresponding node in the parse
tree and reports expands its parent.
|
class |
SyntacticFrame
This feature is described in Xue and Palmer 2004.
|
class |
VerbVoiceIndicator
Uses the parse tree to figure out whether a verb is an active or a passive
voice.
|
class |
WordNetFeatureExtractor
This feature extractor generates the following WordNet based features from a
word: synonyms, synsets, hypernyms, hypernym-sets.
|
Modifier and Type | Field and Description |
---|---|
static FeatureExtractor |
SyntacticFrame.CHARNIAK |
static FeatureExtractor |
SyntacticFrame.STANFORD |
Modifier and Type | Method and Description |
---|---|
FeatureExtractor |
FeatureManifest.createFex() |
FeatureExtractor |
FeatureManifest.createFex(FeatureInputTransformer transformer) |
FeatureExtractor |
FeatureManifest.processQuery(edu.illinois.cs.cogcomp.core.datastructures.trees.Tree<String> tree,
Map<String,FeatureExtractor> cf) |
Modifier and Type | Method and Description |
---|---|
static void |
FeatureManifest.setFeatureExtractor(String name,
FeatureExtractor fex) |
Modifier and Type | Method and Description |
---|---|
FeatureExtractor |
FeatureManifest.processQuery(edu.illinois.cs.cogcomp.core.datastructures.trees.Tree<String> tree,
Map<String,FeatureExtractor> cf) |
Constructor and Description |
---|
TextStatistics(Iterator<TextAnnotation> data,
int numThreads,
FeatureExtractor fex,
edu.illinois.cs.cogcomp.core.transformers.ITransformer<TextAnnotation,List<Constituent>> constituentGenerator) |
Copyright © 2015. All rights reserved.