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(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 |
CorelexFeatureExtractor
Returns a set of features that are CoreLex's basic types of lemmas.
|
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 |
ParsePhraseTypeOnly
Extracts only the label of the phrase.
|
class |
ParseSiblings
Extracts the phrase type, head word and head POS of the left and right siblings of the input
constituent.
|
class |
RogetThesaurusFeatures
A BIG dictionary of words (and multi-word phrases) and their synonyms.
|
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 | Class and Description |
---|---|
class |
Affixes
Returns a set of prefixes of length 3 and 4 and suffixes of length 1, 2, 3, and 4.
|
class |
ChunkWindowThreeBefore |
class |
HasVerb |
class |
HyphenTagFeature |
class |
LabelOneAfter
This feature extractor extracts part of speeches of the words one after each word in a span.
|
class |
LabelOneBefore
This feature extractor extracts part of speeches of the words one before each word in a span.
|
class |
LabelTwoAfter
This feature extractor extracts part of speeches of the words two after each word in a span.
|
class |
LabelTwoBefore
This feature extractor extracts part of speeches of the words two before each word in a span.
|
class |
MixedChunkWindowTwoBeforePOSWindowThreeBefore
Returns conjunctions of previous three POSTags and previous two ChunkLabels
|
class |
POSandPositionWindowThree |
class |
POSBaseLineFeatureExtractor
This feature extractor extracts part of speech based on baseline counting.
|
class |
POSMikheevFeatureExtractor
This feature extractor extracts part of speech based on Mikheev's rule.
|
class |
POSWindow
Feature extractor that senses the parts of speech of the four context words immediately
surrounding the target word (two before and two after).
|
class |
POSWindowTwo
Generates features for POSTags of window size 2 from given Constituent
|
class |
PosWordConjunctionSizeTwoWindowSizeTwo
Extracts the POS Tags as well as the form (text) of tokens 2 before and 2 after from the given
token and generates a discrete feature from it.
|
class |
PPFeatures |
class |
ProjectedPath |
class |
WordConjunctionOneTwoThreeGramWindowTwo
Extracts the k tokens to the left and k tokens to the right of the
Constituent object. |
class |
WordTypeInformation |
Modifier and Type | Field and Description |
---|---|
static FeatureExtractor |
FeatureGenerators.hasVerb |
static FeatureExtractor |
FeatureGenerators.hyphenTagFeature |
Modifier and Type | Method and Description |
---|---|
static FeatureExtractor |
FeatureGenerators.ppFeatures(String parseViewName) |
Modifier and Type | Class and Description |
---|---|
class |
GazetteerWindowTwo
WIP: Works with a Gazetteer view containing named entities matched with static lists.
|
class |
WordEmbeddingWindow
For a given Constituent, sweeps a window of specified size, optionally ignoring sentence
boundaries, and for each relative window position, creates a feature recording that relative
position and any word embedding value corresponding to the token at that position.
|
Modifier and Type | Class and Description |
---|---|
class |
ParseSibling
Applies
ParseHeadWordFeatureExtractor parameterized with WordAndPos . |
class |
POSContextWindowTwo
Extracts POS tags in context window of size 2 using
WordFeatureExtractorFactory .pos |
class |
SrlSenseFeatures
Extracts a range of lexical and dependency parse features to identify SRL Nominal predicates.
|
class |
SrlWordFeatures
Extracts a range fo lexical features relating to form and to WordNet information.
|
class |
WordAndPos
Extracts a conjunction of Word and Part of Speech.
|
class |
WordContextWindowTwo
Extracts words in a context window of size 2 using
WordFeatureExtractorFactory .word |
Modifier and Type | Class and Description |
---|---|
class |
SrlNomArgumentFeatureConjunction
Extracts conjunctions of
SrlNomArgumentFeatures . |
class |
SrlNomArgumentFeatures
Extracts a collection of features used to classify SRL Nominal frame arguments:
WordFeatureExtractorFactory word, pos, numberNormalizer, gerundMarker,
nominalizationMarker, and dateMarker; ListFeatureFactory daysOfTheWeek and months;
WordNetFeatureExtractor synsetsFirstSense and hypernymsFirstSense;
ParseHeadWordFeatureExtractor ; CurrencyIndicator ; LinearPosition ;
HyphenTagFeature ; ParsePhraseType ; ParsePath ; ChunkEmbedding
shallow parse and NER; ChunkPathPattern ; ParseSiblings ;
WordContextWindowTwo ; POSContextWindowTwo |
class |
SrlNomClassifierPredicateFeatures
Extracts a collection of lexical and parse structure features to classify Nominal SRL arguments.
|
Modifier and Type | Class and Description |
---|---|
class |
SrlNomHeadWordFeatures
Extracts lexical and parse structure features for identifying Nom SRL arguments.
|
class |
SrlNomIdentifier
Extracts features for Nom SRL argument identification.
|
class |
SrlNomIdentifierPredicateFeatures |
Modifier and Type | Class and Description |
---|---|
class |
NomLexClassAndSrlNomPredicateFeatures
Conjoins
NomLexClassFeature with SrlNomPredicateFeatures . |
class |
SrlNomPredicateFeatures
Extracts features for identifying Nominal SRL predicates.
|
Modifier and Type | Class and Description |
---|---|
class |
LemmaAndSrlNomSense
Extracts a conjunction of
WordFeatureExtractorFactory lemma and SrlSenseFeatures . |
Modifier and Type | Class and Description |
---|---|
class |
SrlVerbPredicateFeatures
Extracts a collection of features for SRL Verb classifier and identifier predicates.
|
Modifier and Type | Class and Description |
---|---|
class |
SrlVerbArgumentFeatures
Extracts features to classify SRL Verb arguments.
|
class |
SrlVerbArgumentFeaturesConjunction
Extracts conjoined
SrlVerbArgumentFeatures . |
Modifier and Type | Class and Description |
---|---|
class |
SrlVerbIdentifierArgumentFeatures |
class |
SrlVerbIdentifierArgumentFeaturesConjunction |
Modifier and Type | Class and Description |
---|---|
class |
RenamedSrlVerbSimplePredicateFeatures
Adds the name '#VerbPredicate#' to the features extracted by
SrlVerbSimplePredicateFeatures . |
class |
SrlVerbSimplePredicateFeatures
Extracts features for SRL Verb predicates.
|
Modifier and Type | Class and Description |
---|---|
class |
LemmaAndSrlSense
Extracts conjunction of lemma and
SrlSenseFeatures . |
Modifier and Type | Method and Description |
---|---|
FeatureExtractor |
FeatureManifest.createFex()
Alternate version, calls
FeatureManifest.populateFex(FeatureCollection) |
FeatureExtractor |
FeatureManifest.createFex(FeatureInputTransformer transformer) |
FeatureExtractor |
FeatureManifest.processQuery(Tree<String> tree,
Map<String,FeatureExtractor> cf)
This deals with if statements.
|
Modifier and Type | Method and Description |
---|---|
static void |
FeatureManifest.setFeatureExtractor(String name,
FeatureExtractor fex) |
Modifier and Type | Method and Description |
---|---|
FeatureExtractor |
FeatureManifest.processQuery(Tree<String> tree,
Map<String,FeatureExtractor> cf)
This deals with if statements.
|
Constructor and Description |
---|
TextStatistics(Iterator<TextAnnotation> data,
int numThreads,
FeatureExtractor fex,
ITransformer<TextAnnotation,List<Constituent>> constituentGenerator) |
Modifier and Type | Field and Description |
---|---|
FeatureExtractor |
ModelInfo.fex |
Modifier and Type | Field and Description |
---|---|
static FeatureExtractor |
FeatureGenerators.hyphenTagFeature |
Copyright © 2017. All rights reserved.