Modifier and Type | Method and Description |
---|---|
void |
GazetteerViewGenerator.addFilter(edu.illinois.cs.cogcomp.core.transformers.Predicate<edu.illinois.cs.cogcomp.core.datastructures.Pair<Constituent,SpanLabelView>> filter)
Add a filter for the labels.
|
Modifier and Type | Method and Description |
---|---|
protected static Constituent |
CuratorDataStructureInterface.getNewConstituentForSpan(String label,
String viewName,
TextAnnotation ta,
edu.illinois.cs.cogcomp.thrift.base.Span span) |
Modifier and Type | Method and Description |
---|---|
static List<Map<edu.illinois.cs.cogcomp.core.datastructures.Pair<Integer,Integer>,Constituent>> |
TokenAligner.alignClustering(String viewName,
edu.illinois.cs.cogcomp.thrift.base.Clustering corefClustering,
TextAnnotation ta)
Deprecated.
|
static Map<edu.illinois.cs.cogcomp.core.datastructures.Pair<Integer,Integer>,Constituent> |
TokenAligner.alignSpans(String viewName,
List<edu.illinois.cs.cogcomp.thrift.base.Span> spans,
TextAnnotation ta,
boolean allowOverlappingSpans)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected static void |
CuratorDataStructureInterface.copyAttributesToConstituent(edu.illinois.cs.cogcomp.thrift.base.Span span,
Constituent newConstituent) |
Modifier and Type | Method and Description |
---|---|
static List<edu.illinois.cs.cogcomp.core.datastructures.Pair<Integer,Integer>> |
TokenAligner.getCharacterOffsets(TextAnnotation ta,
List<Constituent> constituents)
Deprecated.
Get a list of character offsets for constituents.
|
Modifier and Type | Method and Description |
---|---|
static Map<String,Float> |
FeatureUtilities.getFeatureMap(FeatureExtractor fex,
Constituent c)
Create a feature map using the specified feature extractor on the input
constituent.
|
Set<Feature> |
FeatureExtractor.getFeatures(Constituent c) |
Set<Feature> |
ChunkPropertyIndicator.getFeatures(Constituent c) |
Set<Feature> |
ParseHeadWordFeatureExtractor.getFeatures(Constituent c) |
Set<Feature> |
ContextFeatureExtractor.getFeatures(Constituent c) |
Set<Feature> |
RegexFeatureExtractor.getFeatures(Constituent c) |
Set<Feature> |
DependencyModifierFeatureExtractor.getFeatures(Constituent c) |
Set<Feature> |
TokenPrefixFeatureExtractor.getFeatures(Constituent c) |
Set<Feature> |
ListFeatureExtractor.getFeatures(Constituent c) |
Set<Feature> |
AttributeFeature.getFeatures(Constituent c) |
Set<Feature> |
WordFeatureExtractor.getFeatures(Constituent c) |
Set<Feature> |
CurrencyIndicator.getFeatures(Constituent c) |
Set<Feature> |
FeatureCollection.getFeatures(Constituent c) |
Set<Feature> |
CachedFeatureCollection.getFeatures(Constituent candidate) |
Set<Feature> |
ConditionalFeatureExtractor.getFeatures(Constituent c) |
static Set<String> |
FeatureUtilities.getFeatureSet(FeatureExtractor fex,
Constituent c)
Create a feature set using the specified feature extractor on the input
constituent.
|
Constructor and Description |
---|
ChunkPropertyIndicator(String viewName,
String name,
edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> property) |
ConditionalFeatureExtractor(edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> condition,
FeatureExtractor ifTrue,
FeatureExtractor ifFalse) |
Modifier and Type | Method and Description |
---|---|
static Constituent |
PathFeatureHelper.getCommonAncestor(Constituent start,
Constituent end,
int maxDepth)
Returns the common ancestor of the two constituent.
|
static Constituent |
PredicateArgumentHelpers.getPredicate(Constituent argument) |
Modifier and Type | Method and Description |
---|---|
static List<Constituent> |
PredicateArgumentHelpers.getArgumentConstituents(Constituent predicate) |
static List<Constituent> |
SpanLabelsHelper.getConstituentsInBetween(SpanLabelView view,
int start,
int end) |
static List<Constituent> |
PathFeatureHelper.getPathConstituents(Constituent start,
Constituent end,
int maxDepth) |
static edu.illinois.cs.cogcomp.core.datastructures.Pair<List<Constituent>,List<Constituent>> |
PathFeatureHelper.getPathsToCommonAncestor(Constituent start,
Constituent end,
int maxDepth)
Get the paths from two constituents to their common ancestor.
|
static edu.illinois.cs.cogcomp.core.datastructures.Pair<List<Constituent>,List<Constituent>> |
PathFeatureHelper.getPathsToCommonAncestor(Constituent start,
Constituent end,
int maxDepth)
Get the paths from two constituents to their common ancestor.
|
static List<Constituent> |
PathFeatureHelper.getPathToRoot(Constituent node,
int maxDepth)
Gets the path (that is, a sequence of constituents) from the given node
to the root node.
|
Modifier and Type | Method and Description |
---|---|
static String[] |
ParseHelper.getAllPhraseSiblingLabels(String parseViewName,
Constituent constituent)
Get the labels of all the siblings of the parse tree node that covers the
input constituent.
|
static List<Constituent> |
PredicateArgumentHelpers.getArgumentConstituents(Constituent predicate) |
static List<Relation> |
PredicateArgumentHelpers.getArguments(Constituent predicate) |
static Constituent |
PathFeatureHelper.getCommonAncestor(Constituent start,
Constituent end,
int maxDepth)
Returns the common ancestor of the two constituent.
|
static String |
PathFeatureHelper.getDependencyPathString(Constituent startDependencyConstituent,
Constituent endDependencyCOnstituent,
int maxDepth)
Get the dependency path between two Constituents as a String.
|
static String |
PathFeatureHelper.getFullParsePathString(Constituent startParseConstituent,
Constituent endParseConstituent,
int maxDepth)
Get the path between Constituents belonging to a parse tree as a String.
|
static int |
ParseHelper.getHeadWordPosition(Constituent c,
HeadFinderBase headFinder,
String parseViewName)
Get the head word of a constituent using the
HeadFinderBase that
is passed as an argument. |
static edu.illinois.cs.cogcomp.core.datastructures.trees.Tree<String> |
ParseHelper.getParseTreeCovering(String parseViewName,
Constituent c)
Get a parse tree from a text annotation that covers the specified
constituent.
|
static List<Constituent> |
PathFeatureHelper.getPathConstituents(Constituent start,
Constituent end,
int maxDepth) |
static edu.illinois.cs.cogcomp.core.datastructures.Pair<List<Constituent>,List<Constituent>> |
PathFeatureHelper.getPathsToCommonAncestor(Constituent start,
Constituent end,
int maxDepth)
Get the paths from two constituents to their common ancestor.
|
static String |
PathFeatureHelper.getPathString(Constituent start,
Constituent end,
int maxDepth,
boolean includeConstituentLabel,
boolean includeRelationLabel)
Returns the path from start to end as a String.
|
static List<Constituent> |
PathFeatureHelper.getPathToRoot(Constituent node,
int maxDepth)
Gets the path (that is, a sequence of constituents) from the given node
to the root node.
|
static Constituent |
PredicateArgumentHelpers.getPredicate(Constituent argument) |
static int |
PredicateArgumentHelpers.getPredicatePosition(Constituent argument)
Assumes that a predicate is a single word.
|
static edu.illinois.cs.cogcomp.core.datastructures.trees.Tree<edu.illinois.cs.cogcomp.core.datastructures.Pair<String,edu.illinois.cs.cogcomp.core.datastructures.IntPair>> |
ParseHelper.getTokenIndexedCleanedParseTreeNodeCovering(Constituent c,
String parseViewName) |
static edu.illinois.cs.cogcomp.core.datastructures.trees.Tree<edu.illinois.cs.cogcomp.core.datastructures.Pair<String,edu.illinois.cs.cogcomp.core.datastructures.IntPair>> |
ParseHelper.getTokenIndexedParseTreeNodeCovering(String parseViewName,
Constituent c) |
Modifier and Type | Method and Description |
---|---|
static Set<Feature> |
FeatureNGramUtility.getLabelNgramsOrdered(List<Constituent> list,
int ngramLength) |
static Set<Feature> |
FeatureNGramUtility.getLabelNgramsUnordered(List<Constituent> list,
int ngramLength) |
static String |
PathFeatureHelper.getPathString(edu.illinois.cs.cogcomp.core.datastructures.Pair<List<Constituent>,List<Constituent>> paths,
boolean includeConstituentLabel,
boolean includeRelationLabel) |
static String |
PathFeatureHelper.getPathString(edu.illinois.cs.cogcomp.core.datastructures.Pair<List<Constituent>,List<Constituent>> paths,
boolean includeConstituentLabel,
boolean includeRelationLabel) |
Modifier and Type | Method and Description |
---|---|
static edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> |
QueryGenerator.generateQuery(edu.illinois.cs.cogcomp.core.datastructures.trees.Tree<String> tree,
Constituent c,
Map<String,String> variables) |
Modifier and Type | Method and Description |
---|---|
static edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> |
QueryGenerator.generateQuery(edu.illinois.cs.cogcomp.core.datastructures.trees.Tree<String> tree,
Constituent c,
Map<String,String> variables) |
Modifier and Type | Field and Description |
---|---|
protected Constituent |
Sentence.sentenceConstituent |
protected Constituent |
Relation.source |
protected Constituent |
Relation.target |
Modifier and Type | Field and Description |
---|---|
static Comparator<Constituent> |
TextAnnotationUtilities.constituentEndComparator |
static Comparator<Constituent> |
TextAnnotationUtilities.constituentLengthComparator |
protected edu.illinois.cs.cogcomp.core.datastructures.QueryableList<Constituent> |
View.constituents
The collection of constituents
|
static Comparator<Constituent> |
TextAnnotationUtilities.constituentStartComparator |
Modifier and Type | Method and Description |
---|---|
Constituent |
SpanLabelView.addSpanLabel(int start,
int end,
String label,
double score)
Adds a new span to this view with a given label and score and returns the
newly created constituent.
|
Constituent |
TokenLabelView.addTokenLabel(int tokenId,
String label,
double score)
Adds a label to a token and returns the newly created constituent.
|
Constituent |
Constituent.cloneForNewView(String newViewName) |
Constituent |
CoreferenceView.getCanonicalEntity(Constituent c) |
Constituent |
TokenLabelView.getConstituentAtToken(int tokenId) |
static Constituent |
TreeView.getParent(Constituent constituent)
Gets the parent of a constituent.
|
Constituent |
TreeView.getParsePhrase(Constituent c)
Finds the highest node in the parse tree that contains the input
constituent.
|
Constituent |
TreeView.getRootConstituent(int sentenceId)
Gets the root constituent of the tree for the given sentence
|
Constituent |
TreeView.getRootConstituent(Sentence sentence)
Gets the root constituent of the tree for the given sentence
|
Constituent |
Sentence.getSentenceConstituent() |
Constituent |
Relation.getSource() |
Constituent |
Relation.getTarget() |
Constituent |
TreeView.getTreeRoot(int sentenceId)
Get the root constituent of the tree that covers a sentence
|
Constituent |
TreeView.getTreeRoot(Sentence s)
Get the root constituent of the tree that covers a sentence
|
Modifier and Type | Method and Description |
---|---|
static edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> |
Queries.adjacentToAfter(Constituent c) |
static edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> |
Queries.adjacentToBefore(Constituent c) |
static edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> |
Queries.after(Constituent c) |
static edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> |
Queries.before(Constituent c) |
static edu.illinois.cs.cogcomp.core.transformers.ITransformer<Constituent,List<Relation>> |
Selectors.children() |
static edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> |
Queries.containedInConstituent(Constituent c) |
static edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> |
Queries.containedInConstituentExclusive(Constituent c) |
static edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> |
Queries.containsConstituent(Constituent c)
Returns a
Predicate that will check if the argument to the
predicate contains the argument to this function. |
static edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> |
Queries.containsConstituentExclusive(Constituent c) |
static edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> |
Queries.descendantOf(Constituent c0) |
static edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> |
Queries.exclusivelyOverlaps(Constituent argument) |
static edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> |
Queries.firstChildOf(Constituent parent) |
Set<Constituent> |
CoreferenceView.getCanonicalEntities() |
List<Constituent> |
View.getConstituents()
Returns the constituents contained in this view.
|
List<Constituent> |
View.getConstituentsCovering(Constituent c)
Get the constituents which cover the input constituent
c . |
List<Constituent> |
View.getConstituentsCoveringSpan(int start,
int end) |
List<Constituent> |
View.getConstituentsCoveringToken(int tokenId) |
List<Constituent> |
View.getConstituentsCoveringTokens(Collection<Integer> tokenIds) |
List<Constituent> |
CoreferenceView.getCoreferentMentions(Constituent mention) |
protected Set<Constituent> |
View.getFilteredConstituents(edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> predicate) |
List<Constituent> |
PredicateArgumentView.getPredicates() |
List<Constituent> |
SpanLabelView.getSpanLabels(int start,
int end) |
static edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> |
Queries.grandChildOf(Constituent c0) |
static edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> |
Queries.hasChildren() |
static edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> |
Queries.hasLabel(String label) |
static edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> |
Queries.hasNoOverlap(Constituent c) |
static edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> |
Queries.hasOverlap(Constituent c) |
static edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> |
Queries.hasParent() |
static edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> |
Queries.isChildOf(Constituent c) |
static edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> |
Queries.isParentOf(Constituent c) |
static edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> |
Queries.isSiblingOf(Constituent c) |
Iterator<Constituent> |
View.iterator() |
static edu.illinois.cs.cogcomp.core.transformers.ITransformer<Constituent,String> |
Selectors.label() |
static edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> |
Queries.lastChildOf(Constituent parent) |
static edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> |
Queries.nThChildOf(Constituent parent,
int n) |
edu.illinois.cs.cogcomp.core.datastructures.IQueryable<Constituent> |
View.orderBy(Comparator<Constituent> comparator) |
static edu.illinois.cs.cogcomp.core.transformers.ITransformer<Constituent,List<Relation>> |
Selectors.parents() |
static edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> |
Queries.sameEndSpanAs(Constituent c) |
static edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> |
Queries.sameSpanAsConstituent(Constituent c) |
static edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> |
Queries.sameStartSpanAs(Constituent c) |
edu.illinois.cs.cogcomp.core.datastructures.IQueryable<Constituent> |
AbstractTextAnnotation.select(String viewName)
Gets a queryable list of all constituents from the view, represented by
viewName . |
static edu.illinois.cs.cogcomp.core.transformers.ITransformer<Constituent,edu.illinois.cs.cogcomp.core.datastructures.IntPair> |
Selectors.span() |
edu.illinois.cs.cogcomp.core.datastructures.IQueryable<Constituent> |
View.unique() |
edu.illinois.cs.cogcomp.core.datastructures.IQueryable<Constituent> |
View.where(edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> condition) |
Modifier and Type | Method and Description |
---|---|
void |
View.addConstituent(Constituent constituent)
Adds a new constituent to this view
|
void |
CoreferenceView.addConstituent(Constituent constituent) |
void |
SpanLabelView.addConstituent(Constituent constituent) |
void |
CoreferenceView.addCorefEdges(Constituent canonicalMention,
List<Constituent> coreferentMentions,
double[] scores) |
protected void |
TreeView.addDependencyTree(edu.illinois.cs.cogcomp.core.datastructures.trees.Tree<edu.illinois.cs.cogcomp.core.datastructures.Pair<String,Integer>> depTree,
Constituent parent,
int sentenceStart) |
protected void |
TreeView.addParseTree(edu.illinois.cs.cogcomp.core.datastructures.trees.Tree<edu.illinois.cs.cogcomp.core.datastructures.Pair<String,edu.illinois.cs.cogcomp.core.datastructures.IntPair>> spanLabeledTree,
Constituent root,
int sentenceStartPosition)
Transforms an unscored input tree into the constituent-relation graph
|
void |
PredicateArgumentView.addPredicateArguments(Constituent predicate,
List<Constituent> args,
String[] relations,
double[] scores) |
protected void |
TreeView.addScoredParseTree(edu.illinois.cs.cogcomp.core.datastructures.trees.Tree<edu.illinois.cs.cogcomp.core.datastructures.Pair<String,edu.illinois.cs.cogcomp.core.datastructures.IntPair>> spanLabeledTree,
edu.illinois.cs.cogcomp.core.datastructures.trees.Tree<Double> scores,
Constituent root,
int sentenceStartPosition)
Transforms a scored input tree into the constituent-relation graph
|
static edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> |
Queries.adjacentToAfter(Constituent c) |
static edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> |
Queries.adjacentToBefore(Constituent c) |
static edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> |
Queries.after(Constituent c) |
static edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> |
Queries.before(Constituent c) |
protected edu.illinois.cs.cogcomp.core.datastructures.trees.Tree<String> |
TreeView.buildTree(Constituent root) |
static edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> |
Queries.containedInConstituent(Constituent c) |
static edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> |
Queries.containedInConstituentExclusive(Constituent c) |
static edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> |
Queries.containsConstituent(Constituent c)
Returns a
Predicate that will check if the argument to the
predicate contains the argument to this function. |
boolean |
View.containsConstituent(Constituent c)
Checks if this view contains a constituent
|
static edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> |
Queries.containsConstituentExclusive(Constituent c) |
static edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> |
Queries.descendantOf(Constituent c0) |
boolean |
Constituent.doesConstituentCover(Constituent other) |
static edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> |
Queries.exclusivelyOverlaps(Constituent argument) |
static edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> |
Queries.firstChildOf(Constituent parent) |
List<Relation> |
PredicateArgumentView.getArguments(Constituent predicate) |
Constituent |
CoreferenceView.getCanonicalEntity(Constituent c) |
List<Constituent> |
View.getConstituentsCovering(Constituent c)
Get the constituents which cover the input constituent
c . |
List<Constituent> |
CoreferenceView.getCoreferentMentions(Constituent mention) |
List<String> |
View.getLabelsCovering(Constituent c)
Get the labels of the constituents covered by the input constituent
c |
static Constituent |
TreeView.getParent(Constituent constituent)
Gets the parent of a constituent.
|
Constituent |
TreeView.getParsePhrase(Constituent c)
Finds the highest node in the parse tree that contains the input
constituent.
|
String |
PredicateArgumentView.getPredicateLemma(Constituent predicate) |
String |
PredicateArgumentView.getPredicateSense(Constituent predicate) |
int |
TextAnnotation.getSentenceId(Constituent constituent) |
static edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> |
Queries.grandChildOf(Constituent c0) |
static edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> |
Queries.hasNoOverlap(Constituent c) |
static edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> |
Queries.hasOverlap(Constituent c) |
static edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> |
Queries.isChildOf(Constituent c) |
static boolean |
TreeView.isLeaf(Constituent c)
Checks if a constituent is a leaf of a tree.
|
static edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> |
Queries.isParentOf(Constituent c) |
static boolean |
TreeView.isRoot(Constituent c)
Checks if a constituent is a root node of a tree.
|
static edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> |
Queries.isSiblingOf(Constituent c) |
static edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> |
Queries.lastChildOf(Constituent parent) |
protected edu.illinois.cs.cogcomp.core.datastructures.trees.Tree<String> |
TreeView.makeTree(Constituent root) |
static edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> |
Queries.nThChildOf(Constituent parent,
int n) |
static edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> |
Queries.sameEndSpanAs(Constituent c) |
static edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> |
Queries.sameSpanAsConstituent(Constituent c) |
static edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> |
Queries.sameStartSpanAs(Constituent c) |
protected void |
TreeView.setDependencyTreeSwitch(Constituent root) |
Modifier and Type | Method and Description |
---|---|
void |
CoreferenceView.addCorefEdges(Constituent canonicalMention,
List<Constituent> coreferentMentions,
double[] scores) |
void |
PredicateArgumentView.addPredicateArguments(Constituent predicate,
List<Constituent> args,
String[] relations,
double[] scores) |
protected Set<Constituent> |
View.getFilteredConstituents(edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> predicate) |
View |
View.getRestrictedView(edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> constituentPredicate,
edu.illinois.cs.cogcomp.core.transformers.ITransformer<View,Double> scoreTransformer) |
edu.illinois.cs.cogcomp.core.datastructures.IQueryable<Constituent> |
View.orderBy(Comparator<Constituent> comparator) |
<S> edu.illinois.cs.cogcomp.core.datastructures.IQueryable<S> |
View.select(edu.illinois.cs.cogcomp.core.transformers.ITransformer<Constituent,S> transformer) |
edu.illinois.cs.cogcomp.core.datastructures.IQueryable<Constituent> |
View.where(edu.illinois.cs.cogcomp.core.transformers.Predicate<Constituent> condition) |
Constructor and Description |
---|
Relation(String relationName,
Constituent source,
Constituent target,
double score) |
Sentence(Constituent sentenceConstituent)
Create a sentence out of a sentenceConstituent.
|
Modifier and Type | Method and Description |
---|---|
protected Constituent |
HeadFinderBase.findHead(Constituent parseNode) |
Constituent |
HeadFinderBase.getHeadChild(Constituent parseNode)
Get the head node of a constituent belonging to a parse tree.
|
Constituent |
HeadFinderBase.getHeadWord(Constituent tree) |
protected Constituent |
HeadFinderBase.getPredefinedHead(Constituent treeNode) |
Modifier and Type | Method and Description |
---|---|
protected Constituent |
HeadFinderBase.findHead(Constituent parseNode) |
protected int |
CollinsHeadFinder.fixHeadChildHacks(int headChildId,
Constituent tree) |
protected int |
HeadFinderBase.fixHeadChildHacks(int headChildId,
Constituent node) |
protected static String |
HeadFinderBase.getChildLabel(Constituent tree,
int headCandidate) |
edu.illinois.cs.cogcomp.core.datastructures.trees.Tree<String> |
CollinsHeadDependencyParser.getDependencyTree(Constituent parseTreeRoot) |
protected edu.illinois.cs.cogcomp.core.datastructures.Pair<String,Integer> |
CollinsHeadDependencyParser.getEdgeLabel(Constituent parseTreeRoot,
String string,
Constituent child) |
Constituent |
HeadFinderBase.getHeadChild(Constituent parseNode)
Get the head node of a constituent belonging to a parse tree.
|
Constituent |
HeadFinderBase.getHeadWord(Constituent tree) |
int |
HeadFinderBase.getHeadWordPosition(Constituent subTree) |
edu.illinois.cs.cogcomp.core.datastructures.trees.Tree<edu.illinois.cs.cogcomp.core.datastructures.Pair<String,Integer>> |
CollinsHeadDependencyParser.getLabeledDependencyTree(Constituent parseTreeRoot) |
protected Constituent |
HeadFinderBase.getPredefinedHead(Constituent treeNode) |
static boolean |
ParseTreeProperties.isPreTerminal(Constituent treeNode) |
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.