A B C D E F G H I J K L M N O P R S T U V W X Y Z

A

absolutelyDiscountedDistribution(GenericCounter, int, double) - Static method in class edu.stanford.nlp.util.Distribution
 
AbstractCollinsHeadFinder - Class in edu.stanford.nlp.trees
A base class for Head Finders similar to the one described in Michael Collins' 1999 thesis.
AbstractCollinsHeadFinder(TreebankLanguagePack) - Constructor for class edu.stanford.nlp.trees.AbstractCollinsHeadFinder
 
AbstractLabel - Class in edu.stanford.nlp.ling
An AbstractLabel object acts as a Label with linguistic attributes.
AbstractLabel() - Constructor for class edu.stanford.nlp.ling.AbstractLabel
 
AbstractTokenizer<T> - Class in edu.stanford.nlp.process
An abstract tokenizer.
AbstractTokenizer() - Constructor for class edu.stanford.nlp.process.AbstractTokenizer
 
AbstractTreebankLanguagePack - Class in edu.stanford.nlp.trees
This provides an implementation of parts of the TreebankLanguagePack API to reduce the load on fresh implementations.
AbstractTreebankLanguagePack() - Constructor for class edu.stanford.nlp.trees.AbstractTreebankLanguagePack
Gives a handle to the TreebankLanguagePack
AbstractTreebankParserParams - Class in edu.stanford.nlp.parser.lexparser
An abstract class providing a common method base from which to complete a TreebankLangParserParams implementing class.
AbstractTreebankParserParams(TreebankLanguagePack) - Constructor for class edu.stanford.nlp.parser.lexparser.AbstractTreebankParserParams
Stores the passed-in TreebankLanguagePack.
AbstractTreebankParserParams.DependencyTyper<T> - Interface in edu.stanford.nlp.parser.lexparser
 
AbstractTreebankParserParams.SubcategoryStripper - Class in edu.stanford.nlp.parser.lexparser
 
AbstractTreebankParserParams.SubcategoryStripper() - Constructor for class edu.stanford.nlp.parser.lexparser.AbstractTreebankParserParams.SubcategoryStripper
 
accept(File) - Method in class edu.stanford.nlp.io.ExtensionFileFilter
Checks whether a file satisfies the selection filter.
accept(File) - Method in class edu.stanford.nlp.io.NumberRangesFileFilter
Checks whether a file satisfies the number range selection filter.
accept(T) - Method in interface edu.stanford.nlp.util.Filter
Checks if the given object passes the filter.
acceptFilter() - Static method in class edu.stanford.nlp.util.Filters
The acceptFilter accepts everything.
add(int, Tree) - Method in class edu.stanford.nlp.trees.MemoryTreebank
 
add(Tree) - Method in class edu.stanford.nlp.trees.MemoryTreebank
 
add(Object) - Method in class edu.stanford.nlp.util.BinaryHeapPriorityQueue
Adds an object to the queue with the minimum priority (Double.NEGATIVE_INFINITY).
add(Object, double) - Method in class edu.stanford.nlp.util.BinaryHeapPriorityQueue
Convenience method for if you want to pretend increaseKey doesn't exist, or if you really want add's return conditions.
add(double) - Method in class edu.stanford.nlp.util.DoubleList
inserts d at the end of the list.
add(int, double) - Method in class edu.stanford.nlp.util.DoubleList
Inserts d into the list after the first index elements.
add(E) - Method in class edu.stanford.nlp.util.Index
Adds an object to the Index.
add(Object, double) - Method in interface edu.stanford.nlp.util.PriorityQueue
Convenience method for if you want to pretend increaseKey doesn't exist, or if you really want add's return conditions.
add_escapes(String) - Method in exception edu.stanford.nlp.trees.tregex.ParseException
Used to convert raw characters to their escaped version when these raw version cannot be used as part of an ASCII string literal.
addAll(int, Collection<? extends Tree>) - Method in class edu.stanford.nlp.trees.MemoryTreebank
 
addAll(GenericCounter<E>) - Method in class edu.stanford.nlp.util.Counter
Adds the counts in the given Counter to the counts in this Counter.
addAll(Collection<? extends E>) - Method in class edu.stanford.nlp.util.Index
 
addAll(IntCounter) - Method in class edu.stanford.nlp.util.IntCounter
Adds the counts in the given Counter to the counts in this Counter.
addArc(Object, TreeGraphNode) - Method in class edu.stanford.nlp.trees.TreeGraphNode
Add a labeled arc from this node to the argument node.
addChild(Tree, int) - Method in class edu.stanford.nlp.trees.Tree
adds the tree t at the index position among the daughters.
addEscapes(String) - Static method in error edu.stanford.nlp.trees.tregex.TokenMgrError
Replaces unprintable characters by their espaced (or unicode escaped) equivalents in the given string
addNodeToIndexMap(int, TreeGraphNode) - Method in class edu.stanford.nlp.trees.TreeGraph
Store a mapping from an arbitrary integer index to a node in this treegraph.
addTagging(boolean, IntTaggedWord, double) - Method in class edu.stanford.nlp.parser.lexparser.BaseLexicon
Adds the tagging with count to the data structures in this Lexicon.
addToKeySet(Object) - Method in class edu.stanford.nlp.util.Distribution
Insures that object is in keyset (with possibly zero value)
adjustBeginLineColumn(int, int) - Static method in class edu.stanford.nlp.trees.tregex.SimpleCharStream
Method to adjust line and column numbers for the start of a token.
Americanize - Class in edu.stanford.nlp.process
Takes a HasWord or String and returns a lowercase version of it.
Americanize() - Constructor for class edu.stanford.nlp.process.Americanize
 
Americanize(int) - Constructor for class edu.stanford.nlp.process.Americanize
 
americanize(String) - Static method in class edu.stanford.nlp.process.Americanize
Convert the spelling of a word from British to American English.
americanize(String, boolean) - Static method in class edu.stanford.nlp.process.Americanize
Convert the spelling of a word from British to American English.
ancesstor(int, Tree) - Method in class edu.stanford.nlp.trees.Tree
 
andFilter(Filter, Filter) - Static method in class edu.stanford.nlp.util.Filters
Filter that accepts only when both filters accept (AND).
ANY - Static variable in class edu.stanford.nlp.parser.lexparser.IntTaggedWord
 
apply(List<HasWord>) - Method in class edu.stanford.nlp.parser.lexparser.ArabicTreebankParserParams.ArabicRomanizedTextEscaper
 
apply(Object) - Method in class edu.stanford.nlp.process.Americanize
Americanize the HasWord or String coming in.
apply(T1) - Method in interface edu.stanford.nlp.process.Function
Converts a T1 to a different T2.
apply(Object) - Method in class edu.stanford.nlp.process.Morphology
 
apply(TreeVisitor) - Method in class edu.stanford.nlp.trees.DiskTreebank
Applies the TreeVisitor to to all trees in the Treebank.
apply(TreeVisitor) - Method in class edu.stanford.nlp.trees.MemoryTreebank
Apply the TreeVisitor tp to all trees in the Treebank.
apply(TreeVisitor) - Method in class edu.stanford.nlp.trees.Treebank
Apply a TreeVisitor to each tree in the Treebank.
applyToProjections(TreeVisitor, Tree, Tree, HeadFinder) - Static method in class edu.stanford.nlp.trees.Trees
 
ArabicHeadFinder - Class in edu.stanford.nlp.trees.international.arabic
Right now, just returns the first child of a tree as the head.
ArabicHeadFinder() - Constructor for class edu.stanford.nlp.trees.international.arabic.ArabicHeadFinder
 
ArabicHeadFinder(TreebankLanguagePack) - Constructor for class edu.stanford.nlp.trees.international.arabic.ArabicHeadFinder
 
ArabicTreebankLanguagePack - Class in edu.stanford.nlp.trees.international.arabic
Specifies the treebank/language specific components needed for parsing the English Penn Treebank.
ArabicTreebankLanguagePack() - Constructor for class edu.stanford.nlp.trees.international.arabic.ArabicTreebankLanguagePack
Gives a handle to the TreebankLanguagePack
ArabicTreebankParserParams - Class in edu.stanford.nlp.parser.lexparser
A TreebankLangParserParams implementing class for the Penn Arabic Treebank.
ArabicTreebankParserParams() - Constructor for class edu.stanford.nlp.parser.lexparser.ArabicTreebankParserParams
 
ArabicTreebankParserParams.ArabicRomanizedTextEscaper - Class in edu.stanford.nlp.parser.lexparser
This escaper just changes ( to -LRB- and ) to -RRB-, does nothing else.
ArabicTreebankParserParams.ArabicRomanizedTextEscaper() - Constructor for class edu.stanford.nlp.parser.lexparser.ArabicTreebankParserParams.ArabicRomanizedTextEscaper
 
ArabicTreeNormalizer - Class in edu.stanford.nlp.trees.international.arabic
A first-version tree normalizer for the Arabic Penn Treebank.
ArabicTreeNormalizer(boolean, boolean) - Constructor for class edu.stanford.nlp.trees.international.arabic.ArabicTreeNormalizer
 
ArabicTreeNormalizer(boolean) - Constructor for class edu.stanford.nlp.trees.international.arabic.ArabicTreeNormalizer
 
ArabicTreeNormalizer() - Constructor for class edu.stanford.nlp.trees.international.arabic.ArabicTreeNormalizer
 
arcLabelsToNode(TreeGraphNode) - Method in class edu.stanford.nlp.trees.TreeGraphNode
Finds all arcs between this node and destNode, and returns the Set of Objects which label those arcs.
ARG - Static variable in class edu.stanford.nlp.ling.MapLabel
The standard key for a propbank label which is of type Argument
argmax(Comparator) - Method in class edu.stanford.nlp.util.Counter
Finds and returns the key in this Counter with the largest count.
argmax() - Method in class edu.stanford.nlp.util.Counter
Finds and returns the key in this Counter with the largest count.
argmax() - Method in class edu.stanford.nlp.util.Distribution
 
argmax(Comparator) - Method in class edu.stanford.nlp.util.IntCounter
Finds and returns the key in this Counter with the largest count.
argmax() - Method in class edu.stanford.nlp.util.IntCounter
Finds and returns the key in this Counter with the largest count.
argmin(Comparator) - Method in class edu.stanford.nlp.util.Counter
Finds and returns the key in this Counter with the smallest count.
argmin() - Method in class edu.stanford.nlp.util.Counter
Finds and returns the key in this Counter with the smallest count.
argmin(Comparator) - Method in class edu.stanford.nlp.util.IntCounter
Finds and returns the key in this Counter with the smallest count.
argmin() - Method in class edu.stanford.nlp.util.IntCounter
Finds and returns the key in this Counter with the smallest count.
argsToMap(String[]) - Static method in class edu.stanford.nlp.util.StringUtils
Parses command line arguments into a Map.
argsToMap(String[], Map<String, Integer>) - Static method in class edu.stanford.nlp.util.StringUtils
Parses command line arguments into a Map.
argsToProperties(String[]) - Static method in class edu.stanford.nlp.util.StringUtils
 
argsToProperties(String[], Map) - Static method in class edu.stanford.nlp.util.StringUtils
Analagous to StringUtils.argsToMap(java.lang.String[]).
attributes - Variable in class edu.stanford.nlp.util.XMLUtils.XMLTag
 
average(Counter) - Method in class edu.stanford.nlp.util.Counter
Deprecated. Use Counters#average(Counter, Counter) instead.
average(GenericCounter, GenericCounter) - Static method in class edu.stanford.nlp.util.Counters
Returns a new Counter with counts averaged from the two given Counters.
average(Counter) - Method in class edu.stanford.nlp.util.IntCounter
Deprecated. Use Counters#average(Counter, Counter) instead.
averageCount() - Method in class edu.stanford.nlp.util.Counter
Returns the mean of all the counts (totalCount/size).
averageCount() - Method in class edu.stanford.nlp.util.IntCounter
Returns the mean of all the counts (totalCount/size).

B

backup(int) - Static method in class edu.stanford.nlp.trees.tregex.SimpleCharStream
 
BaseLexicon - Class in edu.stanford.nlp.parser.lexparser
This is the default concrete instantiation of the Lexicon interface.
BaseLexicon() - Constructor for class edu.stanford.nlp.parser.lexparser.BaseLexicon
 
BaseLexicon(Options.LexOptions) - Constructor for class edu.stanford.nlp.parser.lexparser.BaseLexicon
 
basicCategory(String) - Method in class edu.stanford.nlp.trees.AbstractTreebankLanguagePack
Returns the basic syntactic category of a String.
basicCategory(String) - Method in interface edu.stanford.nlp.trees.TreebankLanguagePack
Returns the basic syntactic category of a String by truncating stuff after a (non-word-initial) occurrence of one of the labelAnnotationIntroducingCharacters().
beginColumn - Variable in class edu.stanford.nlp.trees.tregex.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
beginLine - Variable in class edu.stanford.nlp.trees.tregex.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
BeginToken() - Static method in class edu.stanford.nlp.trees.tregex.SimpleCharStream
 
BinaryHeapPriorityQueue - Class in edu.stanford.nlp.util
PriorityQueue with explicit double priority values.
BinaryHeapPriorityQueue() - Constructor for class edu.stanford.nlp.util.BinaryHeapPriorityQueue
 
BinaryHeapPriorityQueue(MapFactory) - Constructor for class edu.stanford.nlp.util.BinaryHeapPriorityQueue
 
BLANK - Static variable in interface edu.stanford.nlp.trees.tregex.TregexParserConstants
 
BobChrisTreeNormalizer - Class in edu.stanford.nlp.trees
Normalizes trees in the way used in Manning and Carpenter 1997.
BobChrisTreeNormalizer() - Constructor for class edu.stanford.nlp.trees.BobChrisTreeNormalizer
 
BobChrisTreeNormalizer(TreebankLanguagePack) - Constructor for class edu.stanford.nlp.trees.BobChrisTreeNormalizer
 
BOUNDARY - Static variable in interface edu.stanford.nlp.parser.lexparser.Lexicon
 
BOUNDARY_TAG - Static variable in interface edu.stanford.nlp.parser.lexparser.Lexicon
 
breakingTags - Static variable in class edu.stanford.nlp.util.XMLUtils
Block-level HTML tags that are rendered with surrounding line breaks.
bufcolumn - Static variable in class edu.stanford.nlp.trees.tregex.SimpleCharStream
 
buffer - Static variable in class edu.stanford.nlp.trees.tregex.SimpleCharStream
 
bufline - Static variable in class edu.stanford.nlp.trees.tregex.SimpleCharStream
 
bufpos - Static variable in class edu.stanford.nlp.trees.tregex.SimpleCharStream
 
byteValue() - Method in class edu.stanford.nlp.util.MutableDouble
 
byteValue() - Method in class edu.stanford.nlp.util.MutableInteger
 

C

CAPITALIZE_TIMEX - Static variable in class edu.stanford.nlp.process.Americanize
 
category() - Method in class edu.stanford.nlp.ling.CategoryWordTag
 
category() - Method in interface edu.stanford.nlp.ling.HasCategory
Return the category value of the label (or null if none).
category() - Method in class edu.stanford.nlp.ling.MapLabel
Return the category of the label (or null if none), which is stored in the map under the key CATEGORY_KEY.
CATEGORY_FUNCTIONAL_TAG_KEY - Static variable in class edu.stanford.nlp.ling.MapLabel
The standard key for storing category with functional tags.
CATEGORY_KEY - Static variable in class edu.stanford.nlp.ling.MapLabel
The standard key for storing a category (value) in the map.
categoryAndFunction(String) - Method in class edu.stanford.nlp.trees.AbstractTreebankLanguagePack
Returns the syntactic category and 'function' of a String.
categoryAndFunction(String) - Method in interface edu.stanford.nlp.trees.TreebankLanguagePack
Returns the syntactic category and 'function' of a String.
CategoryWordTag - Class in edu.stanford.nlp.ling
A CategoryWordTag object acts as a complex Label which contains a category, a head word, and a tag.
CategoryWordTag() - Constructor for class edu.stanford.nlp.ling.CategoryWordTag
 
CategoryWordTag(String) - Constructor for class edu.stanford.nlp.ling.CategoryWordTag
This one argument constructor sets just the value.
CategoryWordTag(String, String, String) - Constructor for class edu.stanford.nlp.ling.CategoryWordTag
 
CategoryWordTag(Label) - Constructor for class edu.stanford.nlp.ling.CategoryWordTag
Creates a new CategoryWordTag label from an existing label.
CategoryWordTagFactory - Class in edu.stanford.nlp.ling
A CategoryWordTagFactory is a factory that makes a Label which is a CategoryWordTag triplet.
CategoryWordTagFactory() - Constructor for class edu.stanford.nlp.ling.CategoryWordTagFactory
 
changePriority(Object, double) - Method in class edu.stanford.nlp.util.BinaryHeapPriorityQueue
Changes a priority, either up or down, adding the key it if it wasn't there already.
changePriority(Object, double) - Method in interface edu.stanford.nlp.util.PriorityQueue
Changes a priority, either up or down, adding the key it if it wasn't there already.
children() - Method in class edu.stanford.nlp.trees.LabeledScoredTreeLeaf
Leaves have no children.
children() - Method in class edu.stanford.nlp.trees.LabeledScoredTreeNode
Returns an array of children for the current node, or null if it is a leaf.
children() - Method in class edu.stanford.nlp.trees.SimpleTree
Returns an array of children for the current node, or null if it is a leaf.
children() - Method in class edu.stanford.nlp.trees.Tree
Returns an array of children for the current node.
children - Variable in class edu.stanford.nlp.trees.TreeGraphNode
Children of this node.
children() - Method in class edu.stanford.nlp.trees.TreeGraphNode
Returns an array of the children of this node.
chiSquare2by2(int, int, int, int) - Static method in class edu.stanford.nlp.math.SloppyMath
Find a 2x2 chi-square value.
cleanUpLabel(String) - Method in class edu.stanford.nlp.trees.BobChrisTreeNormalizer
Remove things like hyphened functional tags and equals from the end of a node label.
cleanUpLabel(String) - Method in class edu.stanford.nlp.trees.NPTmpRetainingTreeNormalizer
Remove things like hyphened functional tags and equals from the end of a node label.
clear() - Method in class edu.stanford.nlp.trees.DiskTreebank
Empty a Treebank.
clear() - Method in class edu.stanford.nlp.trees.MemoryTreebank
Empty a Treebank.
clear() - Method in class edu.stanford.nlp.trees.Treebank
Empty a Treebank.
clear() - Method in class edu.stanford.nlp.util.BinaryHeapPriorityQueue
Clears the queue.
clear() - Method in class edu.stanford.nlp.util.Counter
Removes all counts from this Counter.
clear() - Method in class edu.stanford.nlp.util.DoubleList
 
clear() - Method in class edu.stanford.nlp.util.Index
Clears this Index.
clear() - Method in class edu.stanford.nlp.util.IntCounter
Removes all counts from this Counter.
clone() - Method in class edu.stanford.nlp.util.Counter
 
clone() - Method in class edu.stanford.nlp.util.IntCounter
 
close() - Method in class edu.stanford.nlp.trees.PennTreeReader
Close the Reader behind this TreeReader.
close() - Method in interface edu.stanford.nlp.trees.TreeReader
Close the Reader behind this TreeReader.
collectionAcceptFilter(Object[]) - Static method in class edu.stanford.nlp.util.Filters
The collectionAcceptFilter accepts a certain collection.
collectionAcceptFilter(Collection) - Static method in class edu.stanford.nlp.util.Filters
The collectionAcceptFilter accepts a certain collection.
collectionRejectFilter(Object[]) - Static method in class edu.stanford.nlp.util.Filters
The collectionRejectFilter rejects a certain collection.
collectionRejectFilter(Collection) - Static method in class edu.stanford.nlp.util.Filters
The collectionRejectFilter rejects a certain collection.
collinizer() - Method in class edu.stanford.nlp.parser.lexparser.AbstractTreebankParserParams
the tree transformer used to produce trees for evaluation.
collinizer() - Method in class edu.stanford.nlp.parser.lexparser.ArabicTreebankParserParams
Stand-in collinizer does nothing to the tree.
collinizer() - Method in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams
the tree transformer used to produce trees for evaluation.
collinizer() - Method in interface edu.stanford.nlp.parser.lexparser.TreebankLangParserParams
the tree transformer used to produce trees for evaluation.
collinizerEvalb() - Method in class edu.stanford.nlp.parser.lexparser.AbstractTreebankParserParams
the tree transformer used to produce trees for evaluation.
collinizerEvalb() - Method in class edu.stanford.nlp.parser.lexparser.ArabicTreebankParserParams
Stand-in collinizer does nothing to the tree.
collinizerEvalb() - Method in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams
 
collinizerEvalb() - Method in interface edu.stanford.nlp.parser.lexparser.TreebankLangParserParams
the tree transformer used to produce trees for evaluation.
collinsBaseNP - Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTrain
Mark base NPs _and_ add a NP node if alone, as in Collins
CollinsHeadFinder - Class in edu.stanford.nlp.trees
Implements the HeadFinder found in Michael Collins' 1999 thesis.
CollinsHeadFinder() - Constructor for class edu.stanford.nlp.trees.CollinsHeadFinder
 
CollinsHeadFinder(TreebankLanguagePack) - Constructor for class edu.stanford.nlp.trees.CollinsHeadFinder
 
column - Static variable in class edu.stanford.nlp.trees.tregex.SimpleCharStream
 
comparator(boolean) - Method in class edu.stanford.nlp.util.Counter
Returns a comparator suitable for sorting this Counter's keys or entries by their respective counts.
comparator(boolean, boolean) - Method in class edu.stanford.nlp.util.Counter
Returns a comparator suitable for sorting this Counter's keys or entries by their respective value or magnitude (unsigned value).
comparator() - Method in class edu.stanford.nlp.util.Counter
Comparator that sorts objects by (increasing) count.
comparator(boolean) - Method in class edu.stanford.nlp.util.IntCounter
Returns a comparator suitable for sorting this Counter's keys or entries by their respective counts.
comparator(boolean, boolean) - Method in class edu.stanford.nlp.util.IntCounter
Returns a comparator suitable for sorting this Counter's keys or entries by their respective value or magnitude (unsigned value).
comparator() - Method in class edu.stanford.nlp.util.IntCounter
Comparator that sorts objects by (increasing) count.
compare(Object, Object) - Method in class edu.stanford.nlp.util.EntryValueComparator
Compares the values of the two given Map.Entry objects in the given order.
compareTo(Object) - Method in class edu.stanford.nlp.ling.AbstractLabel
Implementation of comparison for Label.
compareTo(Object) - Method in interface edu.stanford.nlp.ling.Label
Implementation of comparison for Label.
compareTo(Object) - Method in class edu.stanford.nlp.ling.WordTag
Implementation of comparison for Label.
compareTo(Object) - Method in class edu.stanford.nlp.parser.lexparser.IntTaggedWord
 
compareTo(Object) - Method in class edu.stanford.nlp.trees.Constituent
Implementation of comparison for Comparable interface.
compareTo(Object) - Method in class edu.stanford.nlp.trees.Tree
 
compareTo(Object) - Method in class edu.stanford.nlp.trees.UnnamedDependency
Implementation of comparison for UnnamedDependency.
compareTo(MutableDouble) - Method in class edu.stanford.nlp.util.MutableDouble
Compares two MutableDouble objects numerically.
compareTo(Object) - Method in class edu.stanford.nlp.util.MutableDouble
Compares this MutableDouble object to another object.
compareTo(MutableInteger) - Method in class edu.stanford.nlp.util.MutableInteger
Compares two MutableInteger objects numerically.
compareTo(Object) - Method in class edu.stanford.nlp.util.MutableInteger
Compares this MutableInteger object to another object.
compareTo(Object) - Method in class edu.stanford.nlp.util.Pair
Compares this Pair to another object.
compile(String) - Static method in class edu.stanford.nlp.trees.tregex.TreePattern
Compiles the given tree expression into a TreePattern instance.
compile(String) - Static method in class edu.stanford.nlp.trees.tregex.TregexPattern
Creates a pattern from the given string using the default Headfinder and BasicCategoryFunction.
compile(String) - Method in class edu.stanford.nlp.trees.tregex.TregexPatternCompiler
Create a TregexPattern from this tregex string using the headFinder and basicCat function this TregexPatternCompiler was created with
conditionalize(List) - Method in class edu.stanford.nlp.util.GeneralizedCounter
returns a GeneralizedCounter conditioned on the objects in the List argument.
conditionalizeOnce(Object) - Method in class edu.stanford.nlp.util.GeneralizedCounter
Returns a GeneralizedCounter conditioned on the given top level object.
Constituent - Class in edu.stanford.nlp.trees
A Constituent object defines a generic edge in a graph.
Constituent() - Constructor for class edu.stanford.nlp.trees.Constituent
 
ConstituentFactory - Interface in edu.stanford.nlp.trees
A ConstituentFactory is a factory for creating objects of class Constituent, or some descendent class.
constituentFactory() - Method in class edu.stanford.nlp.trees.LabeledConstituent
Return a factory for this kind of constituent.
constituentFactory() - Method in class edu.stanford.nlp.trees.SimpleConstituent
Return a factory for this kind of constituent.
constituents() - Method in class edu.stanford.nlp.trees.Tree
Returns the Constituents generated by the parse tree.
constituents(ConstituentFactory) - Method in class edu.stanford.nlp.trees.Tree
Returns the Constituents generated by the parse tree.
contains(Constituent) - Method in class edu.stanford.nlp.trees.Constituent
Detects whether this constituent contains a constituent, that is whether they are nested.
contains(Object) - Method in class edu.stanford.nlp.util.BinaryHeapPriorityQueue
Returns whether the queue contains the given key.
contains(Object) - Method in class edu.stanford.nlp.util.Index
 
containsKey(E) - Method in class edu.stanford.nlp.util.Counter
 
containsKey(Object) - Method in class edu.stanford.nlp.util.Distribution
 
containsKey(List) - Method in class edu.stanford.nlp.util.GeneralizedCounter
Like Counter, this currently returns true if the count is explicitly 0.0 for something
containsKey(Object) - Method in class edu.stanford.nlp.util.IntCounter
 
correctTags - Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTrain
'Correct' tags to produce verbs in VPs, etc.
cosine(GenericCounter, GenericCounter) - Static method in class edu.stanford.nlp.util.Counters
 
Counter<E> - Class in edu.stanford.nlp.util
A specialized kind of hash table (or map) for storing numeric counts for objects.
Counter() - Constructor for class edu.stanford.nlp.util.Counter
Constructs a new (empty) Counter.
Counter(MapFactory) - Constructor for class edu.stanford.nlp.util.Counter
Pass in a MapFactory and the map it vends will back your counter.
Counter(Counter<E>) - Constructor for class edu.stanford.nlp.util.Counter
Constructs a new Counter with the contents of the given Counter.
counter - Variable in class edu.stanford.nlp.util.Distribution
 
Counters - Class in edu.stanford.nlp.util
Static methods for operating on Counters.
Counters() - Constructor for class edu.stanford.nlp.util.Counters
 
counterView() - Method in class edu.stanford.nlp.util.GeneralizedCounter
Returns a read-only synchronous view (not a snapshot) of this as a Counter.
createCounterFromList(List) - Static method in class edu.stanford.nlp.util.Counters
 
cross(Set, Set) - Static method in class edu.stanford.nlp.util.Sets
returns the set cross product of s1 and s2, as Pairs
crossEntropy(GenericCounter, GenericCounter) - Static method in class edu.stanford.nlp.util.Counters
Note that this implementation doesn't normalize the "from" Counter.
crossEntropy(GenericCounter, Distribution, Counter) - Static method in class edu.stanford.nlp.util.Counters
Note that this implementation doesn't normalize the "from" Counter.
crosses(Constituent) - Method in class edu.stanford.nlp.trees.Constituent
Detects whether this constituent overlaps a constituent without nesting, that is, whether they "cross".
crosses(Collection) - Method in class edu.stanford.nlp.trees.Constituent
Detects whether this constituent overlaps any of a Collection of Constituents without nesting, that is, whether it "crosses" any of them.
curChar - Static variable in class edu.stanford.nlp.trees.tregex.TregexParserTokenManager
 
currentBasicCatFunction - Static variable in class edu.stanford.nlp.trees.tregex.TregexPattern
 
currentToken - Variable in exception edu.stanford.nlp.trees.tregex.ParseException
This is the last token that has been consumed successfully.

D

debugStream - Static variable in class edu.stanford.nlp.trees.tregex.TregexParserTokenManager
 
decreasePriority(Object, double) - Method in class edu.stanford.nlp.util.BinaryHeapPriorityQueue
Demotes a key in the queue, adding it if it wasn't there already.
decrementCount(E, double) - Method in class edu.stanford.nlp.util.Counter
Subtracts the given count from the current count for the given key.
decrementCount(E) - Method in class edu.stanford.nlp.util.Counter
Subtracts 1.0 from the count for the given key.
decrementCount(Object, int) - Method in class edu.stanford.nlp.util.IntCounter
Subtracts the given count from the current count for the given key.
decrementCount(Object) - Method in class edu.stanford.nlp.util.IntCounter
Subtracts 1 from the count for the given key.
decrementCounts(Collection<E>, double) - Method in class edu.stanford.nlp.util.Counter
Subtracts the given count from the current counts for each of the given keys.
decrementCounts(Collection<E>) - Method in class edu.stanford.nlp.util.Counter
Subtracts 1.0 from the counts of each of the given keys.
decrementCounts(Collection, int) - Method in class edu.stanford.nlp.util.IntCounter
Subtracts the given count from the current counts for each of the given keys.
decrementCounts(Collection) - Method in class edu.stanford.nlp.util.IntCounter
Subtracts 1 from the counts of each of the given keys.
deepCopy() - Method in class edu.stanford.nlp.trees.Tree
Create a deep copy of the tree.
deepCopy(TreeFactory) - Method in class edu.stanford.nlp.trees.Tree
Create a deep copy of the tree.
deepCopy(MapFactory) - Method in class edu.stanford.nlp.util.BinaryHeapPriorityQueue
 
deepCopy() - Method in class edu.stanford.nlp.util.BinaryHeapPriorityQueue
 
deepCopyWithLabels() - Method in class edu.stanford.nlp.trees.Tree
Same as deepCopy but will copy the labels over as well.
deepCopyWithLabels(TreeFactory) - Method in class edu.stanford.nlp.trees.Tree
Same as deepCopy but will copy the labels over as well.
DEFAULT - Static variable in interface edu.stanford.nlp.trees.tregex.TregexParserConstants
 
DEFAULT_ENCODING - Static variable in class edu.stanford.nlp.trees.AbstractTreebankLanguagePack
Use this as the default encoding for Readers and Writers of Treebank data.
DEFAULT_ENCODING - Static variable in interface edu.stanford.nlp.trees.TreebankLanguagePack
Use this as the default encoding for Readers and Writers of Treebank data.
defaultCompiler - Static variable in class edu.stanford.nlp.trees.tregex.TregexPatternCompiler
 
defaultRule - Variable in class edu.stanford.nlp.trees.AbstractCollinsHeadFinder
 
defaultTestSentence() - Method in class edu.stanford.nlp.parser.lexparser.ArabicTreebankParserParams
Return a default sentence for the language (for testing)
defaultTestSentence() - Method in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams
Return a default sentence for the language (for testing)
defaultTestSentence() - Method in interface edu.stanford.nlp.parser.lexparser.TreebankLangParserParams
Return a default sentence for the language (for testing)
dependencies() - Method in class edu.stanford.nlp.trees.Tree
Return a set of Word-Word dependencies, represented as Dependency objects, for the Tree.
dependencies(Filter) - Method in class edu.stanford.nlp.trees.Tree
Return a set of Word-Word dependencies, represented as Dependency objects, for the Tree.
dependencies(HeadFinder) - Method in class edu.stanford.nlp.trees.Tree
Return a set of Word-Word dependencies, represented as Dependency objects for the Tree.
dependencies(Filter, HeadFinder) - Method in class edu.stanford.nlp.trees.Tree
Return a set of Word-Word dependencies, represented as Dependency objects, for the Tree.
dependencies(Filter, HeadFinder) - Method in class edu.stanford.nlp.trees.TreeGraphNode
Return a set of node-node dependencies, represented as Dependency objects, for the Tree.
Dependency - Interface in edu.stanford.nlp.trees
An individual dependency between a governor and a dependent.
dependencyFactory() - Method in interface edu.stanford.nlp.trees.Dependency
Provide a factory for this kind of dependency
DependencyFactory - Interface in edu.stanford.nlp.trees
A factory for dependencies of a certain type.
dependencyFactory() - Method in class edu.stanford.nlp.trees.UnnamedDependency
 
dependencyObjectify(Tree, HeadFinder, TreeTransformer, AbstractTreebankParserParams.DependencyTyper<E>) - Static method in class edu.stanford.nlp.parser.lexparser.AbstractTreebankParserParams
Returns the set of dependencies in a tree, according to some AbstractTreebankParserParams.DependencyTyper.
dependent() - Method in interface edu.stanford.nlp.trees.Dependency
Describes the dependent (argument/modifier) of the dependency relation.
dependent() - Method in class edu.stanford.nlp.trees.UnnamedDependency
 
depth() - Method in class edu.stanford.nlp.trees.Tree
Finds the depth of the tree.
depth() - Method in class edu.stanford.nlp.util.GeneralizedCounter
Returns the depth of the GeneralizedCounter (i.e., the dimension of the distribution).
depWeight - Static variable in class edu.stanford.nlp.parser.lexparser.Test
Weighting on dependency log probs
deserializeReadable(String) - Static method in class edu.stanford.nlp.util.Index
 
determineHead(Tree) - Method in class edu.stanford.nlp.trees.AbstractCollinsHeadFinder
Determine which daughter of the current parse tree is the head.
determineHead(Tree) - Method in interface edu.stanford.nlp.trees.HeadFinder
Determine which daughter of the current parse tree is the head.
determineNonTrivialHead(Tree) - Method in class edu.stanford.nlp.trees.AbstractCollinsHeadFinder
 
determineNonTrivialHead(Tree) - Method in class edu.stanford.nlp.trees.SemanticHeadFinder
Determine which daughter of the current parse tree is the head.
diff(Set, Set) - Static method in class edu.stanford.nlp.util.Sets
set difference s1 - s2
diskTreebank() - Method in class edu.stanford.nlp.parser.lexparser.ArabicTreebankParserParams
 
diskTreebank() - Method in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams
Allows you to read in trees from the source you want.
diskTreebank() - Method in interface edu.stanford.nlp.parser.lexparser.TreebankLangParserParams
returns a DiskTreebank appropriate to the treebank source
DiskTreebank - Class in edu.stanford.nlp.trees
A DiskTreebank object stores merely the information to get at a corpus of trees that is stored on disk.
DiskTreebank() - Constructor for class edu.stanford.nlp.trees.DiskTreebank
Create a new DiskTreebank.
DiskTreebank(String) - Constructor for class edu.stanford.nlp.trees.DiskTreebank
Create a new tree bank, set the encoding for file access.
DiskTreebank(TreeReaderFactory) - Constructor for class edu.stanford.nlp.trees.DiskTreebank
Create a new DiskTreebank.
DiskTreebank(TreeReaderFactory, String) - Constructor for class edu.stanford.nlp.trees.DiskTreebank
Create a new DiskTreebank.
DiskTreebank(int) - Constructor for class edu.stanford.nlp.trees.DiskTreebank
Create a new Treebank.
DiskTreebank(int, TreeReaderFactory) - Constructor for class edu.stanford.nlp.trees.DiskTreebank
Create a new Treebank.
display() - Method in class edu.stanford.nlp.parser.lexparser.AbstractTreebankParserParams
display language-specific settings
display() - Method in class edu.stanford.nlp.parser.lexparser.ArabicTreebankParserParams
 
display() - Method in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams
 
display() - Static method in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTrain
 
display() - Static method in class edu.stanford.nlp.parser.lexparser.Test
 
display() - Method in interface edu.stanford.nlp.parser.lexparser.TreebankLangParserParams
display language-specific settings
Distribution - Class in edu.stanford.nlp.util
Immutable class for representing normalized, smoothed discrete distributions from Counters.
distributionFromLogisticCounter(GenericCounter) - Static method in class edu.stanford.nlp.util.Distribution
Maps a counter representing the linear weights of a multiclass logistic regression model to the probabilities of each class.
distributionWithDirichletPrior(GenericCounter, Distribution, double) - Static method in class edu.stanford.nlp.util.Distribution
Returns a Distribution that uses prior as a Dirichlet prior weighted by weight.
divideBy(Counter<E>) - Method in class edu.stanford.nlp.util.Counter
divides every non-zero count by the count for the corresponding key in the argument Counter.
division(GenericCounter, GenericCounter) - Static method in class edu.stanford.nlp.util.Counters
Returns c1 divided by c2.
dominates(Tree) - Method in class edu.stanford.nlp.trees.Tree
returns true if this dominates the Tree passed in as an argument.
dominatesC - Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTrain
Verbal distance -- mark whether symbol dominates a conjunction (CC)
dominatesI - Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTrain
Verbal distance -- mark whether symbol dominates a preposition (IN)
dominatesV - Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTrain
Verbal distance -- mark whether symbol dominates a verb (V*, MD).
dominationPath(Tree) - Method in class edu.stanford.nlp.trees.Tree
returns the path of nodes leading down to a dominated node, including this and the dominated node itself.
Done() - Static method in class edu.stanford.nlp.trees.tregex.SimpleCharStream
 
doRecovery - Static variable in class edu.stanford.nlp.parser.lexparser.Test
 
DoubleList - Class in edu.stanford.nlp.util
Like a List but contains doubles.
DoubleList() - Constructor for class edu.stanford.nlp.util.DoubleList
 
DoubleList(int) - Constructor for class edu.stanford.nlp.util.DoubleList
 
doubleMax() - Method in class edu.stanford.nlp.util.Counter
 
doubleMax() - Method in interface edu.stanford.nlp.util.GenericCounter
Returns the value of the maximum entry in this counter, as a double.
doubleMax() - Method in class edu.stanford.nlp.util.IntCounter
 
doubleValue() - Method in class edu.stanford.nlp.util.MutableDouble
 
doubleValue() - Method in class edu.stanford.nlp.util.MutableInteger
 
dynamicCounterWithDirichletPrior(GenericCounter, Distribution, double) - Static method in class edu.stanford.nlp.util.Distribution
Like normalizedCounterWithDirichletPrior except probabilities are computed dynamically from the counter and prior instead of all at once up front.
dynamicLength - Static variable in class edu.stanford.nlp.parser.lexparser.Test
If true, increase maxLength if long sentence encountered, instead of failing.

E

edu.stanford.nlp.io - package edu.stanford.nlp.io
A few classes that augment the java.io package in useful ways for our applications.
edu.stanford.nlp.ling - package edu.stanford.nlp.ling
Classes for linguistic concepts which are common to many NLP classes, such as Word, Tag, etc.
edu.stanford.nlp.math - package edu.stanford.nlp.math
Classes for Simple Math Functionality, such as Min, Max, WeightedAverage, Scientific Notation, etc.
edu.stanford.nlp.objectbank - package edu.stanford.nlp.objectbank
The ObjectBank class is designed to make it easy to change the format/source of data read in by other classes and to standardize how data is read in javaNLP classes.
edu.stanford.nlp.parser.lexparser - package edu.stanford.nlp.parser.lexparser
This package contains implementations of three parsers for natural language text.
edu.stanford.nlp.parser.prefixparser - package edu.stanford.nlp.parser.prefixparser
This package contains an implementation of a generic prefix probability parsing algorithm.
edu.stanford.nlp.process - package edu.stanford.nlp.process
Contains classes for processing documents.
edu.stanford.nlp.trees - package edu.stanford.nlp.trees
A package for (NLP) trees, sentences, and similar things.
edu.stanford.nlp.trees.international.arabic - package edu.stanford.nlp.trees.international.arabic
 
edu.stanford.nlp.trees.tregex - package edu.stanford.nlp.trees.tregex
A package for tree-pattern expressions and matching these expressions to Tree instances.
edu.stanford.nlp.util - package edu.stanford.nlp.util
A collection of useful general-purpose utility classes.
EMPTY - Static variable in class edu.stanford.nlp.ling.Word
Word representation of an empty.
EMPTYSTRING - Static variable in class edu.stanford.nlp.ling.Word
String representation of an empty.
encoding() - Method in class edu.stanford.nlp.trees.Treebank
Returns the encoding in use for treebank file bytestream access.
end() - Method in class edu.stanford.nlp.trees.Constituent
access end node.
end() - Method in class edu.stanford.nlp.trees.SimpleConstituent
access end node.
endColumn - Variable in class edu.stanford.nlp.trees.tregex.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
endLine - Variable in class edu.stanford.nlp.trees.tregex.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
endTime() - Static method in class edu.stanford.nlp.util.Timing
Return elapsed time on (static) timer (without stopping timer).
endTime(String, PrintStream) - Static method in class edu.stanford.nlp.util.Timing
Print elapsed time on (static) timer (without stopping timer).
endTime(String) - Static method in class edu.stanford.nlp.util.Timing
Print elapsed time on (static) timer to System.err (without stopping timer).
EnglishTreebankParserParams - Class in edu.stanford.nlp.parser.lexparser
Parser parameters for the Penn English Treebank (WSJ, Brown, Switchboard).
EnglishTreebankParserParams() - Constructor for class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams
 
EnglishTreebankParserParams.EnglishTest - Class in edu.stanford.nlp.parser.lexparser
 
EnglishTreebankParserParams.EnglishTest() - Constructor for class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTest
 
EnglishTreebankParserParams.EnglishTrain - Class in edu.stanford.nlp.parser.lexparser
 
EnglishTreebankParserParams.EnglishTrain() - Constructor for class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTrain
 
EnglishTreebankParserParams.SubcategoryStripper - Class in edu.stanford.nlp.parser.lexparser
 
EnglishTreebankParserParams.SubcategoryStripper() - Constructor for class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.SubcategoryStripper
 
entropy() - Method in class edu.stanford.nlp.util.Counter
Deprecated. Use Counters#entropy(Counter) instead.
entropy(GenericCounter) - Static method in class edu.stanford.nlp.util.Counters
Calculates the entropy of the given counter (in bits).
entropy() - Method in class edu.stanford.nlp.util.IntCounter
Deprecated. Use Counters#entropy(Counter) instead.
entrySet() - Method in class edu.stanford.nlp.util.GeneralizedCounter
returns the set of entries, where each key is a read-only List of size equal to the depth of the GeneralizedCounter, and each value is a Double.
EntryValueComparator - Class in edu.stanford.nlp.util
Comparator designed for the values of Map entries.
EntryValueComparator() - Constructor for class edu.stanford.nlp.util.EntryValueComparator
Constructs a new EntryValueComparator using ascending (normal) order that works on Map.Entry objects.
EntryValueComparator(boolean) - Constructor for class edu.stanford.nlp.util.EntryValueComparator
Constructs a new EntryValueComparator that will sort in the given order and works on Map.Entry objects.
EntryValueComparator(Map) - Constructor for class edu.stanford.nlp.util.EntryValueComparator
Constructs a new EntryValueComparator that will sort keys for the given Map in ascending (normal) order.
EntryValueComparator(Map, boolean) - Constructor for class edu.stanford.nlp.util.EntryValueComparator
Constructs a new EmptyValueComparator to sort keys or entries of the given map in the given order.
EntryValueComparator(Map, boolean, boolean) - Constructor for class edu.stanford.nlp.util.EntryValueComparator
Constructs a new EmptyValueComparator to sort keys or entries of the given map in the given order.
EOF - Static variable in interface edu.stanford.nlp.trees.tregex.TregexParserConstants
 
eol - Variable in exception edu.stanford.nlp.trees.tregex.ParseException
The end of line string for this machine.
equalIgnoringName(Object) - Method in interface edu.stanford.nlp.trees.Dependency
Are two dependencies equal if you ignore the dependency name.
equalIgnoringName(Object) - Method in class edu.stanford.nlp.trees.UnnamedDependency
 
equals(Object) - Method in class edu.stanford.nlp.ling.AbstractLabel
Equality for Labels is defined in the first instance as equality of their String value().
equals(Object) - Method in class edu.stanford.nlp.ling.MapLabel
 
equals(Object) - Method in class edu.stanford.nlp.ling.WordTag
Equality is satisfied only if the compared object is a WordTag and has String-equal word and tag fields.
equals(Object) - Method in class edu.stanford.nlp.parser.lexparser.IntTaggedWord
 
equals(Object) - Method in class edu.stanford.nlp.trees.Constituent
Compare with another Object for equality.
equals(Object) - Method in class edu.stanford.nlp.trees.Tree
Implements equality for Tree's.
equals(Object) - Method in class edu.stanford.nlp.trees.TreeGraphNode
Implements equality for TreeGraphNodes.
equals(Object) - Method in class edu.stanford.nlp.trees.UnnamedDependency
 
equals(Object) - Method in class edu.stanford.nlp.util.Counter
 
equals(Object) - Method in class edu.stanford.nlp.util.Distribution
 
equals(Object) - Method in class edu.stanford.nlp.util.IntCounter
 
equals(Object) - Method in class edu.stanford.nlp.util.MutableDouble
Compares this object to the specified object.
equals(Object) - Method in class edu.stanford.nlp.util.MutableInteger
Compares this object to the specified object.
equals(Object) - Method in class edu.stanford.nlp.util.Pair
 
equals(Object) - Method in class edu.stanford.nlp.util.Triple
 
equivalenceClass(T) - Method in interface edu.stanford.nlp.util.EquivalenceClasser
 
EquivalenceClasser<T> - Interface in edu.stanford.nlp.util
A strategy-type interface for specifying a function from Objects to their equivalence classes.
escapeString(String, char[], char) - Static method in class edu.stanford.nlp.util.StringUtils
 
escapeStringForXML(String) - Static method in class edu.stanford.nlp.util.StringUtils
 
escapeTextAroundXMLTags(String) - Static method in class edu.stanford.nlp.util.StringUtils
 
evalb - Static variable in class edu.stanford.nlp.parser.lexparser.Test
Write EvalB-readable output files.
evalBIgnoredPunctuationTagAcceptFilter() - Method in class edu.stanford.nlp.trees.AbstractTreebankLanguagePack
Returns a filter that accepts a String that is a punctuation tag that should be ignored by EVALB-style evaluation, and rejects everything else.
evalBIgnoredPunctuationTagAcceptFilter() - Method in interface edu.stanford.nlp.trees.TreebankLanguagePack
Returns a filter that accepts a String that is a punctuation tag that should be ignored by EVALB-style evaluation, and rejects everything else.
evalBIgnoredPunctuationTagRejectFilter() - Method in class edu.stanford.nlp.trees.AbstractTreebankLanguagePack
Returns a filter that accepts everything except a String that is a punctuation tag that should be ignored by EVALB-style evaluation.
evalBIgnoredPunctuationTagRejectFilter() - Method in interface edu.stanford.nlp.trees.TreebankLanguagePack
Returns a filter that accepts everything except a String that is a punctuation tag that should be ignored by EVALB-style evaluation.
evalBIgnoredPunctuationTags() - Method in class edu.stanford.nlp.trees.AbstractTreebankLanguagePack
Returns a String array of punctuation tags that EVALB-style evaluation should ignore for this treebank/language.
evalBIgnoredPunctuationTags() - Method in class edu.stanford.nlp.trees.international.arabic.ArabicTreebankLanguagePack
Returns a String array of punctuation tags that EVALB-style evaluation should ignore for this treebank/language.
evalBIgnoredPunctuationTags() - Method in class edu.stanford.nlp.trees.PennTreebankLanguagePack
Returns a String array of punctuation tags that EVALB-style evaluation should ignore for this treebank/language.
evalBIgnoredPunctuationTags() - Method in interface edu.stanford.nlp.trees.TreebankLanguagePack
Returns a String array of punctuation tags that EVALB-style evaluation should ignore for this treebank/language.
evaluateCoverage(Collection, Set, Set, Set) - Method in class edu.stanford.nlp.parser.lexparser.BaseLexicon
Evaluates how many words (= terminals) in a collection of trees are covered by the lexicon.
exactBinomial(int, int, double) - Static method in class edu.stanford.nlp.math.SloppyMath
Find a one tailed exact binomial test probability.
exactlyN(String, int) - Static method in class edu.stanford.nlp.util.StringUtils
Pad or trim so as to produce a string of exactly a certain length.
exactlyN(Object, int) - Static method in class edu.stanford.nlp.util.StringUtils
Pad or trim the toString value of the given Object.
exhaustiveTest - Static variable in class edu.stanford.nlp.parser.lexparser.Test
 
ExpandBuff(boolean) - Static method in class edu.stanford.nlp.trees.tregex.SimpleCharStream
 
expectedTokenSequences - Variable in exception edu.stanford.nlp.trees.tregex.ParseException
Each entry in this array is an array of integers.
ExtensionFileFilter - Class in edu.stanford.nlp.io
Implements a file filter that uses file extensions to filter files.
ExtensionFileFilter(String, boolean) - Constructor for class edu.stanford.nlp.io.ExtensionFileFilter
Sets up Extension file filter by specifying an extension to accept (currently only 1) and whether to also display folders for recursive search.
ExtensionFileFilter(String) - Constructor for class edu.stanford.nlp.io.ExtensionFileFilter
Sets up an extension file filter that will recurse into sub directories.

F

factory() - Static method in class edu.stanford.nlp.ling.CategoryWordTag
Return a factory for this kind of label
factory() - Static method in class edu.stanford.nlp.ling.MapLabel
Return a factory for MapLabels.
factory() - Static method in class edu.stanford.nlp.ling.StringLabel
Return a factory for this kind of label.
factory() - Static method in class edu.stanford.nlp.ling.Tag
Return a factory for this kind of label (i.e., Tag).
factory() - Static method in class edu.stanford.nlp.ling.TaggedWord
Return a factory for this kind of label.
factory() - Static method in class edu.stanford.nlp.ling.Word
Return a factory for this kind of label.
factory() - Static method in class edu.stanford.nlp.ling.WordTag
Return a factory for this kind of label.
factory() - Static method in class edu.stanford.nlp.process.PTBTokenizer
 
factory() - Static method in class edu.stanford.nlp.process.WhitespaceTokenizer
 
factory(boolean) - Static method in class edu.stanford.nlp.process.WhitespaceTokenizer
 
factory() - Static method in class edu.stanford.nlp.trees.LabeledConstituent
Return a factory for this kind of constituent.
factory() - Static method in class edu.stanford.nlp.trees.LabeledScoredTreeLeaf
Return a TreeFactory that produces trees of the LabeledScoredTree{Node|Leaf} type.
factory(LabelFactory) - Static method in class edu.stanford.nlp.trees.LabeledScoredTreeLeaf
Return a TreeFactory that produces trees of the LabeledScoredTree{Node|Leaf} type, with the Label made with the supplied LabelFactory.
factory() - Static method in class edu.stanford.nlp.trees.LabeledScoredTreeNode
Return a TreeFactory that produces trees of the LabeledScoredTree{Node|Leaf} type.
factory(LabelFactory) - Static method in class edu.stanford.nlp.trees.LabeledScoredTreeNode
Return a TreeFactory that produces trees of the LabeledScoredTree{Node|Leaf} type, with the Label made with the supplied LabelFactory.
factory() - Static method in class edu.stanford.nlp.trees.SimpleConstituent
Return a factory for this kind of constituent.
factory() - Static method in class edu.stanford.nlp.trees.SimpleTree
Return a TreeFactory that produces trees of the SimpleTree type.
factory() - Static method in class edu.stanford.nlp.trees.TreeGraphNode
Return a TreeFactory that produces trees of type TreeGraphNode.
factory(LabelFactory) - Static method in class edu.stanford.nlp.trees.TreeGraphNode
Return a TreeFactory that produces trees of type TreeGraphNode, with the Label made by the supplied LabelFactory.
factory() - Static method in class edu.stanford.nlp.trees.UnnamedDependency
 
fileNameClean(String) - Static method in class edu.stanford.nlp.util.StringUtils
Returns a "clean" version of the given filename in which spaces have been converted to dashes and all non-alphaneumeric chars are underscores.
FilePathProcessor - Class in edu.stanford.nlp.util
The FilePathProcessor traverses a directory structure and applies the processFile method to files meeting some criterion.
FilePathProcessor() - Constructor for class edu.stanford.nlp.util.FilePathProcessor
 
FileProcessor - Interface in edu.stanford.nlp.util
Interface for a Visitor pattern for Files.
FillBuff() - Static method in class edu.stanford.nlp.trees.tregex.SimpleCharStream
 
Filter<T> - Interface in edu.stanford.nlp.util
Filter is an interface for predicate objects which respond to the accept method.
filter(Object[], Filter) - Static method in class edu.stanford.nlp.util.Filters
Applies the given filter to each of the given elems, and returns the list of elems that were accepted.
Filters - Class in edu.stanford.nlp.util
Filters contains some simple implementations of the Filter interface.
find() - Method in class edu.stanford.nlp.trees.tregex.TreeMatcher
Attempts to find the next match, if any.
find() - Method in class edu.stanford.nlp.trees.tregex.TregexMatcher
Find the next match of the pattern on the tree
find(String, String) - Static method in class edu.stanford.nlp.util.StringUtils
Say whether this regular expression can be found inside this String.
findMarkedHead(Tree) - Method in class edu.stanford.nlp.trees.AbstractCollinsHeadFinder
A way for subclasses for corpora with explicit head markings to return the explicitly marked head
findMarkedHead(Tree) - Method in class edu.stanford.nlp.trees.international.arabic.ArabicHeadFinder
Predicatively marked elements in a sentence should be noted as heads
findNext() - Method in class edu.stanford.nlp.trees.tregex.TreePattern
 
first - Variable in class edu.stanford.nlp.util.Pair
Direct access is deprecated.
first() - Method in class edu.stanford.nlp.util.Pair
 
first - Variable in class edu.stanford.nlp.util.Triple
 
first() - Method in class edu.stanford.nlp.util.Triple
 
firstChild() - Method in class edu.stanford.nlp.trees.Tree
Returns the first child of a tree, or null if none.
flatten() - Method in class edu.stanford.nlp.trees.Tree
Return a flattened version of a tree.
flatten(TreeFactory) - Method in class edu.stanford.nlp.trees.Tree
Return a flattened version of a tree.
flatTree(Sentence) - Static method in class edu.stanford.nlp.trees.LabeledScoredTreeNode
 
floatValue() - Method in class edu.stanford.nlp.util.MutableDouble
 
floatValue() - Method in class edu.stanford.nlp.util.MutableInteger
 
followArcToNode(Object) - Method in class edu.stanford.nlp.trees.TreeGraphNode
Returns a single TreeGraphNode to which there exists an arc bearing the specified label from this node, or null if no such node exists.
followArcToSet(Object) - Method in class edu.stanford.nlp.trees.TreeGraphNode
Returns the Set of TreeGraphNodes to which there exist arcs bearing the specified label from this node, or null if no such nodes exist.
forceTags - Static variable in class edu.stanford.nlp.parser.lexparser.Test
Parse using only tags given from correct answer or the POS tagger
Function<T1,T2> - Interface in edu.stanford.nlp.process
An interface for classes that act as a function transforming one object to another.

G

GeneralizedCounter - Class in edu.stanford.nlp.util
A class for keeping double counts of Lists of a prespecified length.
GeneralizedCounter(int) - Constructor for class edu.stanford.nlp.util.GeneralizedCounter
Constructs a new GeneralizedCounter of a specified depth
GenericCounter<E> - Interface in edu.stanford.nlp.util
Interface to a generic (type-independent) Counter.
get(Object) - Method in class edu.stanford.nlp.ling.MapLabel
Returns the value to which the map contained in this label maps the specified key.
get(int) - Method in class edu.stanford.nlp.trees.MemoryTreebank
Get a tree by index from the Treebank.
get(int) - Method in class edu.stanford.nlp.util.DoubleList
gets the value of the index-th element of the list.
get(int) - Method in class edu.stanford.nlp.util.Index
 
getAdjectivalComplement(TreeGraphNode) - Method in class edu.stanford.nlp.trees.GrammaticalStructure
Tries to return a node representing the ADJECTIVAL_COMPLEMENT of the given node t.
getBasicCategoryFunction() - Method in class edu.stanford.nlp.trees.AbstractTreebankLanguagePack
Returns a Function object that maps Strings to Strings according to this TreebankLanguagePack's basicCategory method.
getBasicCategoryFunction() - Method in interface edu.stanford.nlp.trees.TreebankLanguagePack
Returns a Function object that maps Strings to Strings according to this TreebankLanguagePack's basicCategory method.
getBeginColumn() - Static method in class edu.stanford.nlp.trees.tregex.SimpleCharStream
 
getBeginLine() - Static method in class edu.stanford.nlp.trees.tregex.SimpleCharStream
 
getCategoryAndFunctionFunction() - Method in class edu.stanford.nlp.trees.AbstractTreebankLanguagePack
Returns a Function object that maps Strings to Strings according to this TreebankLanguagePack's categoryAndFunction method.
getCategoryAndFunctionFunction() - Method in interface edu.stanford.nlp.trees.TreebankLanguagePack
Returns a Function object that maps Strings to Strings according to this TreebankLanguagePack's categoryAndFunction method.
getChild(int) - Method in class edu.stanford.nlp.trees.Tree
Return the child at some daughter index.
getChildrenAsList() - Method in class edu.stanford.nlp.trees.Tree
Returns an array of children for the current node.
getClausalComplement(TreeGraphNode) - Method in class edu.stanford.nlp.trees.GrammaticalStructure
Tries to return a node representing the CLAUSAL_COMPLEMENT of the given node t.
getClausalSubject(TreeGraphNode) - Method in class edu.stanford.nlp.trees.GrammaticalStructure
Tries to return a node representing the CLAUSAL_SUBJECT of the given node t.
getColumn() - Static method in class edu.stanford.nlp.trees.tregex.SimpleCharStream
Deprecated.  
getCount(E) - Method in class edu.stanford.nlp.util.Counter
Returns the current count for the given key, which is 0 if it hasn't been seen before.
getCount(Object) - Method in class edu.stanford.nlp.util.Distribution
Returns the current count for the given key, which is 0 if it hasn't been seen before.
getCount(Object) - Method in class edu.stanford.nlp.util.GeneralizedCounter
Equivalent to GeneralizedCounter.getCounts(java.util.List)({o}); works only for depth 1 GeneralizedCounters
getCount(Object, Object) - Method in class edu.stanford.nlp.util.GeneralizedCounter
A convenience method equivalent to GeneralizedCounter.getCounts(java.util.List)({o1,o2}); works only for depth 2 GeneralizedCounters
getCount(Object, Object, Object) - Method in class edu.stanford.nlp.util.GeneralizedCounter
A convenience method equivalent to GeneralizedCounter.getCounts(java.util.List)({o1,o2,o3}); works only for depth 3 GeneralizedCounters
getCount(E) - Method in interface edu.stanford.nlp.util.GenericCounter
Returns the count for this key as a double.
getCount(Object) - Method in class edu.stanford.nlp.util.IntCounter
Returns the current count for the given key, which is 0 if it hasn't been seen before.
getCountAsString(E) - Method in class edu.stanford.nlp.util.Counter
 
getCountAsString(E) - Method in interface edu.stanford.nlp.util.GenericCounter
Returns the count for this key as a String.
getCountAsString(Object) - Method in class edu.stanford.nlp.util.IntCounter
 
getCountCounts(GenericCounter) - Static method in class edu.stanford.nlp.util.Counters
 
getCounter() - Method in class edu.stanford.nlp.util.Distribution
 
getCounts(List) - Method in class edu.stanford.nlp.util.GeneralizedCounter
returns a double[] array of length depth+1, containing the conditional counts on a depth-length list given each level of conditional distribution from 0 to depth.
getCurrentFile() - Method in class edu.stanford.nlp.trees.DiskTreebank
Return the File from which trees are currently being read by apply(), and pased to a TreePprocessor.
getDependencyPath(int, int) - Method in class edu.stanford.nlp.trees.GrammaticalStructure
Returns the dependency path as a list of labels, from node to root, it is assumed that that root is an ancestor of node
getDependencyPath(TreeGraphNode, TreeGraphNode) - Method in class edu.stanford.nlp.trees.GrammaticalStructure
Returns the dependency path as a list of labels, from node to root, it is assumed that that root is an ancestor of node
getDependents(TreeGraphNode) - Method in class edu.stanford.nlp.trees.GrammaticalStructure
Tries to return a Set of leaf (terminal) nodes which are the DEPENDENTs of the given node t.
getDescription() - Method in class edu.stanford.nlp.io.ExtensionFileFilter
Returns a description of what extension is being used (for file choosers).
getDirectObject(TreeGraphNode) - Method in class edu.stanford.nlp.trees.GrammaticalStructure
Tries to return a node representing the DIRECT_OBJECT of the given node t.
getDistribution(GenericCounter) - Static method in class edu.stanford.nlp.util.Distribution
Creates a Distribution from the given counter, ie makes an internal copy of the counter and divides all counts by the total count.
getDistributionFromLogValues(GenericCounter) - Static method in class edu.stanford.nlp.util.Distribution
Creates a Distribution from the given counter, ie makes an internal copy of the counter and divides all counts by the total count.
getDistributionFromPartiallySpecifiedCounter(Counter, int) - Static method in class edu.stanford.nlp.util.Distribution
Assuming that c has a total count < 1, returns a new Distribution using the counts in c as probabilities.
getDistributionWithReservedMass(GenericCounter, double) - Static method in class edu.stanford.nlp.util.Distribution
 
getEncoding() - Method in class edu.stanford.nlp.trees.AbstractTreebankLanguagePack
Return the input Charset encoding for the Treebank.
getEncoding() - Method in interface edu.stanford.nlp.trees.TreebankLanguagePack
Return the charset encoding of the Treebank.
getEndColumn() - Static method in class edu.stanford.nlp.trees.tregex.SimpleCharStream
 
getEndLine() - Static method in class edu.stanford.nlp.trees.tregex.SimpleCharStream
 
getFirst() - Method in class edu.stanford.nlp.util.BinaryHeapPriorityQueue
Finds the object with the highest priority and returns it, without modifying the queue.
getFirst() - Method in interface edu.stanford.nlp.util.PriorityQueue
Finds the object with the highest priority and returns it, without modifying the queue.
getGenerator(Treebank, String) - Static method in class edu.stanford.nlp.parser.prefixparser.PrefixProbabilityParserGenerator
 
getGlobal() - Static method in class edu.stanford.nlp.util.Interner
For getting the instance that global methods use.
getGlobalNumberer(String) - Static method in class edu.stanford.nlp.util.Numberer
 
getGovernor(TreeGraphNode) - Method in class edu.stanford.nlp.trees.GrammaticalStructure
Tries to return a leaf (terminal) node which is the GOVERNOR of the given node t.
getGrammaticalRelation(int, int) - Method in class edu.stanford.nlp.trees.GrammaticalStructure
Get GrammaticalRelation between gov and dep, and null if gov is not the governor of dep
getGrammaticalRelation(TreeGraphNode, TreeGraphNode) - Method in class edu.stanford.nlp.trees.GrammaticalStructure
Get GrammaticalRelation between gov and dep, and null if gov is not the governor of dep
getHeadFinder() - Method in class edu.stanford.nlp.trees.TreePrint
 
getHeadTag(TreeGraphNode) - Method in class edu.stanford.nlp.trees.GrammaticalStructure
Tries to return a (preterminal) node which represents the head tag for the given node t.
getHeadWord(TreeGraphNode) - Method in class edu.stanford.nlp.trees.GrammaticalStructure
Tries to return a leaf (terminal) node which represents the head word for the given node t.
GetImage() - Static method in class edu.stanford.nlp.trees.tregex.SimpleCharStream
 
getIndirectObject(TreeGraphNode) - Method in class edu.stanford.nlp.trees.GrammaticalStructure
Tries to return a node representing the INDIRECT_OBJECT of the given node t.
getIntCount(E) - Method in class edu.stanford.nlp.util.Counter
Returns the current count for the given key, which is 0 if it hasn't been seen before.
getIntCount(Object) - Method in class edu.stanford.nlp.util.IntCounter
Returns the current count for the given key, which is 0 if it hasn't been seen before.
getIterator(Reader) - Method in interface edu.stanford.nlp.objectbank.IteratorFromReaderFactory
 
getIterator(Reader) - Method in class edu.stanford.nlp.process.PTBTokenizer.PTBTokenizerFactory
 
getIterator(Reader) - Method in class edu.stanford.nlp.trees.TreeTokenizerFactory
Same as getTokenizer().
getLabeledTreeToCategoryWordTagTreeFunction() - Static method in class edu.stanford.nlp.trees.TreeFunctions
Return a Function that maps from StringLabel labeled trees to LabeledScoredTrees with a CategoryWordTag label.
getLabeledTreeToStringLabeledTreeFunction() - Static method in class edu.stanford.nlp.trees.TreeFunctions
Return an Function that maps from Label-labeled trees (any implementing class) to LabeledScored trees with a StringLabel label.
getLine() - Static method in class edu.stanford.nlp.trees.tregex.SimpleCharStream
Deprecated.  
getMapFactory() - Method in class edu.stanford.nlp.util.Counter
 
getMapFactory() - Method in interface edu.stanford.nlp.util.GenericCounter
Returns the MapFactory used by this counter.
getMapFactory() - Method in class edu.stanford.nlp.util.IntCounter
 
getMatch() - Method in class edu.stanford.nlp.trees.tregex.TreeMatcher
Returns the root node currently matched by the TreePattern
getMatch() - Method in class edu.stanford.nlp.trees.tregex.TregexMatcher
Get the last matching tree.
getMessage() - Method in exception edu.stanford.nlp.trees.tregex.ParseException
This method has the standard behavior when this object has been created using the standard constructors.
getMessage() - Method in error edu.stanford.nlp.trees.tregex.TokenMgrError
You can also modify the body of this method to customize your error messages.
getNext() - Method in class edu.stanford.nlp.process.AbstractTokenizer
Internally fetches the next token.
getNext() - Method in class edu.stanford.nlp.process.PTBTokenizer
Internally fetches the next token.
getNext() - Method in class edu.stanford.nlp.process.TokenizerAdapter
Internally fetches the next token.
getNext() - Method in class edu.stanford.nlp.process.WhitespaceTokenizer
Internally fetches the next token.
getNextToken() - Static method in class edu.stanford.nlp.trees.tregex.TregexParserTokenManager
 
getNode(Object) - Method in class edu.stanford.nlp.trees.tregex.TreeMatcher
Returns the relevant node in the pattern by the name it was given in the TreePattern
getNode(Object) - Method in class edu.stanford.nlp.trees.tregex.TregexMatcher
Returns the node labeled with name in the pattern.
getNodeByIndex(int) - Method in class edu.stanford.nlp.trees.TreeGraph
Return the node in the this treegraph corresponding to the specified integer index.
getNominalSubject(TreeGraphNode) - Method in class edu.stanford.nlp.trees.GrammaticalStructure
Tries to return a node representing the NOMINAL_SUBJECT of the given node t.
getNormalizedCount(E) - Method in class edu.stanford.nlp.util.Counter
This has been de-deprecated in order to reduce compilation warnings, but really you should create a Distribution instead of using this method.
getNormalizedCount(Object) - Method in class edu.stanford.nlp.util.IntCounter
This has been de-deprecated in order to reduce compilation warnings, but really you should create a Distribution instead of using this method.
getNumberers() - Static method in class edu.stanford.nlp.util.Numberer
 
getNumberOfKeys() - Method in class edu.stanford.nlp.util.Distribution
 
getOutputEncoding() - Method in class edu.stanford.nlp.parser.lexparser.AbstractTreebankParserParams
Returns the output encoding being used.
getOutputEncoding() - Method in interface edu.stanford.nlp.parser.lexparser.TreebankLangParserParams
Returns the output encoding being used.
getParser() - Method in class edu.stanford.nlp.parser.prefixparser.PrefixProbabilityParserGenerator
 
getPerturbedDistribution(GenericCounter, Random) - Static method in class edu.stanford.nlp.util.Distribution
 
getPerturbedUniformDistribution(Set, Random) - Static method in class edu.stanford.nlp.util.Distribution
 
getPredicate(TreeGraphNode) - Method in class edu.stanford.nlp.trees.GrammaticalStructure
Tries to return a node representing the PREDICATE of the given node t.
getPriority(Object) - Method in class edu.stanford.nlp.util.BinaryHeapPriorityQueue
Get the priority of a key -- if the key is not in the queue, Double.NEGATIVE_INFINITY is returned.
getPriority(Object) - Method in interface edu.stanford.nlp.util.PriorityQueue
Get the priority of a key.
getRelatedNodes(Tree) - Method in enum edu.stanford.nlp.trees.GrammaticalRelation
Given a Tree node t, attempts to return a list of nodes to which node t has this grammatical relation.
getReservedMass() - Method in class edu.stanford.nlp.util.Distribution
 
getSemanticTag() - Method in class edu.stanford.nlp.ling.MapLabel
Returns the semantic head pos of the phrase if it exists, and null otherwise
getSemanticWord() - Method in class edu.stanford.nlp.ling.MapLabel
Returns the semantic head of the phrase if it exists, and null otherwise
getSignature(String, int) - Method in class edu.stanford.nlp.parser.lexparser.BaseLexicon
This routine returns a String that is the "signature" of the class of a word.
getSignatureIndex(int, int) - Method in class edu.stanford.nlp.parser.lexparser.BaseLexicon
Returns the index of the signature of the word numbered wordIndex, where the signature is the String representation of unknown word features.
getSubject(TreeGraphNode) - Method in class edu.stanford.nlp.trees.GrammaticalStructure
Tries to return a node representing the SUBJECT (whether nominal or clausal) of the given node t.
GetSuffix(int) - Static method in class edu.stanford.nlp.trees.tregex.SimpleCharStream
 
getTemporalModifier(TreeGraphNode) - Method in class edu.stanford.nlp.trees.GrammaticalStructure
Tries to return a node representing a TEMPORAL_MODIFIER of the given node t.
getTerminal(Tree, int) - Static method in class edu.stanford.nlp.trees.Trees
gets the nth terminal in tree.
getTokenizer(Reader) - Method in interface edu.stanford.nlp.objectbank.TokenizerFactory
 
getTokenizer(Reader) - Method in class edu.stanford.nlp.process.PTBTokenizer.PTBTokenizerFactory
 
getTokenizer(Reader) - Method in class edu.stanford.nlp.trees.TreeTokenizerFactory
Gets a tokenizer from a reader.
getTokenizerFactory() - Method in class edu.stanford.nlp.trees.AbstractTreebankLanguagePack
Return a tokenizer which might be suitable for tokenizing text that will be used with this Treebank/Language pair, without tokenizing carriage returns (i.e., treating them as white space).
getTokenizerFactory() - Method in class edu.stanford.nlp.trees.international.arabic.ArabicTreebankLanguagePack
Return a tokenizer which might be suitable for tokenizing text that will be used with this Treebank/Language pair.
getTokenizerFactory() - Method in class edu.stanford.nlp.trees.PennTreebankLanguagePack
Returns a factory for PTBTokenizer.
getTokenizerFactory() - Method in interface edu.stanford.nlp.trees.TreebankLanguagePack
Return a tokenizer factory which might be suitable for tokenizing text that will be used with this Treebank/Language pair.
getUniformDistribution(Set) - Static method in class edu.stanford.nlp.util.Distribution
 
getWord(int) - Method in class edu.stanford.nlp.ling.Sentence
Return the Word at the given index.
globalIntern(Object) - Static method in class edu.stanford.nlp.util.Interner
Returns a unique object o' that .equals the argument o.
goodTuringSmoothedCounter(GenericCounter, int) - Static method in class edu.stanford.nlp.util.Distribution
Creates a Good-Turing smoothed Distribution from the given counter.
goodTuringWithExplicitUnknown(GenericCounter, Object) - Static method in class edu.stanford.nlp.util.Distribution
Creates a Good-Turing smoothed Distribution from the given counter without creating any reserved mass-- instead, the special object UNK in the counter is assumed to be the count of "UNSEEN" items.
governor() - Method in interface edu.stanford.nlp.trees.Dependency
Describes the governor (regent/head) of the dependency relation.
governor() - Method in class edu.stanford.nlp.trees.UnnamedDependency
 
GrammaticalRelation - Enum in edu.stanford.nlp.trees
GrammaticalRelation is used to define a standardized, hierarchical set of grammatical relations for the English language, together with patterns for identifying them in parse trees.
GrammaticalStructure - Class in edu.stanford.nlp.trees
A GrammaticalStructure is a TreeGraph (that is, a tree with additional labeled arcs between nodes) for representing the grammatical relations in a parse tree.
GrammaticalStructure(Tree) - Constructor for class edu.stanford.nlp.trees.GrammaticalStructure
Construct a new GrammaticalStructure from an existing parse tree.

H

HasCategory - Interface in edu.stanford.nlp.ling
Something that implements the HasCategory interface knows about categories.
HASH_MAP_FACTORY - Static variable in class edu.stanford.nlp.util.MapFactory
 
hashCode() - Method in class edu.stanford.nlp.ling.AbstractLabel
Return the hashCode of the String value providing there is one.
hashCode() - Method in class edu.stanford.nlp.ling.WordTag
 
hashCode() - Method in class edu.stanford.nlp.parser.lexparser.IntTaggedWord
 
hashCode() - Method in class edu.stanford.nlp.trees.Constituent
A hashCode for Constituents done by shifting and or'ing for speed.
hashCode() - Method in class edu.stanford.nlp.trees.Tree
Implements a hashCode for Tree's.
hashCode() - Method in class edu.stanford.nlp.trees.UnnamedDependency
 
hashCode() - Method in class edu.stanford.nlp.util.Counter
 
hashCode() - Method in class edu.stanford.nlp.util.Distribution
 
hashCode() - Method in class edu.stanford.nlp.util.IntCounter
 
hashCode() - Method in class edu.stanford.nlp.util.MutableDouble
 
hashCode() - Method in class edu.stanford.nlp.util.MutableInteger
 
hashCode() - Method in class edu.stanford.nlp.util.Pair
 
hashCode() - Method in class edu.stanford.nlp.util.Triple
 
hasNext() - Method in class edu.stanford.nlp.process.AbstractTokenizer
Returns true if this Tokenizer has more elements.
hasNext() - Method in interface edu.stanford.nlp.process.Tokenizer
Returns true if and only if this Tokenizer has more elements.
hasNext() - Method in class edu.stanford.nlp.util.BinaryHeapPriorityQueue
 
hasNextWord() - Method in class edu.stanford.nlp.parser.prefixparser.PrefixProbabilityParser
returns true iff there is another word in the loaded sentence that has not been parsed yet
hasSeen(Object) - Method in class edu.stanford.nlp.util.Numberer
 
HasTag - Interface in edu.stanford.nlp.ling
Something that implements the HasTag interface knows about part-of-speech tags.
HasWord - Interface in edu.stanford.nlp.ling
Something that implements the HasWord interface knows about words.
HEAD_TAG_KEY - Static variable in class edu.stanford.nlp.ling.MapLabel
The standard key for storing a head tag in the map.
HEAD_WORD_KEY - Static variable in class edu.stanford.nlp.ling.MapLabel
The standard key for storing a head word in the map.
headFinder() - Method in class edu.stanford.nlp.parser.lexparser.AbstractTreebankParserParams
the HeadFinder to use for your treebank.
headFinder() - Method in class edu.stanford.nlp.parser.lexparser.ArabicTreebankParserParams
 
headFinder() - Method in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams
 
headFinder() - Method in interface edu.stanford.nlp.parser.lexparser.TreebankLangParserParams
 
HeadFinder - Interface in edu.stanford.nlp.trees
An interface for finding the "head" daughter of a phrase structure tree.
headMark - Static variable in class edu.stanford.nlp.trees.TreePrint
 
headPreTerminal(HeadFinder) - Method in class edu.stanford.nlp.trees.Tree
Returns the preterminal tree that is the head of the tree.
heads(Tree, Tree, HeadFinder) - Static method in class edu.stanford.nlp.trees.Trees
returns true iff head (transitively) heads node
headTagNode() - Method in class edu.stanford.nlp.trees.TreeGraphNode
Return the node containing the head tag for this node (or null if none), as recorded in this node's MapLabel.
headTerminal(HeadFinder) - Method in class edu.stanford.nlp.trees.Tree
Returns the tree leaf that is the head of the tree.
headWordNode() - Method in class edu.stanford.nlp.trees.TreeGraphNode
Return the node containing the head word for this node (or null if none), as recorded in this node's MapLabel.
highestNodeWithSameHead() - Method in class edu.stanford.nlp.trees.TreeGraphNode
 
hypergeometric(int, int, int, int) - Static method in class edu.stanford.nlp.math.SloppyMath
Find a hypergeometric distribution.

I

IDENTIFIER - Static variable in interface edu.stanford.nlp.trees.tregex.TregexParserConstants
 
IDENTITY_HASH_MAP_FACTORY - Static variable in class edu.stanford.nlp.util.MapFactory
 
image - Variable in class edu.stanford.nlp.trees.tregex.Token
The string image of the token.
inBuf - Static variable in class edu.stanford.nlp.trees.tregex.SimpleCharStream
 
increasingLength - Static variable in class edu.stanford.nlp.parser.lexparser.Test
Parse trees in test treebank in order of increasing length.
incrementCount(E, double) - Method in class edu.stanford.nlp.util.Counter
Adds the given count to the current count for the given key.
incrementCount(E) - Method in class edu.stanford.nlp.util.Counter
Adds 1.0 to the count for the given key.
incrementCount(List, Object) - Method in class edu.stanford.nlp.util.GeneralizedCounter
equivalent to incrementCount(l,o,1.0).
incrementCount(List, Object, double) - Method in class edu.stanford.nlp.util.GeneralizedCounter
same as incrementCount(List, double) but as if Object o were at the end of the list
incrementCount(List) - Method in class edu.stanford.nlp.util.GeneralizedCounter
Equivalent to incrementCount(l, 1.0).
incrementCount(List, double) - Method in class edu.stanford.nlp.util.GeneralizedCounter
adds to count for the GeneralizedCounter.depth()-dimensional key l.
incrementCount(Object, int) - Method in class edu.stanford.nlp.util.IntCounter
Adds the given count to the current count for the given key.
incrementCount(Object) - Method in class edu.stanford.nlp.util.IntCounter
Adds 1 to the count for the given key.
incrementCount1D(Object) - Method in class edu.stanford.nlp.util.GeneralizedCounter
Equivalent to incrementCount1D(o, 1.0).
incrementCount1D(Object, double) - Method in class edu.stanford.nlp.util.GeneralizedCounter
Equivalent to GeneralizedCounter.incrementCount(java.util.List, java.lang.Object)({o}, count); only works for a depth 1 GeneralizedCounter.
incrementCount2D(Object, Object) - Method in class edu.stanford.nlp.util.GeneralizedCounter
Equivalent to incrementCount(first,second,1.0).
incrementCount2D(Object, Object, double) - Method in class edu.stanford.nlp.util.GeneralizedCounter
Equivalent to incrementCount( new Object[] { first, second }, count ).
incrementCounts(Collection<E>, double) - Method in class edu.stanford.nlp.util.Counter
Adds the given count to the current counts for each of the given keys.
incrementCounts(Collection<E>) - Method in class edu.stanford.nlp.util.Counter
Adds 1.0 to the counts for each of the given keys.
incrementCounts(Collection, int) - Method in class edu.stanford.nlp.util.IntCounter
Adds the given count to the current counts for each of the given keys.
incrementCounts(Collection) - Method in class edu.stanford.nlp.util.IntCounter
Adds 1 to the counts for each of the given keys.
incrementNonzero(Counter, Counter) - Static method in class edu.stanford.nlp.util.Counters
Increments counts on all those keys in c1 for which c2 has a nonzero count (i.e., for which c2 has in its keyset).
indentedListPrint() - Method in class edu.stanford.nlp.trees.Tree
Indented list printing of a tree.
indentedListPrint(PrintWriter, boolean) - Method in class edu.stanford.nlp.trees.Tree
Indented list printing of a tree.
index() - Method in class edu.stanford.nlp.ling.MapLabel
Return the index of the label (or -1 if none), which is stored in the map under the key INDEX_KEY.
index() - Method in class edu.stanford.nlp.trees.TreeGraphNode
Get the index for the current node.
Index<E> - Class in edu.stanford.nlp.util
An Index is a list which maps between an Object vocabulary and a contiguous non-negative integer index beginning (inclusively) at 0.
Index() - Constructor for class edu.stanford.nlp.util.Index
 
Index(Collection<? extends E>) - Constructor for class edu.stanford.nlp.util.Index
 
INDEX_KEY - Static variable in class edu.stanford.nlp.ling.MapLabel
The standard key for storing an integer index in the map.
indexes - Variable in class edu.stanford.nlp.util.Index
 
indexNodes() - Method in class edu.stanford.nlp.trees.TreeGraphNode
Assign sequential integer indices (starting with 0) to all nodes of the subtree rooted at this TreeGraphNode.
indexOf(Object) - Method in class edu.stanford.nlp.trees.MemoryTreebank
 
indexOf(Tree) - Method in class edu.stanford.nlp.trees.Tree
Returns the position of a Tree in the children list, if present, or -1 if it is not present.
indexOf(Object) - Method in class edu.stanford.nlp.util.Index
 
indices(List<E>) - Method in class edu.stanford.nlp.util.Index
Returns the index of each elem in an array.
informationRadius(Counter) - Method in class edu.stanford.nlp.util.Counter
Deprecated. Use Counters#informationRadius(Counter, Counter) instead.
informationRadius(GenericCounter, GenericCounter) - Static method in class edu.stanford.nlp.util.Counters
Calculates the information radius (aka the Jensen-Shannon divergence) between the two Counters.
informationRadius(Counter) - Method in class edu.stanford.nlp.util.IntCounter
Deprecated. Use Counters#informationRadius(Counter, Counter) instead.
initRulesWithWord() - Method in class edu.stanford.nlp.parser.lexparser.BaseLexicon
 
input_stream - Static variable in class edu.stanford.nlp.trees.tregex.TregexParserTokenManager
 
inputEncoding - Variable in class edu.stanford.nlp.parser.lexparser.AbstractTreebankParserParams
 
inputStream - Static variable in class edu.stanford.nlp.trees.tregex.SimpleCharStream
 
insertDtr(Tree, int) - Method in class edu.stanford.nlp.trees.Tree
insert dtr after position existing daughters in this.
IntCounter - Class in edu.stanford.nlp.util
A specialized kind of hash table (or map) for storing numeric counts for objects.
IntCounter() - Constructor for class edu.stanford.nlp.util.IntCounter
Constructs a new (empty) Counter.
IntCounter(MapFactory) - Constructor for class edu.stanford.nlp.util.IntCounter
Pass in a MapFactory and the map it vends will back your counter.
IntCounter(IntCounter) - Constructor for class edu.stanford.nlp.util.IntCounter
Constructs a new Counter with the contents of the given Counter.
intern(Object) - Method in class edu.stanford.nlp.util.Interner
Returns a unique object o' that .equals the argument o.
internedStringPair(String, String) - Static method in class edu.stanford.nlp.util.Pair
Returns an InternedPair where the Strings have been interned.
Interner - Class in edu.stanford.nlp.util
For interning (canonicalizing) things.
Interner() - Constructor for class edu.stanford.nlp.util.Interner
 
interner - Static variable in class edu.stanford.nlp.util.Interner
 
intersection(Set, Set) - Static method in class edu.stanford.nlp.util.Sets
set intersection
intPow(int, int) - Static method in class edu.stanford.nlp.math.SloppyMath
exponentiation like we learned in grade school: multiply b by itself e times.
intPow(float, int) - Static method in class edu.stanford.nlp.math.SloppyMath
exponentiation like we learned in grade school: multiply b by itself e times.
intPow(double, int) - Static method in class edu.stanford.nlp.math.SloppyMath
exponentiation like we learned in grade school: multiply b by itself e times.
IntTaggedWord - Class in edu.stanford.nlp.parser.lexparser
 
IntTaggedWord(int, int) - Constructor for class edu.stanford.nlp.parser.lexparser.IntTaggedWord
 
IntTaggedWord(String, char) - Constructor for class edu.stanford.nlp.parser.lexparser.IntTaggedWord
Creates an IntTaggedWord given by the String representation of the form |
IntTaggedWord(String, String) - Constructor for class edu.stanford.nlp.parser.lexparser.IntTaggedWord
Creates an IntTaggedWord given by the tagString and wordString
intValue() - Method in class edu.stanford.nlp.util.MutableDouble
 
intValue() - Method in class edu.stanford.nlp.util.MutableInteger
 
isAncestor(GrammaticalRelation) - Method in enum edu.stanford.nlp.trees.GrammaticalRelation
 
isApplicable(Tree) - Method in enum edu.stanford.nlp.trees.GrammaticalRelation
Returns true iff the value of Tree node t matches the sourcePattern for this GrammaticalRelation, indicating that this GrammaticalRelation is one that could hold between Tree node t and some other node.
isBreaking(String) - Static method in class edu.stanford.nlp.util.XMLUtils
 
isBreaking(XMLUtils.XMLTag) - Static method in class edu.stanford.nlp.util.XMLUtils
 
isDangerous(double) - Static method in class edu.stanford.nlp.math.SloppyMath
Returns true if the argument is a "dangerous" double to have around, namely one that is infinite, NaN or zero.
isEmpty() - Method in class edu.stanford.nlp.util.BinaryHeapPriorityQueue
Checks if the queue is empty.
isEmpty() - Method in class edu.stanford.nlp.util.Counter
 
isEmpty() - Method in class edu.stanford.nlp.util.DoubleList
returns true iff the list contains no elements.
isEmpty() - Method in class edu.stanford.nlp.util.GeneralizedCounter
Returns true if nothing has a count.
isEmpty() - Method in class edu.stanford.nlp.util.IntCounter
 
isEndTag - Variable in class edu.stanford.nlp.util.XMLUtils.XMLTag
 
isEol(String) - Method in class edu.stanford.nlp.process.TokenizerAdapter
Say whether the String is the end-of-line token for this tokenizer.
isEvalBIgnoredPunctuationTag(String) - Method in class edu.stanford.nlp.trees.AbstractTreebankLanguagePack
Accepts a String that is a punctuation tag that should be ignored by EVALB-style evaluation, and rejects everything else.
isEvalBIgnoredPunctuationTag(String) - Method in interface edu.stanford.nlp.trees.TreebankLanguagePack
Accepts a String that is a punctuation tag that should be ignored by EVALB-style evaluation, and rejects everything else.
isKnown(int) - Method in class edu.stanford.nlp.parser.lexparser.BaseLexicon
 
isKnown(String) - Method in class edu.stanford.nlp.parser.lexparser.BaseLexicon
Checks whether a word is in the lexicon.
isKnown(int) - Method in interface edu.stanford.nlp.parser.lexparser.Lexicon
Checks whether a word is in the lexicon.
isKnown(String) - Method in interface edu.stanford.nlp.parser.lexparser.Lexicon
Checks whether a word is in the lexicon.
isLabelAnnotationIntroducingCharacter(char) - Method in class edu.stanford.nlp.trees.AbstractTreebankLanguagePack
Say whether this character is an annotation introducing character.
isLabelAnnotationIntroducingCharacter(char) - Method in interface edu.stanford.nlp.trees.TreebankLanguagePack
Say whether this character is an annotation introducing character.
isLeaf() - Method in class edu.stanford.nlp.trees.LabeledScoredTreeLeaf
Indicates that this is a leaf.
isLeaf() - Method in class edu.stanford.nlp.trees.Tree
Says whether a node is a leaf.
isLocked() - Method in class edu.stanford.nlp.util.Index
 
isPhrasal() - Method in class edu.stanford.nlp.trees.Tree
Return whether this node is a phrasal node or not.
isPrePreTerminal() - Method in class edu.stanford.nlp.trees.Tree
Return whether all the children of this node are preterminals or not.
isPreTerminal() - Method in class edu.stanford.nlp.trees.Tree
Return whether this node is a preterminal or not.
isPunctuationTag(String) - Method in class edu.stanford.nlp.trees.AbstractTreebankLanguagePack
Accepts a String that is a punctuation tag name, and rejects everything else.
isPunctuationTag(String) - Method in interface edu.stanford.nlp.trees.TreebankLanguagePack
Accepts a String that is a punctuation tag name, and rejects everything else.
isPunctuationWord(String) - Method in class edu.stanford.nlp.trees.AbstractTreebankLanguagePack
Accepts a String that is a punctuation word, and rejects everything else.
isPunctuationWord(String) - Method in interface edu.stanford.nlp.trees.TreebankLanguagePack
Accepts a String that is a punctuation word, and rejects everything else.
isSentenceFinalPunctuationTag(String) - Method in class edu.stanford.nlp.trees.AbstractTreebankLanguagePack
Accepts a String that is a sentence end punctuation tag, and rejects everything else.
isSentenceFinalPunctuationTag(String) - Method in interface edu.stanford.nlp.trees.TreebankLanguagePack
Accepts a String that is a sentence end punctuation tag, and rejects everything else.
isSingleTag - Variable in class edu.stanford.nlp.util.XMLUtils.XMLTag
 
isStartSymbol(String) - Method in class edu.stanford.nlp.trees.AbstractTreebankLanguagePack
Accepts a String that is a start symbol of the treebank.
isStartSymbol(String) - Method in interface edu.stanford.nlp.trees.TreebankLanguagePack
Accepts a String that is a start symbol of the treebank.
isVeryDangerous(double) - Static method in class edu.stanford.nlp.math.SloppyMath
Returns true if the argument is a "very dangerous" double to have around, namely one that is infinite or NaN.
iterator() - Method in class edu.stanford.nlp.trees.DiskTreebank
Return an Iterator over Trees in the Treebank.
iterator() - Method in class edu.stanford.nlp.trees.MemoryTreebank
Return an Iterator over Trees in the Treebank.
iterator() - Method in class edu.stanford.nlp.trees.Tree
Returns an iterator over the nodes of the tree.
iterator() - Method in class edu.stanford.nlp.util.BinaryHeapPriorityQueue
 
IteratorFromReaderFactory<T> - Interface in edu.stanford.nlp.objectbank
A IteratorFromReaderFactory is used to convert a java.io.Reader into an Iterator over the Objects represented by the text in the java.io.Reader.

J

jensenShannonDivergence(GenericCounter, GenericCounter) - Static method in class edu.stanford.nlp.util.Counters
Calculates the Jensen-Shannon divergence between the two counters.
jjFillToken() - Static method in class edu.stanford.nlp.trees.tregex.TregexParserTokenManager
 
jjstrLiteralImages - Static variable in class edu.stanford.nlp.trees.tregex.TregexParserTokenManager
 
join(Iterable, String) - Static method in class edu.stanford.nlp.util.StringUtils
Joins each elem in the Collection with the given glue.
join(List, String) - Static method in class edu.stanford.nlp.util.StringUtils
Joins each elem in the List with the given glue.
join(Object[], String) - Static method in class edu.stanford.nlp.util.StringUtils
Joins each elem in the array with the given glue.
join(List) - Static method in class edu.stanford.nlp.util.StringUtils
Joins elems with a space.
join(Object[]) - Static method in class edu.stanford.nlp.util.StringUtils
Joins elems with a space.
joinJJ - Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTrain
Joint comparative and superlative adjective with positive.
joinNounTags - Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTrain
Join proper nouns with common nouns.
joinPound - Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTrain
Join pound with dollar.

K

keysAbove(double) - Method in class edu.stanford.nlp.util.Counter
Returns the set of keys whose counts are at or above the given threshold.
keysAbove(int) - Method in class edu.stanford.nlp.util.IntCounter
Returns the set of keys whose counts are at or above the given threshold.
keysAt(double) - Method in class edu.stanford.nlp.util.Counter
Returns the set of keys that have exactly the given count.
keysAt(int) - Method in class edu.stanford.nlp.util.IntCounter
Returns the set of keys that have exactly the given count.
keysBelow(double) - Method in class edu.stanford.nlp.util.Counter
Returns the set of keys whose counts are at or below the given threshold.
keysBelow(int) - Method in class edu.stanford.nlp.util.IntCounter
Returns the set of keys whose counts are at or below the given threshold.
keySet() - Method in class edu.stanford.nlp.util.Counter
 
keySet() - Method in class edu.stanford.nlp.util.Distribution
 
keySet() - Method in class edu.stanford.nlp.util.GeneralizedCounter
Returns the set of keys, as read-only Lists of size equal to the depth of the GeneralizedCounter.
keySet() - Method in interface edu.stanford.nlp.util.GenericCounter
Returns the Set of keys in this counter.
keySet() - Method in class edu.stanford.nlp.util.IntCounter
 
kind - Variable in class edu.stanford.nlp.trees.tregex.Token
An integer that describes the kind of this token.
klDivergence(Counter) - Method in class edu.stanford.nlp.util.Counter
Deprecated. Use Counters#klDivergence(Counter, Counter) instead.
klDivergence(GenericCounter, GenericCounter) - Static method in class edu.stanford.nlp.util.Counters
Calculates the KL divergence between the two counters.
klDivergence(Counter) - Method in class edu.stanford.nlp.util.IntCounter
Deprecated. Use Counters#klDivergence(Counter, Counter) instead.

L

Label - Interface in edu.stanford.nlp.ling
Something that implements the Label interface can act as a constituent, node, or word label with linguistic attributes.
label() - Method in class edu.stanford.nlp.trees.Constituent
access label
label() - Method in interface edu.stanford.nlp.trees.Labeled
Returns the Object's label.
label() - Method in class edu.stanford.nlp.trees.LabeledConstituent
 
label() - Method in class edu.stanford.nlp.trees.LabeledScoredTreeLeaf
Returns the label associated with the current node.
label() - Method in class edu.stanford.nlp.trees.LabeledScoredTreeNode
Returns the label associated with the current node, or null if there is no label
label() - Method in class edu.stanford.nlp.trees.Tree
Returns the label associated with the current node, or null if there is no label.
label - Variable in class edu.stanford.nlp.trees.TreeGraphNode
Label for this node.
label() - Method in class edu.stanford.nlp.trees.TreeGraphNode
Returns the label associated with the current node, or null if there is no label.
labelAnnotationIntroducingCharacters() - Method in class edu.stanford.nlp.trees.AbstractTreebankLanguagePack
Return an array of characters at which a String should be truncated to give the basic syntactic category of a label.
labelAnnotationIntroducingCharacters() - Method in class edu.stanford.nlp.trees.international.arabic.ArabicTreebankLanguagePack
Return an array of characters at which a String should be truncated to give the basic syntactic category of a label.
labelAnnotationIntroducingCharacters() - Method in class edu.stanford.nlp.trees.PennTreebankLanguagePack
Return an array of characters at which a String should be truncated to give the basic syntactic category of a label.
labelAnnotationIntroducingCharacters() - Method in interface edu.stanford.nlp.trees.TreebankLanguagePack
Return an array of characters at which a String should be truncated to give the basic syntactic category of a label.
Labeled - Interface in edu.stanford.nlp.trees
Interface for Objects which have a Label.
LabeledConstituent - Class in edu.stanford.nlp.trees
A LabeledConstituent object represents a single bracketing in a derivation, including start and end points and Label information, but excluding probabilistic information.
LabeledConstituent() - Constructor for class edu.stanford.nlp.trees.LabeledConstituent
Create an empty LabeledConstituent object.
LabeledConstituent(int, int) - Constructor for class edu.stanford.nlp.trees.LabeledConstituent
Create a LabeledConstituent object with given values.
LabeledConstituent(int, int, Label) - Constructor for class edu.stanford.nlp.trees.LabeledConstituent
Create a LabeledConstituent object with given values.
LabeledConstituent(int, int, String) - Constructor for class edu.stanford.nlp.trees.LabeledConstituent
Create a LabeledConstituent object with given values.
LabeledScoredTreeFactory - Class in edu.stanford.nlp.trees
A LabeledScoredTreeFactory acts as a factory for creating trees with labels and scores.
LabeledScoredTreeFactory() - Constructor for class edu.stanford.nlp.trees.LabeledScoredTreeFactory
Make a TreeFactory that produces LabeledScoredTree trees.
LabeledScoredTreeFactory(LabelFactory) - Constructor for class edu.stanford.nlp.trees.LabeledScoredTreeFactory
Make a treefactory that uses LabeledScoredTree trees, where the labels are as specified by the user.
LabeledScoredTreeLeaf - Class in edu.stanford.nlp.trees
A LabeledScoredTreeLeaf represents the leaf of a tree in a parse tree with labels and scores.
LabeledScoredTreeLeaf() - Constructor for class edu.stanford.nlp.trees.LabeledScoredTreeLeaf
Create an empty leaf parse tree with an empty word.
LabeledScoredTreeLeaf(Label) - Constructor for class edu.stanford.nlp.trees.LabeledScoredTreeLeaf
Create a leaf parse tree with given word.
LabeledScoredTreeLeaf(Label, double) - Constructor for class edu.stanford.nlp.trees.LabeledScoredTreeLeaf
Create a leaf parse tree with given word and score.
LabeledScoredTreeNode - Class in edu.stanford.nlp.trees
A LabeledScoredTreeNode represents a tree composed of a root label, a score, and an array of daughter parse trees.
LabeledScoredTreeNode() - Constructor for class edu.stanford.nlp.trees.LabeledScoredTreeNode
Create an empty parse tree.
LabeledScoredTreeNode(Label, List) - Constructor for class edu.stanford.nlp.trees.LabeledScoredTreeNode
Create parse tree with given root and array of daughter trees.
LabeledScoredTreeReaderFactory - Class in edu.stanford.nlp.trees
This class implements a TreeReaderFactory that produces labeled, scored array-based Trees, which have been cleaned up to delete empties, etc.
LabeledScoredTreeReaderFactory() - Constructor for class edu.stanford.nlp.trees.LabeledScoredTreeReaderFactory
Create a new TreeReaderFactory with CategoryWordTag labels.
LabeledScoredTreeReaderFactory(LabelFactory) - Constructor for class edu.stanford.nlp.trees.LabeledScoredTreeReaderFactory
 
labelFactory() - Method in class edu.stanford.nlp.ling.AbstractLabel
Returns a factory that makes Labels of the appropriate sort.
labelFactory() - Method in class edu.stanford.nlp.ling.CategoryWordTag
Return a factory for this kind of label (i.e., CategoryWordTag).
labelFactory() - Method in interface edu.stanford.nlp.ling.Label
Returns a factory that makes labels of the same type as this one.
LabelFactory - Interface in edu.stanford.nlp.ling
A LabelFactory object acts as a factory for creating objects of class Label, or some descendent class.
labelFactory() - Method in class edu.stanford.nlp.ling.MapLabel
Return a factory for MapLabels.
labelFactory() - Method in class edu.stanford.nlp.ling.StringLabel
Return a factory for this kind of label (i.e., StringLabel).
labelFactory() - Method in class edu.stanford.nlp.ling.Tag
Return a factory for this kind of label (i.e., Tag).
labelFactory() - Method in class edu.stanford.nlp.ling.TaggedWord
Return a factory for this kind of label (i.e., TaggedWord).
labelFactory() - Method in class edu.stanford.nlp.ling.Word
Return a factory for this kind of label (i.e., Word).
labelFactory() - Method in class edu.stanford.nlp.ling.WordTag
Return a factory for this kind of label (i.e., TaggedWord).
labelFactory() - Method in class edu.stanford.nlp.trees.LabeledConstituent
Return a factory for this kind of label.
labelFactory() - Method in class edu.stanford.nlp.trees.SimpleConstituent
Return a factory for this kind of label.
labelFactory() - Method in class edu.stanford.nlp.trees.Tree
Returns a factory that makes labels of the same type as this one.
labels() - Method in class edu.stanford.nlp.trees.Constituent
Access labels -- actually always a singleton here.
labels() - Method in interface edu.stanford.nlp.trees.Labeled
Gives back all labels for this thing.
labels() - Method in class edu.stanford.nlp.trees.Tree
Get the set of all node and leaf Labels, null or otherwise, contained in the tree.
laplaceSmoothedDistribution(GenericCounter, int) - Static method in class edu.stanford.nlp.util.Distribution
Creates an Laplace smoothed Distribution from the given counter, ie adds one count to every item, including unseen ones, and divides by the total count.
laplaceSmoothedDistribution(GenericCounter, int, double) - Static method in class edu.stanford.nlp.util.Distribution
Creates a smoothed Distribution using Lidstone's law, ie adds lambda (typically between 0 and 1) to every item, including unseen ones, and divides by the total count.
laplaceWithExplicitUnknown(GenericCounter, double, Object) - Static method in class edu.stanford.nlp.util.Distribution
Creates a smoothed Distribution with Laplace smoothing, but assumes an explicit count of "UNKNOWN" items.
lastChild() - Method in class edu.stanford.nlp.trees.Tree
Returns the last child of a tree, or null if none.
lastIndexOf(Object) - Method in class edu.stanford.nlp.trees.MemoryTreebank
 
lastIndexOf(Object) - Method in class edu.stanford.nlp.util.Index
 
lastSentencePosition - Variable in class edu.stanford.nlp.parser.lexparser.BaseLexicon
 
lastSignatureIndex - Variable in class edu.stanford.nlp.parser.lexparser.BaseLexicon
We cache the last signature looked up, because it asks for the same one many times when an unknown word is encountered! (Note that under the current scheme, one unknown word, if seen sentence-initially and non-initially, will be parsed with two different signatures....)
lastWordToSignaturize - Variable in class edu.stanford.nlp.parser.lexparser.BaseLexicon
 
leaves(Tree) - Static method in class edu.stanford.nlp.trees.Trees
returns the leaves in a Tree in the order that they're found.
leftCharEdge(Tree) - Method in class edu.stanford.nlp.trees.Tree
Returns the positional index of the left edge of node within the tree, as measured by characters.
leftEdge(Tree, Tree) - Static method in class edu.stanford.nlp.trees.Trees
Returns the positional index of the left edge of a tree t within a given root, as defined by the size of the yield of all material preceding t.
leftPad(String, int) - Static method in class edu.stanford.nlp.util.StringUtils
Pads the given String to the left with spaces to ensure that it's at least totalChars long.
leftPad(Object, int) - Static method in class edu.stanford.nlp.util.StringUtils
 
leftPad(int, int) - Static method in class edu.stanford.nlp.util.StringUtils
 
leftPad(double, int) - Static method in class edu.stanford.nlp.util.StringUtils
 
length() - Method in class edu.stanford.nlp.ling.Sentence
A convenience method since we normally say sentences have a length.
lengthNormalization - Static variable in class edu.stanford.nlp.parser.lexparser.Test
Turns on normalizing scores for sentence length.
lex() - Method in class edu.stanford.nlp.parser.lexparser.AbstractTreebankParserParams
 
lex(Options.LexOptions) - Method in class edu.stanford.nlp.parser.lexparser.AbstractTreebankParserParams
 
lex(Options.LexOptions) - Method in interface edu.stanford.nlp.parser.lexparser.TreebankLangParserParams
 
LexicalError(boolean, int, int, int, String, char) - Static method in error edu.stanford.nlp.trees.tregex.TokenMgrError
Returns a detailed message for the Error when it is thrown by the token manager to indicate a lexical error.
lexicalize(Tree, HeadFinder) - Static method in class edu.stanford.nlp.trees.Trees
Returns a lexicalized Tree whose Labels are CategoryWordTag instances, all corresponds to the input tree.
Lexicon - Interface in edu.stanford.nlp.parser.lexparser
An interface for lexicons
lexStateNames - Static variable in class edu.stanford.nlp.trees.tregex.TregexParserTokenManager
 
line - Static variable in class edu.stanford.nlp.trees.tregex.SimpleCharStream
 
linearCombination(GenericCounter, double, GenericCounter, double) - Static method in class edu.stanford.nlp.util.Counters
Returns a Counter which is a weighted average of c1 and c2.
listIterator() - Method in class edu.stanford.nlp.trees.MemoryTreebank
 
listIterator(int) - Method in class edu.stanford.nlp.trees.MemoryTreebank
 
loadCounter(String, Class) - Static method in class edu.stanford.nlp.util.Counters
Loads a Counter from a text file.
loadIntCounter(String, Class) - Static method in class edu.stanford.nlp.util.Counters
Loads a Counter from a text file.
loadPath(File, FileFilter) - Method in class edu.stanford.nlp.trees.DiskTreebank
Load trees from given directory.
loadPath(File, FileFilter) - Method in class edu.stanford.nlp.trees.MemoryTreebank
Load trees from given directory.
loadPath(String) - Method in class edu.stanford.nlp.trees.Treebank
Load a sequence of trees from given directory and its subdirectories.
loadPath(File) - Method in class edu.stanford.nlp.trees.Treebank
Load a sequence of trees from given directory and its subdirectories.
loadPath(String, String, boolean) - Method in class edu.stanford.nlp.trees.Treebank
Load trees from given directory.
loadPath(File, String, boolean) - Method in class edu.stanford.nlp.trees.Treebank
Load trees from given directory.
loadPath(String, FileFilter) - Method in class edu.stanford.nlp.trees.Treebank
Load a sequence of trees from given directory and its subdirectories which match the file filter.
loadPath(File, FileFilter) - Method in class edu.stanford.nlp.trees.Treebank
Load trees from given path specification.
loadSentence(List<String>) - Method in class edu.stanford.nlp.parser.prefixparser.PrefixProbabilityParser
Loads a sentence (a List of Strings) into the parser for parsing.
localTree() - Method in class edu.stanford.nlp.trees.Tree
Returns a new Tree that represents the local Tree at a certain node.
localTreeAsCatList(Tree) - Static method in class edu.stanford.nlp.trees.Trees
returns the syntactic category of the tree as a list of the syntactic categories of the mother and the daughters
lock() - Method in class edu.stanford.nlp.util.Index
 
lock() - Method in class edu.stanford.nlp.util.Numberer
 
locked - Variable in class edu.stanford.nlp.util.Index
 
logAdd(float, float) - Static method in class edu.stanford.nlp.math.SloppyMath
Returns the log of the sum of two numbers, which are themselves input in log form.
logAdd(double, double) - Static method in class edu.stanford.nlp.math.SloppyMath
Returns the log of the sum of two numbers, which are themselves input in log form.
logSum(double[]) - Static method in class edu.stanford.nlp.math.SloppyMath
Returns the log of the sum of an array of numbers, which are themselves input in log form.
logSum(float[]) - Static method in class edu.stanford.nlp.math.SloppyMath
Returns the log of the sum of an array of numbers, which are themselves input in log form.
longValue() - Method in class edu.stanford.nlp.util.MutableDouble
 
longValue() - Method in class edu.stanford.nlp.util.MutableInteger
 
lookingAt(String, String) - Static method in class edu.stanford.nlp.util.StringUtils
Say whether this regular expression can be found at the beginning of this String.
lowestLevelCounterEntrySet() - Method in class edu.stanford.nlp.util.GeneralizedCounter
Returns a set of entries, where each key is a read-only List of size one less than the depth of the GeneralizedCounter, and each value is a Counter.

M

main(String[]) - Static method in class edu.stanford.nlp.ling.MapLabel
For testing only.
main(String[]) - Static method in class edu.stanford.nlp.ling.MapLabelFactory
Just for testing.
main(String[]) - Static method in class edu.stanford.nlp.math.SloppyMath
Tests the hypergeometric distribution code, or other functions provided in this module.
main(String[]) - Static method in class edu.stanford.nlp.parser.lexparser.ArabicTreebankParserParams
Loads Arabic Treebank files from the first argument and prints all the trees.
main(String[]) - Static method in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams
 
main(String[]) - Static method in class edu.stanford.nlp.parser.prefixparser.PrefixProbabilityParser
 
main(String[]) - Static method in class edu.stanford.nlp.process.Americanize
Americanize and print the command line arguments.
main(String[]) - Static method in class edu.stanford.nlp.process.Morphology
 
main(String[]) - Static method in class edu.stanford.nlp.process.PTBTokenizer
Reads a file from the argument and prints its tokens one per line.
main(String[]) - Static method in class edu.stanford.nlp.process.WhitespaceTokenizer
Reads a file from the argument and prints its tokens one per line.
main(String[]) - Static method in class edu.stanford.nlp.trees.AbstractCollinsHeadFinder
Go through trees and determine their heads and print them.
main(String[]) - Static method in class edu.stanford.nlp.trees.DiskTreebank
Loads treebank from the first argument and prints it.
main(String[]) - Static method in enum edu.stanford.nlp.trees.GrammaticalRelation
 
main(String[]) - Static method in class edu.stanford.nlp.trees.GrammaticalStructure
Just for testing.
main(String[]) - Static method in class edu.stanford.nlp.trees.international.arabic.ArabicTreebankLanguagePack
 
main(String[]) - Static method in class edu.stanford.nlp.trees.MemoryTreebank
Loads treebank grammar from first argument and prints it.
main(String[]) - Static method in class edu.stanford.nlp.trees.PennTreebankLanguagePack
 
main(String[]) - Static method in class edu.stanford.nlp.trees.PennTreeReader
Loads treebank data from first argument and prints it.
main(String[]) - Static method in class edu.stanford.nlp.trees.TreeFunctions
This method just tests the functionality of the included transformers.
main(String[]) - Static method in class edu.stanford.nlp.trees.TreeGraph
Just for testing.
main(String[]) - Static method in class edu.stanford.nlp.trees.TreeGraphNode
Just for testing.
main(String[]) - Static method in class edu.stanford.nlp.trees.TreePrint
utility code...
main(String[]) - Static method in class edu.stanford.nlp.trees.tregex.TreeMatcher
Use to match a tree pattern to the trees in files.
main(String[]) - Static method in class edu.stanford.nlp.trees.tregex.TreePattern
Used to check how tree patterns are compiled, and how node descriptions are compiled into regular expressions.
main(String[]) - Static method in class edu.stanford.nlp.trees.tregex.TregexMatcher
Look at a bunch of trees and tell where TreePattern and TregexPattern differ at all.
main(String[]) - Static method in class edu.stanford.nlp.trees.tregex.TregexPattern
Use to match a tree pattern to the trees in files.
main(String[]) - Static method in class edu.stanford.nlp.trees.WordStemmer
Usage: WordStemmer .
main(String[]) - Static method in class edu.stanford.nlp.util.BinaryHeapPriorityQueue
 
main(String[]) - Static method in class edu.stanford.nlp.util.Counter
For internal debugging purposes only.
main(String[]) - Static method in class edu.stanford.nlp.util.Distribution
For internal testing purposes only.
main(String[]) - Static method in class edu.stanford.nlp.util.DoubleList
 
main(String[]) - Static method in class edu.stanford.nlp.util.GeneralizedCounter
for testing purposes only
main(String[]) - Static method in class edu.stanford.nlp.util.Index
 
main(String[]) - Static method in class edu.stanford.nlp.util.Interner
Test method: interns its arguments and says whether they == themselves.
main(String[]) - Static method in class edu.stanford.nlp.util.Sets
 
main(String[]) - Static method in class edu.stanford.nlp.util.StringUtils
 
main(String[]) - Static method in class edu.stanford.nlp.util.XMLUtils
 
makeDependency(Tree, Tree, Tree) - Method in interface edu.stanford.nlp.parser.lexparser.AbstractTreebankParserParams.DependencyTyper
 
map() - Method in class edu.stanford.nlp.ling.MapLabel
Return the Map contained in this label.
map - Variable in class edu.stanford.nlp.util.Interner
 
MapFactory - Class in edu.stanford.nlp.util
Factory for vending Maps.
MapFactory() - Constructor for class edu.stanford.nlp.util.MapFactory
 
MapFactory.HashMapFactory - Class in edu.stanford.nlp.util
 
MapFactory.HashMapFactory() - Constructor for class edu.stanford.nlp.util.MapFactory.HashMapFactory
 
MapFactory.IdentityHashMapFactory - Class in edu.stanford.nlp.util
 
MapFactory.IdentityHashMapFactory() - Constructor for class edu.stanford.nlp.util.MapFactory.IdentityHashMapFactory
 
MapFactory.TreeMapFactory - Class in edu.stanford.nlp.util
 
MapFactory.TreeMapFactory() - Constructor for class edu.stanford.nlp.util.MapFactory.TreeMapFactory
 
MapFactory.WeakHashMapFactory - Class in edu.stanford.nlp.util
 
MapFactory.WeakHashMapFactory() - Constructor for class edu.stanford.nlp.util.MapFactory.WeakHashMapFactory
 
MapLabel - Class in edu.stanford.nlp.ling
A MapLabel object contains a Map, which in turn may contain arbitrary key-value pairs.
MapLabel() - Constructor for class edu.stanford.nlp.ling.MapLabel
Create a new MapLabel with null value.
MapLabel(String) - Constructor for class edu.stanford.nlp.ling.MapLabel
Create a new MapLabel with the given value.
MapLabel(Label) - Constructor for class edu.stanford.nlp.ling.MapLabel
Create a new MapLabel with the value of another Label as its value.
MapLabelFactory - Class in edu.stanford.nlp.ling
A MapLabelFactory is a factory that makes a Label which is a MapLabel.
MapLabelFactory() - Constructor for class edu.stanford.nlp.ling.MapLabelFactory
 
mapTag(String) - Static method in class edu.stanford.nlp.process.Morphology
 
markCC - Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTrain
Mark phrases which are conjunctions.
markCC2 - Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTrain
Mark phrases which are conjunctions, more like Charniak.
markContainedVP - Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTrain
 
markDitransV - Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTrain
Attempt to record ditransitive verbs.
markHeadNodes(Tree) - Method in class edu.stanford.nlp.trees.TreePrint
 
MARKING - Static variable in class edu.stanford.nlp.ling.MapLabel
Another key used for propbank - to signify core arg nodes or predicate nodes
markReflexivePRP - Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTrain
Mark reflexivie PRP words.
matcher(Tree) - Method in class edu.stanford.nlp.trees.tregex.TreePattern
Creates a TreeMatcher that can match this pattern to the specified input tree.
matcher(Tree) - Method in class edu.stanford.nlp.trees.tregex.TregexPattern
Get a TregexMatcher for this pattern on this tree.
matches(Tree) - Method in class edu.stanford.nlp.trees.tregex.TreeMatcher
Attempts to match the input TreePattern against the specified Tree, at the supplied Tree node t.
matches() - Method in class edu.stanford.nlp.trees.tregex.TregexMatcher
Does the pattern match the tree? It's actually closer to java.util.regex's "lookingAt" in that the root of the tree has to match the root of the pattern but the whole tree does not have to be "accounted for".
matches(String, String) - Static method in class edu.stanford.nlp.util.StringUtils
Say whether this regular expression matches this String.
matchesAt(Tree) - Method in class edu.stanford.nlp.trees.tregex.TregexMatcher
Rests the matcher and tests if it matches on the tree when rooted at node.
max(float, float) - Static method in class edu.stanford.nlp.math.SloppyMath
Returns the greater of two float values.
max(double, double) - Static method in class edu.stanford.nlp.math.SloppyMath
Returns the greater of two double values.
max() - Method in class edu.stanford.nlp.util.Counter
Finds and returns the largest count in this Counter.
max() - Method in class edu.stanford.nlp.util.IntCounter
Finds and returns the largest count in this Counter.
MAX_ITEMS - Static variable in class edu.stanford.nlp.parser.lexparser.Test
The maximum number of edges and hooks in bilexparser.
maximalProjection(Tree, Tree, HeadFinder) - Static method in class edu.stanford.nlp.trees.Trees
returns the maximal projection of head in root given a HeadFinder
maxLength - Static variable in class edu.stanford.nlp.parser.lexparser.Test
The maximum sentence length (including punctuation, etc.) to parse.
maxNextCharInd - Static variable in class edu.stanford.nlp.trees.tregex.SimpleCharStream
 
maxSpanForTags - Static variable in class edu.stanford.nlp.parser.lexparser.Test
The largest span to consider for word-hood.
memoryTreebank() - Method in class edu.stanford.nlp.parser.lexparser.AbstractTreebankParserParams
returns a MemoryTreebank appropriate to the treebank source
memoryTreebank() - Method in class edu.stanford.nlp.parser.lexparser.ArabicTreebankParserParams
 
memoryTreebank() - Method in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams
Allows you to read in trees from the source you want.
memoryTreebank() - Method in interface edu.stanford.nlp.parser.lexparser.TreebankLangParserParams
returns a MemoryTreebank appropriate to the treebank source
MemoryTreebank - Class in edu.stanford.nlp.trees
A MemoryTreebank object stores a corpus of examples with given tree structures in memory (as a List).
MemoryTreebank() - Constructor for class edu.stanford.nlp.trees.MemoryTreebank
Create a new tree bank.
MemoryTreebank(String) - Constructor for class edu.stanford.nlp.trees.MemoryTreebank
Create a new tree bank, set the encoding for file access
MemoryTreebank(TreeReaderFactory) - Constructor for class edu.stanford.nlp.trees.MemoryTreebank
Create a new tree bank.
MemoryTreebank(TreeReaderFactory, String) - Constructor for class edu.stanford.nlp.trees.MemoryTreebank
Create a new tree bank.
MemoryTreebank(int) - Constructor for class edu.stanford.nlp.trees.MemoryTreebank
Create a new Treebank.
MemoryTreebank(int, TreeReaderFactory) - Constructor for class edu.stanford.nlp.trees.MemoryTreebank
Create a new tree bank.
min(float, float) - Static method in class edu.stanford.nlp.math.SloppyMath
Returns the smaller of two float values.
min(double, double) - Static method in class edu.stanford.nlp.math.SloppyMath
Returns the smaller of two double values.
min() - Method in class edu.stanford.nlp.util.Counter
Finds and returns the smallest count in this Counter.
min() - Method in class edu.stanford.nlp.util.IntCounter
Finds and returns the smallest count in this Counter.
ModCollinsHeadFinder - Class in edu.stanford.nlp.trees
Implements a variant on the HeadFinder found in Michael Collins' 1999 thesis.
ModCollinsHeadFinder() - Constructor for class edu.stanford.nlp.trees.ModCollinsHeadFinder
 
ModCollinsHeadFinder(TreebankLanguagePack) - Constructor for class edu.stanford.nlp.trees.ModCollinsHeadFinder
 
Morphology - Class in edu.stanford.nlp.process
Morphology computes the base form of English words, by removing just inflections (not derivational morphology).
Morphology() - Constructor for class edu.stanford.nlp.process.Morphology
 
Morphology(Reader) - Constructor for class edu.stanford.nlp.process.Morphology
 
Morphology(String) - Constructor for class edu.stanford.nlp.process.Morphology
 
Morphology(Reader, String) - Constructor for class edu.stanford.nlp.process.Morphology
Process morphologically from a Reader, having loaded verbs with stem doubling from the file verbFile.
Morphology(String, String) - Constructor for class edu.stanford.nlp.process.Morphology
 
MutableDouble - Class in edu.stanford.nlp.util
A class for Double objects that you can change.
MutableDouble() - Constructor for class edu.stanford.nlp.util.MutableDouble
 
MutableDouble(double) - Constructor for class edu.stanford.nlp.util.MutableDouble
 
MutableInteger - Class in edu.stanford.nlp.util
A class for Integer objects that you can change.
MutableInteger() - Constructor for class edu.stanford.nlp.util.MutableInteger
 
MutableInteger(int) - Constructor for class edu.stanford.nlp.util.MutableInteger
 

N

name() - Method in interface edu.stanford.nlp.trees.Dependency
Names the type of dependency (subject, instrument, ...).
name() - Method in class edu.stanford.nlp.trees.UnnamedDependency
 
name - Variable in class edu.stanford.nlp.util.XMLUtils.XMLTag
 
nChooseK(int, int) - Static method in class edu.stanford.nlp.math.SloppyMath
Computes n choose k in an efficient way.
newConstituent(int, int) - Method in interface edu.stanford.nlp.trees.ConstituentFactory
Build a constituent with this start and end.
newConstituent(int, int, Label, double) - Method in interface edu.stanford.nlp.trees.ConstituentFactory
Build a constituent with this start and end.
newConstituent(int, int) - Method in class edu.stanford.nlp.trees.SimpleConstituentFactory
 
newConstituent(int, int, Label, double) - Method in class edu.stanford.nlp.trees.SimpleConstituentFactory
 
newDependency(Label, Label) - Method in interface edu.stanford.nlp.trees.DependencyFactory
 
newDependency(Label, Label, Object) - Method in interface edu.stanford.nlp.trees.DependencyFactory
 
newLabel(String) - Method in class edu.stanford.nlp.ling.CategoryWordTagFactory
Make a new label with this String as the "name".
newLabel(String, int) - Method in class edu.stanford.nlp.ling.CategoryWordTagFactory
Make a new label with this String as the value.
newLabel(String, String, String) - Method in class edu.stanford.nlp.ling.CategoryWordTagFactory
Create a new CategoryWordTag label, where the label is formed from the various String objects passed in.
newLabel(Label) - Method in class edu.stanford.nlp.ling.CategoryWordTagFactory
Create a new CategoryWordTag Label, where the label is formed from the Label object passed in.
newLabel(String) - Method in interface edu.stanford.nlp.ling.LabelFactory
Make a new label with this String as the value.
newLabel(String, int) - Method in interface edu.stanford.nlp.ling.LabelFactory
Make a new label with this String as the value, and the type determined in an implementation-dependent way from the options value.
newLabel(Label) - Method in interface edu.stanford.nlp.ling.LabelFactory
Create a new Label, where the label is formed from the Label object passed in.
newLabel(String) - Method in class edu.stanford.nlp.ling.MapLabelFactory
Make a new label with this String as the value.
newLabel(String, int) - Method in class edu.stanford.nlp.ling.MapLabelFactory
Make a new label with this String as the value.
newLabel(Label) - Method in class edu.stanford.nlp.ling.MapLabelFactory
Create a new MapLabel with the value of oldLabel as its value.
newLabel(String) - Method in class edu.stanford.nlp.ling.StringLabelFactory
Make a new label with this String as the "name".
newLabel(String, int) - Method in class edu.stanford.nlp.ling.StringLabelFactory
Make a new label with this String as the "name".
newLabel(Label) - Method in class edu.stanford.nlp.ling.StringLabelFactory
Create a new StringLabel, where the label is formed from the Label object passed in.
newLabel(String) - Method in class edu.stanford.nlp.ling.TaggedWordFactory
Make a new label with this String as the value (word).
newLabel(String, int) - Method in class edu.stanford.nlp.ling.TaggedWordFactory
Make a new label with this String as a value component.
newLabel(Label) - Method in class edu.stanford.nlp.ling.TaggedWordFactory
Create a new TaggedWord Label, where the label is formed from the Label object passed in.
newLabel(String) - Method in class edu.stanford.nlp.ling.WordFactory
Create a new word, where the label is formed from the String passed in.
newLabel(String, int) - Method in class edu.stanford.nlp.ling.WordFactory
Create a new word, where the label is formed from the String passed in.
newLabel(Label) - Method in class edu.stanford.nlp.ling.WordFactory
Create a new Word Label, where the label is formed from the Label object passed in.
newLabel(String) - Method in class edu.stanford.nlp.ling.WordTagFactory
Make a new label with this String as the value (word).
newLabel(String, int) - Method in class edu.stanford.nlp.ling.WordTagFactory
Make a new label with this String as a value component.
newLabel(Label) - Method in class edu.stanford.nlp.ling.WordTagFactory
Create a new WordTag Label, where the label is formed from the Label object passed in.
newLabelFromString(String) - Method in class edu.stanford.nlp.ling.CategoryWordTagFactory
Make a new label with this String as the "name".
newLabelFromString(String) - Method in interface edu.stanford.nlp.ling.LabelFactory
Make a new label.
newLabelFromString(String) - Method in class edu.stanford.nlp.ling.MapLabelFactory
Make a new label with this String as the value.
newLabelFromString(String) - Method in class edu.stanford.nlp.ling.StringLabelFactory
Make a new label with this String as the "name".
newLabelFromString(String) - Method in class edu.stanford.nlp.ling.TaggedWordFactory
Create a new word, where the label is formed from the String passed in.
newLabelFromString(String) - Method in class edu.stanford.nlp.ling.WordFactory
Create a new word, where the label is formed from the String passed in.
newLabelFromString(String) - Method in class edu.stanford.nlp.ling.WordTagFactory
Create a new word, where the label is formed from the String passed in.
newLeaf(String) - Method in class edu.stanford.nlp.trees.LabeledScoredTreeFactory
 
newLeaf(Label) - Method in class edu.stanford.nlp.trees.LabeledScoredTreeFactory
Create a new leaf node with the given label
newLeaf(String) - Method in class edu.stanford.nlp.trees.SimpleTreeFactory
 
newLeaf(Label) - Method in class edu.stanford.nlp.trees.SimpleTreeFactory
 
newLeaf(String) - Method in interface edu.stanford.nlp.trees.TreeFactory
Create a new tree leaf node, where the label is formed from the String passed in.
newLeaf(Label) - Method in interface edu.stanford.nlp.trees.TreeFactory
Create a new tree leaf node, with the given label.
newLeaf(String) - Method in class edu.stanford.nlp.trees.TreeGraphNodeFactory
 
newLeaf(Label) - Method in class edu.stanford.nlp.trees.TreeGraphNodeFactory
 
newMap() - Method in class edu.stanford.nlp.util.MapFactory.HashMapFactory
 
newMap() - Method in class edu.stanford.nlp.util.MapFactory.IdentityHashMapFactory
 
newMap() - Method in class edu.stanford.nlp.util.MapFactory
 
newMap() - Method in class edu.stanford.nlp.util.MapFactory.TreeMapFactory
 
newMap() - Method in class edu.stanford.nlp.util.MapFactory.WeakHashMapFactory
 
newToken(int) - Static method in class edu.stanford.nlp.trees.tregex.Token
Returns a new Token object, by default.
newTreeNode(String, List) - Method in class edu.stanford.nlp.trees.LabeledScoredTreeFactory
 
newTreeNode(Label, List) - Method in class edu.stanford.nlp.trees.LabeledScoredTreeFactory
Create a new non-leaf tree node with the given label
newTreeNode(String, List) - Method in class edu.stanford.nlp.trees.SimpleTreeFactory
 
newTreeNode(Label, List) - Method in class edu.stanford.nlp.trees.SimpleTreeFactory
 
newTreeNode(String, List) - Method in interface edu.stanford.nlp.trees.TreeFactory
Create a new tree nonleaf node, where the label is formed from the String passed in.
newTreeNode(Label, List) - Method in interface edu.stanford.nlp.trees.TreeFactory
Create a new tree nonleaf node, with the given label.
newTreeNode(String, List) - Method in class edu.stanford.nlp.trees.TreeGraphNodeFactory
 
newTreeNode(Label, List) - Method in class edu.stanford.nlp.trees.TreeGraphNodeFactory
 
newTreeReader(Reader) - Method in class edu.stanford.nlp.trees.LabeledScoredTreeReaderFactory
An implementation of the TreeReaderFactory interface.
newTreeReader(Reader) - Method in class edu.stanford.nlp.trees.SimpleTreeReaderFactory
Returns a new TreeReader.
newTreeReader(Reader) - Method in class edu.stanford.nlp.trees.StringLabeledScoredTreeReaderFactory
An implementation of the TreeReaderFactory interface.
newTreeReader(Reader) - Method in interface edu.stanford.nlp.trees.TreeReaderFactory
Create a new TreeReader using the provided Reader.
newTreeReader(Reader) - Method in class edu.stanford.nlp.trees.WordStemmer
 
next() - Method in class edu.stanford.nlp.process.AbstractTokenizer
Returns the next token from this Tokenizer.
next() - Method in interface edu.stanford.nlp.process.Tokenizer
Returns the next token from this Tokenizer.
next - Variable in class edu.stanford.nlp.trees.tregex.Token
A reference to the next regular (non-special) token from the input stream.
next() - Method in class edu.stanford.nlp.util.BinaryHeapPriorityQueue
 
nextToken - Variable in class edu.stanford.nlp.process.AbstractTokenizer
 
nodePrune - Static variable in class edu.stanford.nlp.parser.lexparser.Test
If true, remove any node which improves the PCFG score.
nodeString() - Method in class edu.stanford.nlp.trees.LabeledScoredTreeNode
 
nodeString() - Method in class edu.stanford.nlp.trees.Tree
 
nonTerminalInfo - Variable in class edu.stanford.nlp.trees.AbstractCollinsHeadFinder
 
noRecoveryTagging - Static variable in class edu.stanford.nlp.parser.lexparser.Test
If false, then failure of the PCFG factor to parse a sentence will trigger parse recovery mode, in which more flexible tagging is allowed.
normalize() - Method in class edu.stanford.nlp.util.Counter
This has been de-deprecated in order to reduce compilation warnings, but really you should create a Distribution instead.
normalizeNonterminal(String) - Method in class edu.stanford.nlp.trees.BobChrisTreeNormalizer
Normalizes a nonterminal contents.
normalizeNonterminal(String) - Method in class edu.stanford.nlp.trees.international.arabic.ArabicTreeNormalizer
 
normalizeNonterminal(String) - Method in class edu.stanford.nlp.trees.TreeNormalizer
Normalizes a nonterminal contents (and maybe intern it).
normalizeTerminal(String) - Method in class edu.stanford.nlp.trees.BobChrisTreeNormalizer
Normalizes a leaf contents.
normalizeTerminal(String) - Method in class edu.stanford.nlp.trees.international.arabic.ArabicTreeNormalizer
Miscellany: Escapes out "/" and "*" tokens (this is ugly, should be fixed!)
normalizeTerminal(String) - Method in class edu.stanford.nlp.trees.TreeNormalizer
Normalizes a leaf contents (and maybe intern it).
normalizeWholeTree(Tree, TreeFactory) - Method in class edu.stanford.nlp.trees.BobChrisTreeNormalizer
Normalize a whole tree -- one can assume that this is the root.
normalizeWholeTree(Tree, TreeFactory) - Method in class edu.stanford.nlp.trees.international.arabic.ArabicTreeNormalizer
 
normalizeWholeTree(Tree, TreeFactory) - Method in class edu.stanford.nlp.trees.NPTmpRetainingTreeNormalizer
Normalize a whole tree -- one can assume that this is the root.
normalizeWholeTree(Tree, TreeFactory) - Method in class edu.stanford.nlp.trees.TreeNormalizer
Normalize a whole tree -- this method assumes that the argument that it is passed is the root of a complete Tree.
notFilter(Filter) - Static method in class edu.stanford.nlp.util.Filters
Filter that does the opposite of given filter (NOT).
NPTmpRetainingTreeNormalizer - Class in edu.stanford.nlp.trees
Same TreeNormalizer as BobChrisTreeNormalizer, but optionally provides four extras.
NPTmpRetainingTreeNormalizer() - Constructor for class edu.stanford.nlp.trees.NPTmpRetainingTreeNormalizer
 
NPTmpRetainingTreeNormalizer(int, boolean) - Constructor for class edu.stanford.nlp.trees.NPTmpRetainingTreeNormalizer
 
NPTmpRetainingTreeNormalizer(int, boolean, boolean, boolean) - Constructor for class edu.stanford.nlp.trees.NPTmpRetainingTreeNormalizer
 
NPTmpRetainingTreeNormalizer(int, boolean, boolean, boolean, HeadFinder) - Constructor for class edu.stanford.nlp.trees.NPTmpRetainingTreeNormalizer
Create a TreeNormalizer that maintains some functional annotations, particularly those involving temporal annotation.
nthIndex(String, char, int) - Static method in class edu.stanford.nlp.util.StringUtils
Returns the index of the nth occurrence of ch in s, or -1 if there are less than n occurrences of ch.
nullTag - Static variable in class edu.stanford.nlp.parser.lexparser.BaseLexicon
 
nullWord - Static variable in class edu.stanford.nlp.parser.lexparser.BaseLexicon
 
NUMBER - Static variable in interface edu.stanford.nlp.trees.tregex.TregexParserConstants
 
number(String, Object) - Static method in class edu.stanford.nlp.util.Numberer
 
number(Object) - Method in class edu.stanford.nlp.util.Numberer
 
Numberer - Class in edu.stanford.nlp.util
Gives unique integer serial numbers to a family of objects, identified by a name space.
Numberer() - Constructor for class edu.stanford.nlp.util.Numberer
 
NumberRangesFileFilter - Class in edu.stanford.nlp.io
Implements a file filter that examines a number in a filename to determine acceptance.
NumberRangesFileFilter(String, boolean) - Constructor for class edu.stanford.nlp.io.NumberRangesFileFilter
Sets up a NumberRangesFileFilter by specifying the ranges of numbers to accept, and whether to also traverse folders for recursive search.
numChildren() - Method in class edu.stanford.nlp.trees.Tree
Says how many children a tree node has in its local tree.

O

object(String, int) - Static method in class edu.stanford.nlp.util.Numberer
 
object(int) - Method in class edu.stanford.nlp.util.Numberer
 
objectEqualityIndexOf(Tree, Tree) - Static method in class edu.stanford.nlp.trees.Trees
Returns the index of daughter in parent by ==.
objects - Variable in class edu.stanford.nlp.util.Index
 
objects() - Method in class edu.stanford.nlp.util.Numberer
 
objectsList() - Method in class edu.stanford.nlp.util.Index
 
oneDimensionalCounterView() - Method in class edu.stanford.nlp.util.GeneralizedCounter
Returns a read-only synchronous view (not a snapshot) of this as a Counter.
oneTailedFishersExact(int, int, int, int) - Static method in class edu.stanford.nlp.math.SloppyMath
Find a one-tailed Fisher's exact probability.
orFilter(Filter, Filter) - Static method in class edu.stanford.nlp.util.Filters
Filter that accepts when either filter accepts (OR).
outputEncoding - Variable in class edu.stanford.nlp.parser.lexparser.AbstractTreebankParserParams
 
outputTreeFormat - Static variable in class edu.stanford.nlp.parser.lexparser.Test
Determines format of output trees: choose among penn, oneline
outputTreeFormatOptions - Static variable in class edu.stanford.nlp.parser.lexparser.Test
 
outputTreeFormats - Static variable in class edu.stanford.nlp.trees.TreePrint
 

P

pad(String, int) - Static method in class edu.stanford.nlp.util.StringUtils
Return a String of length a minimum of totalChars characters by padding the input String str with spaces.
pad(Object, int) - Static method in class edu.stanford.nlp.util.StringUtils
Pads the toString value of the given Object.
Pair<T1,T2> - Class in edu.stanford.nlp.util
Pair: A Class for holding a pair of objects.
Pair() - Constructor for class edu.stanford.nlp.util.Pair
 
Pair(T1, T2) - Constructor for class edu.stanford.nlp.util.Pair
 
parent() - Method in class edu.stanford.nlp.trees.Tree
Return the parent of the tree node.
parent(Tree) - Method in class edu.stanford.nlp.trees.Tree
Return the parent of the tree node.
parent - Variable in class edu.stanford.nlp.trees.TreeGraphNode
Parent of this node.
parent() - Method in class edu.stanford.nlp.trees.TreeGraphNode
Get the parent for the current node.
parseCommandLineArguments(String[]) - Static method in class edu.stanford.nlp.util.StringUtils
A simpler form of command line argument parsing.
ParseException - Exception in edu.stanford.nlp.trees.tregex
This exception is thrown when parse errors are encountered.
ParseException(Token, int[][], String[]) - Constructor for exception edu.stanford.nlp.trees.tregex.ParseException
This constructor is used by the method "generateParseException" in the generated parser.
ParseException() - Constructor for exception edu.stanford.nlp.trees.tregex.ParseException
The following constructors are for use by you for whatever purpose you can think of.
ParseException(String) - Constructor for exception edu.stanford.nlp.trees.tregex.ParseException
 
parseNextWord() - Method in class edu.stanford.nlp.parser.prefixparser.PrefixProbabilityParser
call this method to read in the next word from the input and build the corresponding chart entries
parseSentences(Reader) - Method in class edu.stanford.nlp.parser.prefixparser.PrefixProbabilityParser
Parse a list of pre-tokenized sentences, one per line, from a Reader.
parseTag(String) - Static method in class edu.stanford.nlp.util.XMLUtils
 
parsevalObjectify(Tree, TreeTransformer) - Static method in class edu.stanford.nlp.parser.lexparser.AbstractTreebankParserParams
Takes a Tree and a collinizer and returns a Collection of Constituents for PARSEVAL evaluation.
pattern() - Method in class edu.stanford.nlp.trees.tregex.TreePattern
returns the tree-pattern expression from which the pattern was compiled.
pattern() - Method in class edu.stanford.nlp.trees.tregex.TregexPattern
 
pcfgThreshold - Static variable in class edu.stanford.nlp.parser.lexparser.Test
 
pcfgThresholdValue - Static variable in class edu.stanford.nlp.parser.lexparser.Test
 
peek() - Method in class edu.stanford.nlp.process.AbstractTokenizer
This is an optional operation, by default supported.
peek() - Method in interface edu.stanford.nlp.process.Tokenizer
Returns the next token, without removing it, from the Tokenizer, so that the same token will be again returned on the next call to next() or peek().
pennPrint(PrintWriter) - Method in class edu.stanford.nlp.trees.Tree
Print the tree as done in Penn Treebank merged files.
pennPrint(PrintStream) - Method in class edu.stanford.nlp.trees.Tree
Print the tree as done in Penn Treebank merged files.
pennPrint() - Method in class edu.stanford.nlp.trees.Tree
Print the tree as done in Penn Treebank merged files.
PennTreebankLanguagePack - Class in edu.stanford.nlp.trees
Specifies the treebank/language specific components needed for parsing the English Penn Treebank.
PennTreebankLanguagePack() - Constructor for class edu.stanford.nlp.trees.PennTreebankLanguagePack
Gives a handle to the TreebankLanguagePack
PennTreebankTokenizer - Class in edu.stanford.nlp.trees
Builds a tokenizer for English PennTreebank (release 2) trees.
PennTreebankTokenizer(Reader) - Constructor for class edu.stanford.nlp.trees.PennTreebankTokenizer
 
PennTreeReader - Class in edu.stanford.nlp.trees
A PennTreeReader is a TreeReader that reads in Penn Treebank-style files.
PennTreeReader(Reader) - Constructor for class edu.stanford.nlp.trees.PennTreeReader
Read parse trees from a Reader.
PennTreeReader(Reader, TreeFactory) - Constructor for class edu.stanford.nlp.trees.PennTreeReader
Read parse trees from a Reader.
PennTreeReader(Reader, Tokenizer) - Constructor for class edu.stanford.nlp.trees.PennTreeReader
Read parse trees from a Reader.
PennTreeReader(Reader, TreeFactory, TreeNormalizer) - Constructor for class edu.stanford.nlp.trees.PennTreeReader
Read parse trees from a Reader.
PennTreeReader(Reader, TreeFactory, TreeNormalizer, Tokenizer) - Constructor for class edu.stanford.nlp.trees.PennTreeReader
Read parse trees from a Reader.
percolateHeads(HeadFinder) - Method in class edu.stanford.nlp.trees.Tree
Finds the heads of the tree.
percolateHeads(HeadFinder) - Method in class edu.stanford.nlp.trees.TreeGraphNode
Uses the specified HeadFinder to determine the heads for this node and all its descendants, and to store references to the head word node and head tag node in this node's MapLabel and the MapLabels of all its descendants.
perturbCounts(GenericCounter, Random, double, boolean) - Static method in class edu.stanford.nlp.util.Counters
 
postOperationFix(int, Tree[]) - Method in class edu.stanford.nlp.trees.AbstractCollinsHeadFinder
A way for subclasses to fix any heads under special conditions The default does nothing.
postOperationFix(int, Tree[]) - Method in class edu.stanford.nlp.trees.CollinsHeadFinder
 
powerSet(Set) - Static method in class edu.stanford.nlp.util.Sets
returns the powerset of a set
prefixProbability() - Method in class edu.stanford.nlp.parser.prefixparser.PrefixProbabilityParser
Returns the total probability for prefix parses of the string prefix parsed so far.
PrefixProbabilityParser - Class in edu.stanford.nlp.parser.prefixparser
An implementation of the Stolcke 1995 chart parsing algorithm that calculates the prefix probability of a string S with respect to a probabilistic context-free grammar G.
PrefixProbabilityParserGenerator - Class in edu.stanford.nlp.parser.prefixparser
A class that vends PrefixProbabilityParser instances.
preTag - Static variable in class edu.stanford.nlp.parser.lexparser.Test
Tag the sentences first, then parse given those (coarse) tags.
preTerminalYield() - Method in class edu.stanford.nlp.trees.Tree
Gets the preterminal yield (i.e., tags) of the tree.
preTerminalYield(List) - Method in class edu.stanford.nlp.trees.Tree
Gets the preterminal yield (i.e., tags) of the tree.
prettyPrint(PrintWriter) - Method in class edu.stanford.nlp.trees.tregex.TregexPattern
Print a multi-line respresentation of the pattern illustrating it's syntax.
prettyPrint(PrintStream) - Method in class edu.stanford.nlp.trees.tregex.TregexPattern
Print a multi-line respresentation of the pattern illustrating it's syntax.
prettyPrint() - Method in class edu.stanford.nlp.trees.tregex.TregexPattern
Print a multi-line respresentation of the pattern illustrating it's syntax to System.out.
prettyPrint() - Method in class edu.stanford.nlp.util.GeneralizedCounter
pretty-prints the GeneralizedCounter to System.out.
prettyPrint(PrintWriter) - Method in class edu.stanford.nlp.util.GeneralizedCounter
pretty-prints the GeneralizedCounter, using a buffer increment of two spaces.
prettyPrint(PrintWriter, String) - Method in class edu.stanford.nlp.util.GeneralizedCounter
pretty-prints the GeneralizedCounter.
prevCharIsCR - Static variable in class edu.stanford.nlp.trees.tregex.SimpleCharStream
 
prevCharIsLF - Static variable in class edu.stanford.nlp.trees.tregex.SimpleCharStream
 
previousWord() - Method in class edu.stanford.nlp.parser.prefixparser.PrefixProbabilityParser
returns the previous word parsed.
printAllBestParses - Static variable in class edu.stanford.nlp.parser.lexparser.Test
Print out all best PCFG parses.
printCounterComparison(GenericCounter, GenericCounter) - Static method in class edu.stanford.nlp.util.Counters
Great for debugging.
printCounterComparison(GenericCounter, GenericCounter, PrintStream) - Static method in class edu.stanford.nlp.util.Counters
Great for debugging.
printCounterSortedByKeys(GenericCounter) - Static method in class edu.stanford.nlp.util.Counters
 
printFooter(PrintWriter) - Method in class edu.stanford.nlp.trees.TreePrint
 
printHeader(PrintWriter, String) - Method in class edu.stanford.nlp.trees.TreePrint
 
printLexStats() - Method in class edu.stanford.nlp.parser.lexparser.BaseLexicon
 
printLocalTree() - Method in class edu.stanford.nlp.trees.Tree
 
printLocalTree(PrintWriter) - Method in class edu.stanford.nlp.trees.Tree
 
printStringOneCharPerLine(String) - Static method in class edu.stanford.nlp.util.StringUtils
 
printToFile(File, String, boolean) - Static method in class edu.stanford.nlp.util.StringUtils
Prints to a file.
printToFile(File, String) - Static method in class edu.stanford.nlp.util.StringUtils
Prints to a file.
printToFile(String, String, boolean) - Static method in class edu.stanford.nlp.util.StringUtils
Prints to a file.
printToFile(String, String) - Static method in class edu.stanford.nlp.util.StringUtils
Prints to a file.
printTree(Tree) - Method in class edu.stanford.nlp.trees.TreePrint
Prints the tree to the default PrintWriter.
printTree(Tree, PrintWriter) - Method in class edu.stanford.nlp.trees.TreePrint
Prints the tree, with an empty ID.
printTree(Tree, String, PrintWriter) - Method in class edu.stanford.nlp.trees.TreePrint
Prints the tree.
printTypedDependencies() - Method in class edu.stanford.nlp.trees.GrammaticalStructure
Prints the result of typedDependenciesToString() to stdout.
printTypedDependencies(PrintWriter) - Method in class edu.stanford.nlp.trees.GrammaticalStructure
Prints the result of typedDependenciesToString() to the specified PrintWriter.
printTypedDependencies(String) - Method in class edu.stanford.nlp.trees.GrammaticalStructure
Prints the result of typedDependenciesToString(format) to stdout.
printTypedDependencies(String, PrintWriter) - Method in class edu.stanford.nlp.trees.GrammaticalStructure
Prints the result of typedDependenciesToString(format) to the specified PrintWriter.
printWordTag - Static variable in class edu.stanford.nlp.ling.CategoryWordTag
If this is false, the tag and word are never printed in toString() calls.
PriorityQueue - Interface in edu.stanford.nlp.util
Created by IntelliJ IDEA.
probabilityOf(Object) - Method in class edu.stanford.nlp.util.Distribution
Returns the normalized count of the given object.
processFile(File) - Method in class edu.stanford.nlp.trees.MemoryTreebank
Load a collection of parse trees from the file of given name.
processFile(File) - Method in interface edu.stanford.nlp.util.FileProcessor
Apply this predicate to a File.
processPath(String, String, boolean, FileProcessor) - Static method in class edu.stanford.nlp.util.FilePathProcessor
Apply a method to the files under a given directory and perhaps its subdirectories.
processPath(File, String, boolean, FileProcessor) - Static method in class edu.stanford.nlp.util.FilePathProcessor
Apply a method to the files under a given directory and perhaps its subdirectories.
processPath(File, FileFilter, FileProcessor) - Static method in class edu.stanford.nlp.util.FilePathProcessor
Apply a function to the files under a given directory and perhaps its subdirectories.
product(GenericCounter, GenericCounter) - Static method in class edu.stanford.nlp.util.Counters
Returns the product of c1 and c2.
prune(Filter) - Method in class edu.stanford.nlp.trees.Tree
Creates a deep copy of the tree, where all nodes that the filter does not accept and all children of such nodes are pruned.
prune(Filter, TreeFactory) - Method in class edu.stanford.nlp.trees.Tree
Creates a deep copy of the tree, where all nodes that the filter does not accept and all children of such nodes are pruned.
prunePunc - Static variable in class edu.stanford.nlp.parser.lexparser.Test
 
ptb2Text(String) - Static method in class edu.stanford.nlp.process.PTBTokenizer
Returns a presentable version of the given PTB-tokenized text.
ptb2Text(List) - Static method in class edu.stanford.nlp.process.PTBTokenizer
Returns a presentable version of the given PTB-tokenized words.
PTBTokenizer - Class in edu.stanford.nlp.process
Tokenizer implementation that conforms to the Penn Treebank tokenization conventions.
PTBTokenizer(Reader) - Constructor for class edu.stanford.nlp.process.PTBTokenizer
Constructs a new PTBTokenizer that treats carriage returns as normal whitespace.
PTBTokenizer(Reader, boolean) - Constructor for class edu.stanford.nlp.process.PTBTokenizer
Constructs a new PTBTokenizer that optionally returns carriage returns as their own token.
PTBTokenizer.PTBTokenizerFactory - Class in edu.stanford.nlp.process
 
PTBTokenizer.PTBTokenizerFactory() - Constructor for class edu.stanford.nlp.process.PTBTokenizer.PTBTokenizerFactory
Constructs a new PTBTokenizerFactory that treats carriage returns as normal whitespace.
PTBTokenizer.PTBTokenizerFactory(boolean) - Constructor for class edu.stanford.nlp.process.PTBTokenizer.PTBTokenizerFactory
Constructs a new PTBTokenizer that optionally returns carriage returns as their own token.
punctuationTagAcceptFilter() - Method in class edu.stanford.nlp.trees.AbstractTreebankLanguagePack
Return a filter that accepts a String that is a punctuation tag name, and rejects everything else.
punctuationTagAcceptFilter() - Method in interface edu.stanford.nlp.trees.TreebankLanguagePack
Return a filter that accepts a String that is a punctuation tag name, and rejects everything else.
punctuationTagRejectFilter() - Method in class edu.stanford.nlp.trees.AbstractTreebankLanguagePack
Return a filter that rejects a String that is a punctuation tag name, and rejects everything else.
punctuationTagRejectFilter() - Method in interface edu.stanford.nlp.trees.TreebankLanguagePack
Return a filter that rejects a String that is a punctuation tag name, and rejects everything else.
punctuationTags() - Method in class edu.stanford.nlp.trees.AbstractTreebankLanguagePack
Returns a String array of punctuation tags for this treebank/language.
punctuationTags() - Method in class edu.stanford.nlp.trees.international.arabic.ArabicTreebankLanguagePack
Returns a String array of punctuation tags for this treebank/language.
punctuationTags() - Method in class edu.stanford.nlp.trees.PennTreebankLanguagePack
Returns a String array of punctuation tags for this treebank/language.
punctuationTags() - Method in interface edu.stanford.nlp.trees.TreebankLanguagePack
Returns a String array of punctuation tags for this treebank/language.
punctuationWordAcceptFilter() - Method in class edu.stanford.nlp.trees.AbstractTreebankLanguagePack
Returns a filter that accepts a String that is a punctuation word, and rejects everything else.
punctuationWordAcceptFilter() - Method in interface edu.stanford.nlp.trees.TreebankLanguagePack
Returns a filter that accepts a String that is a punctuation word, and rejects everything else.
punctuationWordRejectFilter() - Method in class edu.stanford.nlp.trees.AbstractTreebankLanguagePack
Returns a filter that accepts a String that is not a punctuation word, and rejects punctuation.
punctuationWordRejectFilter() - Method in interface edu.stanford.nlp.trees.TreebankLanguagePack
Returns a filter that accepts a String that is not a punctuation word, and rejects punctuation.
punctuationWords() - Method in class edu.stanford.nlp.trees.AbstractTreebankLanguagePack
Returns a String array of punctuation words for this treebank/language.
punctuationWords() - Method in class edu.stanford.nlp.trees.international.arabic.ArabicTreebankLanguagePack
Returns a String array of punctuation words for this treebank/language.
punctuationWords() - Method in class edu.stanford.nlp.trees.PennTreebankLanguagePack
Returns a String array of punctuation words for this treebank/language.
punctuationWords() - Method in interface edu.stanford.nlp.trees.TreebankLanguagePack
Returns a String array of punctuation words for this treebank/language.
put(Object, Object) - Method in class edu.stanford.nlp.ling.MapLabel
Associates the specified value with the specified key in the map contained in this label.
pw() - Method in class edu.stanford.nlp.parser.lexparser.AbstractTreebankParserParams
The PrintWriter used to print output.
pw(OutputStream) - Method in class edu.stanford.nlp.parser.lexparser.AbstractTreebankParserParams
The PrintWriter used to print output.
pw(OutputStream) - Method in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams
The PrintWriter used to print output to OutputStream o.
pw() - Method in interface edu.stanford.nlp.parser.lexparser.TreebankLangParserParams
returns a PrintWriter used to print output.
pw(OutputStream) - Method in interface edu.stanford.nlp.parser.lexparser.TreebankLangParserParams
returns a PrintWriter used to print output to the OutputStream o.

R

read(DataInputStream) - Method in class edu.stanford.nlp.ling.WordTag
 
readAndParseTag(Reader) - Static method in class edu.stanford.nlp.util.XMLUtils
 
readChar() - Static method in class edu.stanford.nlp.trees.tregex.SimpleCharStream
 
readData(BufferedReader) - Method in class edu.stanford.nlp.parser.lexparser.BaseLexicon
Populates data in this Lexicon from the character stream given by the Reader r.
readData(BufferedReader) - Method in interface edu.stanford.nlp.parser.lexparser.Lexicon
Read the lexicon from the BufferedReader in the format written by writeData (an optional operation)
readStringPair(DataInputStream) - Static method in class edu.stanford.nlp.util.Pair
Read a string representation of a Pair from a DataStream.
readTag(Reader) - Static method in class edu.stanford.nlp.util.XMLUtils
Reads all text of the XML tag and returns it as a String.
readTree() - Method in class edu.stanford.nlp.trees.PennTreeReader
Reads a single tree in standard Penn Treebank format, with or without an additional set of parens around it (an unnamed ROOT node).
readTree() - Method in interface edu.stanford.nlp.trees.TreeReader
Reads a single tree.
readUntilTag(Reader) - Static method in class edu.stanford.nlp.util.XMLUtils
Reads all text up to next XML tag and returns it as a String.
readUntilTag(Reader, boolean) - Static method in class edu.stanford.nlp.util.XMLUtils
Reads all text up to next XML tag and returns it as a String.
REGEX - Static variable in interface edu.stanford.nlp.trees.tregex.TregexParserConstants
 
ReInit(Reader, int, int, int) - Method in class edu.stanford.nlp.trees.tregex.SimpleCharStream
 
ReInit(Reader, int, int) - Method in class edu.stanford.nlp.trees.tregex.SimpleCharStream
 
ReInit(Reader) - Method in class edu.stanford.nlp.trees.tregex.SimpleCharStream
 
ReInit(InputStream, int, int, int) - Method in class edu.stanford.nlp.trees.tregex.SimpleCharStream
 
ReInit(InputStream) - Method in class edu.stanford.nlp.trees.tregex.SimpleCharStream
 
ReInit(InputStream, int, int) - Method in class edu.stanford.nlp.trees.tregex.SimpleCharStream
 
ReInit(SimpleCharStream) - Static method in class edu.stanford.nlp.trees.tregex.TregexParserTokenManager
 
ReInit(SimpleCharStream, int) - Static method in class edu.stanford.nlp.trees.tregex.TregexParserTokenManager
 
rejectFilter() - Static method in class edu.stanford.nlp.util.Filters
The rejectFilter accepts nothing.
REL_W_STR_ARG - Static variable in interface edu.stanford.nlp.trees.tregex.TregexParserConstants
 
RELATION - Static variable in interface edu.stanford.nlp.trees.tregex.TregexParserConstants
 
relaxPriority(Object, double) - Method in class edu.stanford.nlp.util.BinaryHeapPriorityQueue
Promotes a key in the queue, adding it if it wasn't there already.
relaxPriority(Object, double) - Method in interface edu.stanford.nlp.util.PriorityQueue
Increases the priority of the Object key to the new priority if the old priority was lower than the new priority.
remove() - Method in class edu.stanford.nlp.process.AbstractTokenizer
This is an optional operation, by default not supported.
remove() - Method in interface edu.stanford.nlp.process.Tokenizer
Removes from the underlying collection the last element returned by the iterator.
remove(int) - Method in class edu.stanford.nlp.trees.MemoryTreebank
 
remove(Object) - Method in class edu.stanford.nlp.trees.Treebank
This operation isn't supported for a Treebank.
remove() - Method in class edu.stanford.nlp.util.BinaryHeapPriorityQueue
 
remove(Object) - Method in class edu.stanford.nlp.util.BinaryHeapPriorityQueue
 
remove(E) - Method in class edu.stanford.nlp.util.Counter
Removes the given key from this Counter.
remove(Object) - Method in class edu.stanford.nlp.util.IntCounter
Removes the given key from this Counter.
removeAll(Collection<E>) - Method in class edu.stanford.nlp.util.Counter
Removes all the given keys from this Counter.
removeAll(Collection) - Method in class edu.stanford.nlp.util.IntCounter
Removes all the given keys from this Counter.
removeChild(int) - Method in class edu.stanford.nlp.trees.Tree
destructively removes the child at some daughter index and returns it.
removeFirst() - Method in class edu.stanford.nlp.util.BinaryHeapPriorityQueue
Finds the object with the highest priority, removes it, and returns it.
removeFirst() - Method in interface edu.stanford.nlp.util.PriorityQueue
Finds the object with the highest priority, removes it, and returns it.
removeZeroCounts() - Method in class edu.stanford.nlp.util.Counter
Removes all keys whose count is 0.
removeZeroCounts() - Method in class edu.stanford.nlp.util.IntCounter
Removes all keys whose count is 0.
report() - Method in class edu.stanford.nlp.util.Timing
Return elapsed time (without stopping timer).
report(String, PrintStream) - Method in class edu.stanford.nlp.util.Timing
Print elapsed time (without stopping timer).
report(String) - Method in class edu.stanford.nlp.util.Timing
Print elapsed time to System.err (without stopping timer).
report(String, PrintWriter) - Method in class edu.stanford.nlp.util.Timing
Print elapsed time (without stopping timer).
reset() - Method in class edu.stanford.nlp.trees.tregex.TreeMatcher
Resets the TreeMatcher.
reset(Tree) - Method in class edu.stanford.nlp.trees.tregex.TreePattern
 
reset() - Method in class edu.stanford.nlp.trees.tregex.TregexMatcher
Resets the matcher so that its search starts over.
restart() - Method in class edu.stanford.nlp.util.Timing
Restart timer.
restart(String, PrintStream) - Method in class edu.stanford.nlp.util.Timing
Print elapsed time and restart timer.
restart(String) - Method in class edu.stanford.nlp.util.Timing
Print elapsed time to System.err and restart timer.
restart(String, PrintWriter) - Method in class edu.stanford.nlp.util.Timing
Print elapsed time and restart timer.
retainADVSubcategories - Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTest
 
retainAll(Collection, Filter) - Static method in class edu.stanford.nlp.util.Filters
Removes all elems in the given Collection that aren't accepted by the given Filter.
retainNPTMPSubcategories - Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTest
 
retainTMPSubcategories - Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTest
 
returnMatch() - Method in class edu.stanford.nlp.trees.tregex.TreePattern
 
reverseKeys() - Method in class edu.stanford.nlp.util.GeneralizedCounter
 
rightCharEdge(Tree) - Method in class edu.stanford.nlp.trees.Tree
Returns the positional index of the right edge of node within the tree, as measured by characters.
rightEdge(Tree, Tree) - Static method in class edu.stanford.nlp.trees.Trees
Returns the positional index of the right edge of a tree t within a given root, as defined by the size of the yield of all material preceding t plus all the material contained in t.
rightPhrasal - Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTrain
Right edge has a phrasal node.
root - Variable in class edu.stanford.nlp.trees.TreeGraph
The root node of this treegraph.
root() - Method in class edu.stanford.nlp.trees.TreeGraph
Return the root node of this treegraph.
ruleIteratorByWord(int, int) - Method in class edu.stanford.nlp.parser.lexparser.BaseLexicon
 
ruleIteratorByWord(int, int) - Method in interface edu.stanford.nlp.parser.lexparser.Lexicon
Get an iterator over all rules with this word and loc
rules - Variable in class edu.stanford.nlp.parser.lexparser.BaseLexicon
 
rulesWithWord - Variable in class edu.stanford.nlp.parser.lexparser.BaseLexicon
 

S

sampleFrom() - Method in class edu.stanford.nlp.util.Distribution
Returns an object sampled from the distribution.
save(DataOutputStream) - Method in class edu.stanford.nlp.ling.WordTag
 
save(DataOutputStream) - Method in class edu.stanford.nlp.util.Pair
Write a string representation of a Pair from a DataStream.
saveCounter(GenericCounter, String) - Static method in class edu.stanford.nlp.util.Counters
Saves a Counter to a text file.
scale(GenericCounter, double) - Static method in class edu.stanford.nlp.util.Counters
Scales each element in the Counter by the given scale factor.
score(IntTaggedWord, int) - Method in class edu.stanford.nlp.parser.lexparser.BaseLexicon
 
score(IntTaggedWord, int) - Method in interface edu.stanford.nlp.parser.lexparser.Lexicon
Get the score of this word with this tag (as an IntTaggedWord) at this loc (Presumably estimate of P(word | tag))
score() - Method in class edu.stanford.nlp.trees.Constituent
access score
score() - Method in class edu.stanford.nlp.trees.LabeledScoredTreeLeaf
Returns the node's score.
score() - Method in class edu.stanford.nlp.trees.LabeledScoredTreeNode
Returns the score associated with the current node, or Nan if there is no score
score() - Method in class edu.stanford.nlp.trees.Tree
Returns the score associated with the current node, or NaN if there is no score.
score() - Method in interface edu.stanford.nlp.util.Scored
 
Scored - Interface in edu.stanford.nlp.util
Scored: This is a simple interface that says that an object can answer requests for the score, or goodness of the object.
second - Variable in class edu.stanford.nlp.util.Pair
Direct access is deprecated.
second() - Method in class edu.stanford.nlp.util.Pair
 
second - Variable in class edu.stanford.nlp.util.Triple
 
second() - Method in class edu.stanford.nlp.util.Triple
 
seenCounter - Variable in class edu.stanford.nlp.parser.lexparser.BaseLexicon
 
SEMANTIC_HEAD_POS_KEY - Static variable in class edu.stanford.nlp.ling.MapLabel
The standard key for Semantic Head Word POS which is a String
SEMANTIC_HEAD_WORD_KEY - Static variable in class edu.stanford.nlp.ling.MapLabel
The standard key for Semantic Head Word which is a String
SemanticHeadFinder - Class in edu.stanford.nlp.trees
Implements a 'semantic head' variant of the the HeadFinder found in Michael Collins' 1999 thesis.
SemanticHeadFinder() - Constructor for class edu.stanford.nlp.trees.SemanticHeadFinder
 
SemanticHeadFinder(TreebankLanguagePack) - Constructor for class edu.stanford.nlp.trees.SemanticHeadFinder
 
Sentence - Class in edu.stanford.nlp.ling
Sentence holds a single sentence, and mediating between word numbers and words.
Sentence() - Constructor for class edu.stanford.nlp.ling.Sentence
Constructs an empty sentence.
Sentence(Collection) - Constructor for class edu.stanford.nlp.ling.Sentence
Constructs a sentence from the input Collection.
Sentence(List, List) - Constructor for class edu.stanford.nlp.ling.Sentence
Create a Sentence as a list of TaggedWord from two lists of String, one for the words, and the second for the tags.
sentenceFinalPunctuationTagAcceptFilter() - Method in class edu.stanford.nlp.trees.AbstractTreebankLanguagePack
Returns a filter that accepts a String that is a sentence end punctuation tag, and rejects everything else.
sentenceFinalPunctuationTagAcceptFilter() - Method in interface edu.stanford.nlp.trees.TreebankLanguagePack
Returns a filter that accepts a String that is a sentence end punctuation tag, and rejects everything else.
sentenceFinalPunctuationTags() - Method in class edu.stanford.nlp.trees.AbstractTreebankLanguagePack
Returns a String array of sentence final punctuation tags for this treebank/language.
sentenceFinalPunctuationTags() - Method in class edu.stanford.nlp.trees.international.arabic.ArabicTreebankLanguagePack
Returns a String array of sentence final punctuation tags for this treebank/language.
sentenceFinalPunctuationTags() - Method in class edu.stanford.nlp.trees.PennTreebankLanguagePack
Returns a String array of sentence final punctuation tags for this treebank/language.
sentenceFinalPunctuationTags() - Method in interface edu.stanford.nlp.trees.TreebankLanguagePack
Returns a String array of sentence final punctuation tags for this treebank/language.
sentenceFinalPunctuationWords() - Method in class edu.stanford.nlp.trees.international.arabic.ArabicTreebankLanguagePack
Returns a String array of sentence final punctuation words for this treebank/language.
sentenceFinalPunctuationWords() - Method in class edu.stanford.nlp.trees.PennTreebankLanguagePack
Returns a String array of sentence final punctuation words for this treebank/language.
sentenceFinalPunctuationWords() - Method in interface edu.stanford.nlp.trees.TreebankLanguagePack
Returns a String array of sentence final punctuation words for this treebank/language.
serializeReadable(String) - Method in class edu.stanford.nlp.util.Index
 
set(int, Tree) - Method in class edu.stanford.nlp.trees.MemoryTreebank
 
set(int, double) - Method in class edu.stanford.nlp.util.DoubleList
sets the index-th element of the list to d, and returns the old value of the index-th element.
set(double) - Method in class edu.stanford.nlp.util.MutableDouble
 
set(int) - Method in class edu.stanford.nlp.util.MutableInteger
 
setCategory(String) - Method in class edu.stanford.nlp.ling.CategoryWordTag
 
setCategory(String) - Method in interface edu.stanford.nlp.ling.HasCategory
Set the category value for the label (if one is stored).
setCategory(String) - Method in class edu.stanford.nlp.ling.MapLabel
Set the category for the label by storing it in the map under the key CATEGORY_KEY.
setCategoryWordTag(String, String, String) - Method in class edu.stanford.nlp.ling.CategoryWordTag
 
setChildren(Tree[]) - Method in class edu.stanford.nlp.trees.LabeledScoredTreeLeaf
Leaves have no children.
setChildren(Tree[]) - Method in class edu.stanford.nlp.trees.LabeledScoredTreeNode
Sets the children of this Tree.
setChildren(Tree[]) - Method in class edu.stanford.nlp.trees.SimpleTree
Sets the children of this Tree.
setChildren(Tree[]) - Method in class edu.stanford.nlp.trees.Tree
Set the children of this node to be the children given in the array.
setChildren(List) - Method in class edu.stanford.nlp.trees.Tree
Set the children of this tree node to the given list.
setChildren(Tree[]) - Method in class edu.stanford.nlp.trees.TreeGraphNode
Sets the children of this TreeGraphNode.
setCount(E, double) - Method in class edu.stanford.nlp.util.Counter
Sets the current count for the given key.
setCount(E, String) - Method in class edu.stanford.nlp.util.Counter
 
setCount(E, String) - Method in interface edu.stanford.nlp.util.GenericCounter
Sets the count for this key to be the number encoded in the given String.
setCount(Object, int) - Method in class edu.stanford.nlp.util.IntCounter
Sets the current count for the given key.
setCount(Object, String) - Method in class edu.stanford.nlp.util.IntCounter
 
setCounts(Collection<E>, double) - Method in class edu.stanford.nlp.util.Counter
Sets the current count for each of the given keys.
setCounts(Collection, int) - Method in class edu.stanford.nlp.util.IntCounter
Sets the current count for each of the given keys.
setCurrentResult(TreePatternReturnValue) - Method in class edu.stanford.nlp.trees.tregex.TreePattern
 
setDebugStream(PrintStream) - Static method in class edu.stanford.nlp.trees.tregex.TregexParserTokenManager
 
setDivider(String) - Static method in class edu.stanford.nlp.ling.TaggedWord
Set the String (usually just a single character) used to mark the separation between the word and the tag.
setDivider(String) - Static method in class edu.stanford.nlp.ling.WordTag
Set the String (usually just a single character) used to mark the separation between the word and the tag.
setEnd(int) - Method in class edu.stanford.nlp.trees.Constituent
set end node.
setEnd(int) - Method in class edu.stanford.nlp.trees.SimpleConstituent
set end node.
setEolString(String) - Method in class edu.stanford.nlp.process.TokenizerAdapter
Set the String returned when the inner tokenizer returns an end-of-line token.
setFirst(T1) - Method in class edu.stanford.nlp.util.Pair
 
setFirst(T1) - Method in class edu.stanford.nlp.util.Triple
 
setFromString(String) - Method in class edu.stanford.nlp.ling.AbstractLabel
 
setFromString(String) - Method in class edu.stanford.nlp.ling.CategoryWordTag
Set everything by reversing a toString operation.
setFromString(String) - Method in interface edu.stanford.nlp.ling.Label
Set the contents of this label to this String representing the complete contents of the label.
setFromString(String) - Method in class edu.stanford.nlp.ling.MapLabel
Set value for the label from a String by storing it in the map under the key CATEGORY_KEY.
setFromString(String) - Method in class edu.stanford.nlp.ling.StringLabel
Set the label from a String.
setFromString(String) - Method in class edu.stanford.nlp.ling.TaggedWord
Sets a TaggedWord from decoding the String passed in.
setFromString(String) - Method in class edu.stanford.nlp.ling.WordTag
Sets a TaggedWord from decoding the String passed in.
setFromString(String) - Method in class edu.stanford.nlp.trees.Constituent
Make a new label with this String as the "name", perhaps by doing some appropriate decoding of the string.
setFromString(String) - Method in class edu.stanford.nlp.trees.LabeledConstituent
 
setFromString(String) - Method in class edu.stanford.nlp.trees.Tree
 
setGlobal(Interner) - Static method in class edu.stanford.nlp.util.Interner
For supplying a new instance for the global methods to use.
setHeadFinder(HeadFinder) - Method in class edu.stanford.nlp.trees.TreePrint
Set the headfinder to be used for lexicalizing trees.
setIndex(int) - Method in class edu.stanford.nlp.ling.MapLabel
Set the index for the label by storing it in the contained map under the key INDEX_KEY.
setIndex(int) - Method in class edu.stanford.nlp.trees.TreeGraphNode
Set the index for the current node.
setInputEncoding(String) - Method in class edu.stanford.nlp.parser.lexparser.AbstractTreebankParserParams
Sets the input encoding.
setInputEncoding(String) - Method in interface edu.stanford.nlp.parser.lexparser.TreebankLangParserParams
 
setLabel(Label) - Method in class edu.stanford.nlp.trees.Constituent
Sets the label associated with the current Constituent, if there is one.
setLabel(Label) - Method in interface edu.stanford.nlp.trees.Labeled
Sets the label associated with this object.
setLabel(Label) - Method in class edu.stanford.nlp.trees.LabeledConstituent
 
setLabel(Label) - Method in class edu.stanford.nlp.trees.LabeledScoredTreeLeaf
Sets the label associated with the current node, if there is one.
setLabel(Label) - Method in class edu.stanford.nlp.trees.LabeledScoredTreeNode
Sets the label associated with the current node, if there is one.
setLabel(Label) - Method in class edu.stanford.nlp.trees.Tree
Sets the label associated with the current node, if there is one.
setLabel(MapLabel) - Method in class edu.stanford.nlp.trees.TreeGraphNode
Sets the label associated with the current node.
setLabels(Collection) - Method in class edu.stanford.nlp.trees.Constituent
 
setLabels(Collection) - Method in interface edu.stanford.nlp.trees.Labeled
Sets the labels associated with this object.
setLabels(Collection) - Method in class edu.stanford.nlp.trees.Tree
 
setMap(Map) - Method in class edu.stanford.nlp.ling.MapLabel
Set the Map contained in this label to the supplied Map.
setMap(Map<K1, V1>) - Method in class edu.stanford.nlp.util.MapFactory.HashMapFactory
 
setMap(Map<K1, V1>) - Method in class edu.stanford.nlp.util.MapFactory.IdentityHashMapFactory
 
setMap(Map<K1, V1>) - Method in class edu.stanford.nlp.util.MapFactory
 
setMap(Map<K1, V1>) - Method in class edu.stanford.nlp.util.MapFactory.TreeMapFactory
 
setMap(Map<K1, V1>) - Method in class edu.stanford.nlp.util.MapFactory.WeakHashMapFactory
 
setNumberers(Map) - Static method in class edu.stanford.nlp.util.Numberer
 
setOptionFlag(String[], int) - Method in class edu.stanford.nlp.parser.lexparser.AbstractTreebankParserParams
Set language-specific options according to flags.
setOptionFlag(String[], int) - Method in class edu.stanford.nlp.parser.lexparser.ArabicTreebankParserParams
Some options for setOptionFlag:
setOptionFlag(String[], int) - Method in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams
Set language-specific options according to flags.
setOptionFlag(String[], int) - Method in interface edu.stanford.nlp.parser.lexparser.TreebankLangParserParams
Set a language-specific option according to command-line flags.
setOutputEncoding(String) - Method in class edu.stanford.nlp.parser.lexparser.AbstractTreebankParserParams
Sets the output encoding.
setOutputEncoding(String) - Method in interface edu.stanford.nlp.parser.lexparser.TreebankLangParserParams
 
setParent(TreeGraphNode) - Method in class edu.stanford.nlp.trees.TreeGraphNode
Set the parent for the current node.
setPatternString(String) - Method in class edu.stanford.nlp.trees.tregex.TregexPattern
 
setPrintWriter(PrintWriter) - Method in class edu.stanford.nlp.trees.TreePrint
Sets the default print writer for printing trees with the instance.
Sets - Class in edu.stanford.nlp.util
Utilities for sets
setScore(double) - Method in class edu.stanford.nlp.trees.Constituent
Sets the score associated with the current node, if there is one
setScore(double) - Method in class edu.stanford.nlp.trees.LabeledScoredTreeLeaf
Sets the score associated with the current node, if there is one.
setScore(double) - Method in class edu.stanford.nlp.trees.LabeledScoredTreeNode
Sets the score associated with the current node, if there is one
setScore(double) - Method in class edu.stanford.nlp.trees.Tree
Sets the score associated with the current node, if there is one.
setSecond(T2) - Method in class edu.stanford.nlp.util.Pair
 
setSecond(T2) - Method in class edu.stanford.nlp.util.Triple
 
setSemanticTag(String) - Method in class edu.stanford.nlp.ling.MapLabel
Set the semantic head pos of the phrase
setSemanticWord(String) - Method in class edu.stanford.nlp.ling.MapLabel
Set the semantic head of the phrase
setSource(Reader) - Method in class edu.stanford.nlp.process.PTBTokenizer
Sets the source of this Tokenizer to be the Reader r.
setStart(int) - Method in class edu.stanford.nlp.trees.Constituent
set start node.
setStart(int) - Method in class edu.stanford.nlp.trees.SimpleConstituent
set start node.
setStaticCapitalizeTimex(boolean) - Method in class edu.stanford.nlp.process.Americanize
 
setStem(boolean) - Method in class edu.stanford.nlp.trees.TreePrint
Sets whether or not to stem the Trees using Morphology.
setStem(boolean, String) - Method in class edu.stanford.nlp.trees.TreePrint
Sets whether or not to stem the Trees using Morphology.
setTag(String) - Method in class edu.stanford.nlp.ling.CategoryWordTag
 
setTag(String) - Method in interface edu.stanford.nlp.ling.HasTag
Set the tag value for the label (if one is stored).
setTag(String) - Method in class edu.stanford.nlp.ling.MapLabel
Set the head tag for the label by storing it in the map under the key HEAD_TAG_KEY.
setTag(String) - Method in class edu.stanford.nlp.ling.Tag
 
setTag(String) - Method in class edu.stanford.nlp.ling.TaggedWord
 
setTag(String) - Method in class edu.stanford.nlp.ling.WordTag
 
setThird(T3) - Method in class edu.stanford.nlp.util.Triple
 
setTreeGraph(TreeGraph) - Method in class edu.stanford.nlp.trees.TreeGraphNode
Set pointer to the TreeGraph of which this node is a part.
setValue(String) - Method in class edu.stanford.nlp.ling.AbstractLabel
Set the value for the label (if one is stored).
setValue(String) - Method in interface edu.stanford.nlp.ling.Label
Set the value for the label (if one is stored).
setValue(String) - Method in class edu.stanford.nlp.ling.MapLabel
Set the value for the label by storing it in the map under the key CATEGORY_KEY.
setValue(String) - Method in class edu.stanford.nlp.ling.StringLabel
Set the value for the label.
setValue(String) - Method in class edu.stanford.nlp.ling.WordTag
Set the value for the label (if one is stored).
setValue(String) - Method in class edu.stanford.nlp.trees.Constituent
Set the value for the label (if one is stored).
setValue(String) - Method in class edu.stanford.nlp.trees.Tree
 
setWord(String) - Method in class edu.stanford.nlp.ling.CategoryWordTag
 
setWord(String) - Method in interface edu.stanford.nlp.ling.HasWord
Set the word value for the label (if one is stored).
setWord(String) - Method in class edu.stanford.nlp.ling.MapLabel
Set the head word for the label by storing it in the map under the key HEAD_WORD_KEY.
setWord(String) - Method in class edu.stanford.nlp.ling.Word
 
setWord(String) - Method in class edu.stanford.nlp.ling.WordTag
 
setWords(Collection) - Method in class edu.stanford.nlp.ling.Sentence
Set the Sentence to this Collection of Word's.
shortValue() - Method in class edu.stanford.nlp.util.MutableDouble
 
shortValue() - Method in class edu.stanford.nlp.util.MutableInteger
 
sigs - Variable in class edu.stanford.nlp.parser.lexparser.BaseLexicon
 
SimpleCharStream - Class in edu.stanford.nlp.trees.tregex
An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (without unicode processing).
SimpleCharStream(Reader, int, int, int) - Constructor for class edu.stanford.nlp.trees.tregex.SimpleCharStream
 
SimpleCharStream(Reader, int, int) - Constructor for class edu.stanford.nlp.trees.tregex.SimpleCharStream
 
SimpleCharStream(Reader) - Constructor for class edu.stanford.nlp.trees.tregex.SimpleCharStream
 
SimpleCharStream(InputStream, int, int, int) - Constructor for class edu.stanford.nlp.trees.tregex.SimpleCharStream
 
SimpleCharStream(InputStream, int, int) - Constructor for class edu.stanford.nlp.trees.tregex.SimpleCharStream
 
SimpleCharStream(InputStream) - Constructor for class edu.stanford.nlp.trees.tregex.SimpleCharStream
 
SimpleConstituent - Class in edu.stanford.nlp.trees
A SimpleConstituent object defines a generic edge in a graph.
SimpleConstituent() - Constructor for class edu.stanford.nlp.trees.SimpleConstituent
Create an empty SimpleConstituent object.
SimpleConstituent(int, int) - Constructor for class edu.stanford.nlp.trees.SimpleConstituent
Create a SimpleConstituent object with given values.
SimpleConstituentFactory - Class in edu.stanford.nlp.trees
A ConstituentFactory acts as a factory for creating objects of class Constituent, or some descendent class.
SimpleConstituentFactory() - Constructor for class edu.stanford.nlp.trees.SimpleConstituentFactory
 
SimpleTree - Class in edu.stanford.nlp.trees
A SimpleTree is a minimal concrete implementation of an unlabeled, unscored Tree.
SimpleTree() - Constructor for class edu.stanford.nlp.trees.SimpleTree
Create an empty parse tree.
SimpleTree(Label) - Constructor for class edu.stanford.nlp.trees.SimpleTree
Create parse tree with given root and null daughters.
SimpleTree(Label, List) - Constructor for class edu.stanford.nlp.trees.SimpleTree
Create parse tree with given root and array of daughter trees.
SimpleTreeFactory - Class in edu.stanford.nlp.trees
A SimpleTreeFactory acts as a factory for creating objects of class SimpleTree.
SimpleTreeFactory() - Constructor for class edu.stanford.nlp.trees.SimpleTreeFactory
Creates a new TreeFactory.
SimpleTreeFactory(LabelFactory) - Constructor for class edu.stanford.nlp.trees.SimpleTreeFactory
Creates a new TreeFactory.
SimpleTreeReaderFactory - Class in edu.stanford.nlp.trees
This class implements a simple default TreeReaderFactory.
SimpleTreeReaderFactory() - Constructor for class edu.stanford.nlp.trees.SimpleTreeReaderFactory
 
sisterSplitLevel - Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTrain
Set the support * KL cutoff level (1-4) for sister splitting -- don't use it, as far as we can tell so far
sisterSplitters() - Method in class edu.stanford.nlp.parser.lexparser.AbstractTreebankParserParams
Returns the splitting strings used for selective splits.
sisterSplitters() - Method in class edu.stanford.nlp.parser.lexparser.ArabicTreebankParserParams
 
sisterSplitters() - Method in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams
 
sisterSplitters() - Method in interface edu.stanford.nlp.parser.lexparser.TreebankLangParserParams
Returns the splitting strings used for selective splits.
size() - Method in class edu.stanford.nlp.trees.Constituent
Return the length of a Constituent
size() - Method in class edu.stanford.nlp.trees.MemoryTreebank
Returns the size of the Treebank.
size() - Method in class edu.stanford.nlp.trees.Tree
Returns the number of nodes the tree contains.
size() - Method in class edu.stanford.nlp.trees.Treebank
Returns the size of the Treebank.
size() - Method in class edu.stanford.nlp.util.BinaryHeapPriorityQueue
Get the number of elements in the queue.
size() - Method in class edu.stanford.nlp.util.Counter
 
size() - Method in class edu.stanford.nlp.util.DoubleList
 
size() - Method in interface edu.stanford.nlp.util.GenericCounter
Returns the number of entries in this counter.
size() - Method in class edu.stanford.nlp.util.Index
 
size() - Method in class edu.stanford.nlp.util.IntCounter
 
size() - Method in class edu.stanford.nlp.util.Interner
 
skewDivergence(GenericCounter, GenericCounter, double) - Static method in class edu.stanford.nlp.util.Counters
Calculates the skew divergence between the two counters.
SloppyMath - Class in edu.stanford.nlp.math
The class SloppyMath contains methods for performing basic numeric operations.
SloppyMath() - Constructor for class edu.stanford.nlp.math.SloppyMath
 
slurpFile(File) - Static method in class edu.stanford.nlp.util.StringUtils
Returns all the text in the given File.
slurpFile(String) - Static method in class edu.stanford.nlp.util.StringUtils
Returns all the text in the given File.
slurpFileNoExceptions(File) - Static method in class edu.stanford.nlp.util.StringUtils
Returns all the text in the given File.
slurpFileNoExceptions(String) - Static method in class edu.stanford.nlp.util.StringUtils
Returns all the text in the given File.
slurpURL(URL) - Static method in class edu.stanford.nlp.util.StringUtils
Returns all the text at the given URL.
slurpURLNoExceptions(URL) - Static method in class edu.stanford.nlp.util.StringUtils
Returns all the text at the given URL.
smartMutation - Variable in class edu.stanford.nlp.parser.lexparser.BaseLexicon
 
smoothInUnknownsThreshold - Variable in class edu.stanford.nlp.parser.lexparser.BaseLexicon
 
specialConstructor - Variable in exception edu.stanford.nlp.trees.tregex.ParseException
This variable determines which constructor was used to create this object and thereby affects the semantics of the "getMessage" method (see below).
specialToken - Variable in class edu.stanford.nlp.trees.tregex.Token
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.
spliceOut(Filter) - Method in class edu.stanford.nlp.trees.Tree
Creates a (partial) deep copy of the tree, where all nodes that the filter does not accept are spliced out.
spliceOut(Filter, TreeFactory) - Method in class edu.stanford.nlp.trees.Tree
Creates a (partial) deep copy of the tree, where all nodes that the filter does not accept are spliced out.
split(String) - Static method in class edu.stanford.nlp.util.StringUtils
Splits on whitespace (\\s+).
split(String, String) - Static method in class edu.stanford.nlp.util.StringUtils
Splits the given string using the given regex as delimiters.
splitAux - Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTrain
Make special tags for forms of BE and HAVE.
splitAuxBetter - Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTrain
Make special tags for forms of BE and HAVE.
splitBaseNP - Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTrain
Mark base NPs.
splitCC - Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTrain
Annotates "and", and "or" specially - the point of this isn't so clear to cdm since this is most conjunctions.
splitCC2 - Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTrain
Alternative: separate off [Bb]ut and &.
splitIN - Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTrain
Annotate prepositions into subcategories.
splitJJCOMP - Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTrain
Put a special tag on 'adjectives with complements'.
splitMoreLess - Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTrain
Specially mark the comparative/superlative words: less, least, more, most
splitNOT - Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTrain
Annotates forms of "not" specially as tag "NOT".
splitNPADV - Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTrain
Retain NP-ADV annotation.
splitNPNNP - Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTrain
Mark NP-NNP.
splitNPpercent - Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTrain
Mark the NPs that are headed by %
splitNPPRP - Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTrain
 
splitNumNP - Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTrain
Mark "numeric NPs".
splitOnCharWithQuoting(String, char, char, char) - Static method in class edu.stanford.nlp.util.StringUtils
This function splits the String s into multiple Strings using the splitChar.
splitPercent - Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTrain
Mark the nouns that are percent signs.
splitPoss - Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTrain
Give a special tag to NPs which are possessive NPs (end in 's)
splitPPJJ - Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTrain
A special test for "such" mainly ("such as Fred").
splitRB - Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTrain
Split modifier (NP, AdjP) adverbs from others.
splitSGapped - Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTrain
Mark specially S nodes with "gapped" subject (control, raising).
splitSTag - Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTrain
Mark S nodes according to verbal tag.
splitTMP - Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTrain
Retain NP-TMP (or maybe PP-TMP) annotation.
splitTRJJ - Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTrain
Put a special tag on 'transitive adjectives' with NP complement, like 'due May 15' -- it also catches 'such' in 'such as NP', which may be a good.
splitVP - Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTrain
Add (head) tags to VPs
splitVP2 - Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTrain
Add (head) tags to VPs, but collapse "finite" ones together.
splitVP3 - Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTrain
Add only verbal tags to VPs, collapsing "finite" ones together, and removing non-verbal tags.
splitVP4 - Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTrain
Add only verbal tags to VPs, collapsing "finite" ones together, and mapping non-verbal tags to likely verbal ones.
splitVPNPAgr - Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTrain
Put enough marking on VP and NP to permit "agreement"
start() - Method in class edu.stanford.nlp.trees.Constituent
access start node.
start() - Method in class edu.stanford.nlp.trees.SimpleConstituent
access start node.
start() - Method in class edu.stanford.nlp.util.Timing
Start timer.
startSymbol() - Method in class edu.stanford.nlp.trees.AbstractTreebankLanguagePack
Returns a String which is the first (perhaps unique) start symbol of the treebank, or null if none is defined.
startSymbol() - Method in interface edu.stanford.nlp.trees.TreebankLanguagePack
Returns a String which is the first (perhaps unique) start symbol of the treebank, or null if none is defined.
startSymbolAcceptFilter() - Method in class edu.stanford.nlp.trees.AbstractTreebankLanguagePack
Return a filter that accepts a String that is a start symbol of the treebank, and rejects everything else.
startSymbolAcceptFilter() - Method in interface edu.stanford.nlp.trees.TreebankLanguagePack
Return a filter that accepts a String that is a start symbol of the treebank, and rejects everything else.
startSymbols() - Method in class edu.stanford.nlp.trees.AbstractTreebankLanguagePack
Returns a String array of treebank start symbols.
startSymbols() - Method in class edu.stanford.nlp.trees.international.arabic.ArabicTreebankLanguagePack
Returns a String array of treebank start symbols.
startSymbols() - Method in class edu.stanford.nlp.trees.PennTreebankLanguagePack
Returns a String array of treebank start symbols.
startSymbols() - Method in interface edu.stanford.nlp.trees.TreebankLanguagePack
Returns a String array of treebank start symbols.
startTime() - Static method in class edu.stanford.nlp.util.Timing
Start (static) timer.
staticFlag - Static variable in class edu.stanford.nlp.trees.tregex.SimpleCharStream
 
stem(Word) - Method in class edu.stanford.nlp.process.Morphology
 
stem(WordTag) - Method in class edu.stanford.nlp.process.Morphology
 
stem(String, String) - Method in class edu.stanford.nlp.process.Morphology
 
stemStatic(WordTag) - Static method in class edu.stanford.nlp.process.Morphology
 
stemStatic(String, String) - Static method in class edu.stanford.nlp.process.Morphology
 
STOP - Static variable in class edu.stanford.nlp.parser.lexparser.IntTaggedWord
 
stop() - Method in class edu.stanford.nlp.util.Timing
Stop timer.
stop(String, PrintStream) - Method in class edu.stanford.nlp.util.Timing
Print elapsed time and stop timer.
stop(String) - Method in class edu.stanford.nlp.util.Timing
Print elapsed time to System.err and stop timer.
stop(String, PrintWriter) - Method in class edu.stanford.nlp.util.Timing
Print elapsed time and stop timer.
stringIntern(Pair<String, String>) - Static method in class edu.stanford.nlp.util.Pair
If first and second are Strings, then this returns an InternedPair where the Strings have been interned, and if this Pair is serialized and then deserialized, first and second are interned upon deserialization.
StringLabel - Class in edu.stanford.nlp.ling
A StringLabel object acts as a Label by containing a single String, which it sets or returns in response to requests.
StringLabel() - Constructor for class edu.stanford.nlp.ling.StringLabel
Create a new StringLabel with a null content (i.e., str).
StringLabel(String) - Constructor for class edu.stanford.nlp.ling.StringLabel
Create a new StringLabel with the given content.
StringLabel(Label) - Constructor for class edu.stanford.nlp.ling.StringLabel
Create a new StringLabel with the value() of another label as its label.
StringLabeledScoredTreeReaderFactory - Class in edu.stanford.nlp.trees
This class implements a TreeReaderFactory that produces labeled, scored array-based Trees, which have been cleaned up to delete empties, etc.
StringLabeledScoredTreeReaderFactory() - Constructor for class edu.stanford.nlp.trees.StringLabeledScoredTreeReaderFactory
 
StringLabelFactory - Class in edu.stanford.nlp.ling
A StringLabelFactory object makes a simple StringLabel out of a String.
StringLabelFactory() - Constructor for class edu.stanford.nlp.ling.StringLabelFactory
 
stringProbability() - Method in class edu.stanford.nlp.parser.prefixparser.PrefixProbabilityParser
Returns the total probability of complete parses for the string prefix parsed so far.
stringToProperties(String) - Static method in class edu.stanford.nlp.util.StringUtils
This method converts a comma-separated String (with whitespace optionally allowed after the comma) representing properties to a Properties object.
StringUtils - Class in edu.stanford.nlp.util
StringUtils is a class for random String things.
subcategoryStripper() - Method in class edu.stanford.nlp.parser.lexparser.AbstractTreebankParserParams
Returns a TreeTransformer appropriate to the Treebank which can be used to remove functional tags (such as "-TMP") from categories.
subcategoryStripper() - Method in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams
Returns a TreeTransformer appropriate to the Treebank which can be used to remove functional tags (such as "-TMP") from categories.
subcategoryStripper() - Method in interface edu.stanford.nlp.parser.lexparser.TreebankLangParserParams
Returns a TreeTransformer appropriate to the Treebank which can be used to remove functional tags (such as "-TMP") from categories.
subList(int, int) - Method in class edu.stanford.nlp.trees.MemoryTreebank
 
subList(int, int) - Method in class edu.stanford.nlp.util.Index
 
subtractAll(Counter<E>) - Method in class edu.stanford.nlp.util.Counter
Subtracts the counts in the given Counter from the counts in this Counter.
subtractAll(IntCounter) - Method in class edu.stanford.nlp.util.IntCounter
Subtracts the counts in the given Counter from the counts in this Counter.
subTreeList() - Method in class edu.stanford.nlp.trees.Tree
Get the list of all subtrees inside the tree by returning a tree rooted at each node.
subTrees() - Method in class edu.stanford.nlp.trees.Tree
Get the set of all subtrees inside the tree by returning a tree rooted at each node.
subTrees(Collection) - Method in class edu.stanford.nlp.trees.Tree
Add the set of all subtrees inside a tree (including the tree itself) to the given Collection.
suppressTerminalDetails - Static variable in class edu.stanford.nlp.ling.CategoryWordTag
If set to true, when a terminal or preterminal has as its category something that is also the word or tag value, the latter are suppressed.
switchedFilter(Filter, boolean) - Static method in class edu.stanford.nlp.util.Filters
Filter that's either negated or normal as specified.
SwitchTo(int) - Static method in class edu.stanford.nlp.trees.tregex.TregexParserTokenManager
 

T

tag - Variable in class edu.stanford.nlp.ling.CategoryWordTag
 
tag() - Method in class edu.stanford.nlp.ling.CategoryWordTag
 
tag() - Method in interface edu.stanford.nlp.ling.HasTag
Return the tag value of the label (or null if none).
tag() - Method in class edu.stanford.nlp.ling.MapLabel
Return the head tag of the label (or null if none), which is stored in the map under the key HEAD_TAG_KEY.
Tag - Class in edu.stanford.nlp.ling
A Tag object acts as a Label by containing a String that is a part-of-speech tag.
Tag() - Constructor for class edu.stanford.nlp.ling.Tag
Constructs a Tag object.
Tag(String) - Constructor for class edu.stanford.nlp.ling.Tag
Constructs a Tag object.
Tag(Label) - Constructor for class edu.stanford.nlp.ling.Tag
Creates a new tag whose tag value is the value of any class that supports the Label interface.
tag() - Method in class edu.stanford.nlp.ling.Tag
 
tag() - Method in class edu.stanford.nlp.ling.TaggedWord
 
tag() - Method in class edu.stanford.nlp.ling.WordTag
 
tag - Variable in class edu.stanford.nlp.parser.lexparser.IntTaggedWord
 
tag() - Method in class edu.stanford.nlp.parser.lexparser.IntTaggedWord
 
TAG_LABEL - Static variable in class edu.stanford.nlp.ling.TaggedWordFactory
 
taggedDependencies() - Method in class edu.stanford.nlp.trees.Tree
Return a Set of TaggedWord-TaggedWord dependencies, represented as Dependency objects, for the Tree.
taggedDependencies(Filter) - Method in class edu.stanford.nlp.trees.Tree
Return a set of TaggedWord-TaggedWord dependencies, represented as Dependency objects, for the Tree.
TaggedWord - Class in edu.stanford.nlp.ling
A TaggedWord object contains a word and its tag.
TaggedWord() - Constructor for class edu.stanford.nlp.ling.TaggedWord
Create a new TaggedWord.
TaggedWord(String) - Constructor for class edu.stanford.nlp.ling.TaggedWord
Create a new TaggedWord.
TaggedWord(String, String) - Constructor for class edu.stanford.nlp.ling.TaggedWord
Create a new TaggedWord.
TaggedWord(Label) - Constructor for class edu.stanford.nlp.ling.TaggedWord
Create a new TaggedWord.
TaggedWord(Label, Label) - Constructor for class edu.stanford.nlp.ling.TaggedWord
Create a new TaggedWord.
TaggedWordFactory - Class in edu.stanford.nlp.ling
A TaggedWordFactory acts as a factory for creating objects of class TaggedWord.
TaggedWordFactory() - Constructor for class edu.stanford.nlp.ling.TaggedWordFactory
Create a new TaggedWordFactory.
TaggedWordFactory(char) - Constructor for class edu.stanford.nlp.ling.TaggedWordFactory
Create a new TaggedWordFactory.
taggedYield() - Method in class edu.stanford.nlp.trees.Tree
Gets the tagged yield of the tree.
taggedYield(List) - Method in class edu.stanford.nlp.trees.Tree
Gets the tagged yield of the tree -- that is, get the preterminals as well as the terminals.
tagRBGPA - Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTrain
Grand parent annotate RB to try to distinguish sentential ones and ones in places like NP post modifier (things like 'very' are already distinguished as their parent is ADJP).
tags - Variable in class edu.stanford.nlp.parser.lexparser.BaseLexicon
 
tagString() - Method in class edu.stanford.nlp.parser.lexparser.IntTaggedWord
 
TEMPORAL_ACL03PCFG - Static variable in class edu.stanford.nlp.trees.NPTmpRetainingTreeNormalizer
 
TEMPORAL_ALL_NP - Static variable in class edu.stanford.nlp.trees.NPTmpRetainingTreeNormalizer
 
TEMPORAL_ALL_NP_AND_PP - Static variable in class edu.stanford.nlp.trees.NPTmpRetainingTreeNormalizer
 
TEMPORAL_ALL_NP_EVEN_UNDER_PP - Static variable in class edu.stanford.nlp.trees.NPTmpRetainingTreeNormalizer
 
TEMPORAL_ALL_NP_PP_ADVP - Static variable in class edu.stanford.nlp.trees.NPTmpRetainingTreeNormalizer
 
TEMPORAL_ALL_TERMINALS - Static variable in class edu.stanford.nlp.trees.NPTmpRetainingTreeNormalizer
 
TEMPORAL_ANY_TMP_PERCOLATED - Static variable in class edu.stanford.nlp.trees.NPTmpRetainingTreeNormalizer
 
TEMPORAL_NONE - Static variable in class edu.stanford.nlp.trees.NPTmpRetainingTreeNormalizer
 
TEMPORAL_NP_AND_PP_WITH_NP_HEAD - Static variable in class edu.stanford.nlp.trees.NPTmpRetainingTreeNormalizer
 
Test - Class in edu.stanford.nlp.parser.lexparser
Options to the parser which affect performance only at testing (parsing) time.
Test() - Constructor for class edu.stanford.nlp.parser.lexparser.Test
 
testMemoryTreebank() - Method in class edu.stanford.nlp.parser.lexparser.AbstractTreebankParserParams
You can often return the same thing for testMemoryTreebank as for memoryTreebank
testMemoryTreebank() - Method in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams
returns a MemoryTreebank appropriate to the testing treebank source
testMemoryTreebank() - Method in interface edu.stanford.nlp.parser.lexparser.TreebankLangParserParams
returns a MemoryTreebank appropriate to the testing treebank source
text - Variable in class edu.stanford.nlp.util.XMLUtils.XMLTag
 
textualSummary() - Method in class edu.stanford.nlp.trees.Treebank
Return various statistics about the treebank (number of sentences, words, tag set, etc.).
tf - Variable in class edu.stanford.nlp.parser.lexparser.AbstractTreebankParserParams.SubcategoryStripper
 
tf - Variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.SubcategoryStripper
 
tg - Variable in class edu.stanford.nlp.trees.TreeGraphNode
The TreeGraph of which this node is part.
third - Variable in class edu.stanford.nlp.util.Triple
 
third() - Method in class edu.stanford.nlp.util.Triple
 
tick() - Static method in class edu.stanford.nlp.util.Timing
Restart (static) timer.
tick(String, PrintStream) - Static method in class edu.stanford.nlp.util.Timing
Print elapsed time and restart (static) timer.
tick(String) - Static method in class edu.stanford.nlp.util.Timing
Print elapsed time to System.err and restart (static) timer.
Timing - Class in edu.stanford.nlp.util
A class for measuring how long things take.
Timing() - Constructor for class edu.stanford.nlp.util.Timing
Constructs new Timing object and starts the timer.
tlp - Variable in class edu.stanford.nlp.parser.lexparser.AbstractTreebankParserParams
 
tlp - Variable in class edu.stanford.nlp.trees.AbstractCollinsHeadFinder
 
tlp - Variable in class edu.stanford.nlp.trees.BobChrisTreeNormalizer
 
toArray() - Method in class edu.stanford.nlp.util.DoubleList
as implemented, returns the actual array! Danger!
Token - Class in edu.stanford.nlp.trees.tregex
Describes the input token stream.
Token() - Constructor for class edu.stanford.nlp.trees.tregex.Token
 
tokenImage - Variable in exception edu.stanford.nlp.trees.tregex.ParseException
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred.
tokenImage - Static variable in interface edu.stanford.nlp.trees.tregex.TregexParserConstants
 
tokenize() - Method in class edu.stanford.nlp.process.AbstractTokenizer
Returns text as a List of tokens.
tokenize() - Method in interface edu.stanford.nlp.process.Tokenizer
Returns all tokens of this Tokenizer as a List for convenience.
tokenizeCRs - Variable in class edu.stanford.nlp.process.PTBTokenizer.PTBTokenizerFactory
 
Tokenizer<T> - Interface in edu.stanford.nlp.process
Tokenizers break up text into individual Objects.
TokenizerAdapter - Class in edu.stanford.nlp.process
This class adapts between a java.io.StreamTokenizer and a edu.stanford.nlp.process.Tokenizer.
TokenizerAdapter(StreamTokenizer) - Constructor for class edu.stanford.nlp.process.TokenizerAdapter
Create a new TokenizerAdaptor.
TokenizerFactory<T> - Interface in edu.stanford.nlp.objectbank
A TokenizerFactory is used to convert a java.io.Reader into a Tokenizer (or an Iterator) over the Objects represented by the text in the java.io.Reader.
tokenizerFactory(TreeFactory, TreeNormalizer, Tokenizer) - Static method in class edu.stanford.nlp.trees.PennTreeReader
 
TokenMgrError - Error in edu.stanford.nlp.trees.tregex
 
TokenMgrError() - Constructor for error edu.stanford.nlp.trees.tregex.TokenMgrError
 
TokenMgrError(String, int) - Constructor for error edu.stanford.nlp.trees.tregex.TokenMgrError
 
TokenMgrError(boolean, int, int, int, String, char, int) - Constructor for error edu.stanford.nlp.trees.tregex.TokenMgrError
 
toLexicalEntry() - Method in class edu.stanford.nlp.parser.lexparser.IntTaggedWord
 
toOneLineString() - Method in class edu.stanford.nlp.trees.TreeGraphNode
Returns a String representation of this node and its subtree as a one-line parenthesized list.
topLevelKeySet() - Method in class edu.stanford.nlp.util.GeneralizedCounter
Returns the set of elements that occur in the 0th position of a List key in the GeneralizedCounter.
toPrettyString() - Method in enum edu.stanford.nlp.trees.GrammaticalRelation
Returns a String representation of this GrammaticalRelation and the hierarchy below it, with one node per line, indented according to level.
toPrettyString(int) - Method in class edu.stanford.nlp.trees.TreeGraphNode
Returns a String representation of this node and its subtree with one node per line, indented according to indentLevel.
toPriorityQueue(GenericCounter) - Static method in class edu.stanford.nlp.util.Counters
 
toSentenceString(Sentence) - Method in class edu.stanford.nlp.trees.Constituent
Print out as a string the subpart of a sentence covered by this Constituent.
toSortedList() - Method in class edu.stanford.nlp.util.BinaryHeapPriorityQueue
 
toSortedList(GenericCounter) - Static method in class edu.stanford.nlp.util.Counters
 
toSortedList() - Method in interface edu.stanford.nlp.util.PriorityQueue
 
toString() - Method in class edu.stanford.nlp.ling.AbstractLabel
Return a string representation of the label.
toString() - Method in class edu.stanford.nlp.ling.CategoryWordTag
Returns a String representation of the label.
toString() - Method in interface edu.stanford.nlp.ling.Label
Return a String representation of the label.
toString() - Method in class edu.stanford.nlp.ling.MapLabel
Return a String containing the value (and index, if any) of this label.
toString(String) - Method in class edu.stanford.nlp.ling.MapLabel
Returns a formatted string representing this label.
toString() - Method in class edu.stanford.nlp.ling.Sentence
Returns the sentence as a string with a space between words.
toString(boolean) - Method in class edu.stanford.nlp.ling.Sentence
Returns the sentence as a string with a space between words.
toString() - Method in class edu.stanford.nlp.ling.TaggedWord
 
toString() - Method in class edu.stanford.nlp.ling.WordTag
Return a String representation of the label.
toString() - Method in class edu.stanford.nlp.parser.lexparser.IntTaggedWord
 
toString() - Method in class edu.stanford.nlp.trees.Constituent
Return a string representation of a Constituent.
toString(String) - Method in interface edu.stanford.nlp.trees.Dependency
Provide different printing options via a String keyword.
toString() - Method in enum edu.stanford.nlp.trees.GrammaticalRelation
Returns short name (abbreviation) for this GrammaticalRelation.
toString() - Method in class edu.stanford.nlp.trees.LabeledScoredTreeLeaf
Convert tree leaf to its label's string.
toString() - Method in class edu.stanford.nlp.trees.Tree
Converts parse tree to string in Penn Treebank format.
toString() - Method in class edu.stanford.nlp.trees.Treebank
Return the whole treebank as a series of big bracketed lists.
toString() - Method in class edu.stanford.nlp.trees.TreeGraph
Return a String representing this treegraph.
toString() - Method in class edu.stanford.nlp.trees.TreeGraphNode
 
toString() - Method in class edu.stanford.nlp.trees.tregex.Token
Returns the image.
toString() - Method in class edu.stanford.nlp.trees.tregex.TreePattern
Returns a representation of the TreePattern
toString() - Method in class edu.stanford.nlp.trees.tregex.TregexPattern
A single-line string representation of the pattern
toString() - Method in class edu.stanford.nlp.trees.UnnamedDependency
 
toString(String) - Method in class edu.stanford.nlp.trees.UnnamedDependency
Provide different printing options via a String keyword.
toString() - Method in class edu.stanford.nlp.util.BinaryHeapPriorityQueue
 
toString() - Method in class edu.stanford.nlp.util.Counter
 
toString(NumberFormat, String, String, String, String) - Method in class edu.stanford.nlp.util.Counter
 
toString(NumberFormat) - Method in class edu.stanford.nlp.util.Counter
 
toString(NumberFormat) - Method in class edu.stanford.nlp.util.Distribution
 
toString() - Method in class edu.stanford.nlp.util.Distribution
 
toString() - Method in class edu.stanford.nlp.util.DoubleList
 
toString() - Method in class edu.stanford.nlp.util.GeneralizedCounter
 
toString(String) - Method in class edu.stanford.nlp.util.GeneralizedCounter
 
toString() - Method in class edu.stanford.nlp.util.IntCounter
 
toString(NumberFormat, String, String, String, String) - Method in class edu.stanford.nlp.util.IntCounter
 
toString(NumberFormat) - Method in class edu.stanford.nlp.util.IntCounter
 
toString() - Method in class edu.stanford.nlp.util.MutableDouble
 
toString() - Method in class edu.stanford.nlp.util.MutableInteger
 
toString() - Method in class edu.stanford.nlp.util.Numberer
 
toString() - Method in class edu.stanford.nlp.util.Pair
 
toString() - Method in class edu.stanford.nlp.util.Triple
 
toString() - Method in class edu.stanford.nlp.util.XMLUtils.XMLTag
 
toStringBuffer(StringBuffer) - Method in class edu.stanford.nlp.trees.LabeledScoredTreeLeaf
Appends the printed form of a parse tree (as a bracketed String) to a StringBuffer.
toStringBuffer(StringBuffer) - Method in class edu.stanford.nlp.trees.LabeledScoredTreeNode
Appends the printed form of a parse tree (as a bracketed String) to a StringBuffer.
toStringBuffer(StringBuffer) - Method in class edu.stanford.nlp.trees.Tree
Appends the printed form of a parse tree (as a bracketed String) to a StringBuffer.
toTaggedWord() - Method in class edu.stanford.nlp.parser.lexparser.IntTaggedWord
 
total() - Method in class edu.stanford.nlp.util.Numberer
 
totalCount() - Method in class edu.stanford.nlp.util.Counter
Returns the current total count for all objects in this Counter.
totalCount(Filter) - Method in class edu.stanford.nlp.util.Counter
Returns the total count for all objects in this Counter that pass the given Filter.
totalCount() - Method in class edu.stanford.nlp.util.Distribution
 
totalCount() - Method in class edu.stanford.nlp.util.GeneralizedCounter
returns the total count of objects in the GeneralizedCounter.
totalCount() - Method in class edu.stanford.nlp.util.IntCounter
Returns the current total count for all objects in this Counter.
totalCount(Filter) - Method in class edu.stanford.nlp.util.IntCounter
Returns the total count for all objects in this Counter that pass the given Filter.
totalDoubleCount() - Method in class edu.stanford.nlp.util.Counter
 
totalDoubleCount() - Method in interface edu.stanford.nlp.util.GenericCounter
Computes the total of all counts in this counter, and returns it as a double.
totalDoubleCount() - Method in class edu.stanford.nlp.util.IntCounter
 
totalDoubleCount(Filter) - Method in class edu.stanford.nlp.util.IntCounter
 
train(Collection) - Method in class edu.stanford.nlp.parser.lexparser.BaseLexicon
Trains this lexicon on the Collection of trees.
train(Collection) - Method in interface edu.stanford.nlp.parser.lexparser.Lexicon
Trains this lexicon on the Collection of trees.
transform(TreeTransformer) - Method in class edu.stanford.nlp.trees.Tree
Create a transformed Tree.
transform(TreeTransformer, TreeFactory) - Method in class edu.stanford.nlp.trees.Tree
Create a transformed Tree.
transform(TreeTransformer) - Method in class edu.stanford.nlp.trees.Treebank
Return a Treebank (actually a MemoryTrebank) where each Tree in the current treebank has been transformed using the TreeTransformer.
transformTree(Tree, TreeFactory) - Method in class edu.stanford.nlp.parser.lexparser.AbstractTreebankParserParams.SubcategoryStripper
 
transformTree(Tree, Tree, TreeHeadPair) - Method in class edu.stanford.nlp.parser.lexparser.AbstractTreebankParserParams
transformTree does language-specific tree transformations such as splicing.
transformTree(Tree, Tree, TreeHeadPair) - Method in class edu.stanford.nlp.parser.lexparser.ArabicTreebankParserParams
 
transformTree(Tree, TreeFactory) - Method in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.SubcategoryStripper
 
transformTree(Tree, Tree, TreeHeadPair) - Method in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams
transformTree does language-specific tree transformations such as splicing.
transformTree(Tree, Tree, TreeHeadPair) - Method in interface edu.stanford.nlp.parser.lexparser.TreebankLangParserParams
transformTree does language-specific tree transformations such as splicing.
transformTree(Tree, TreeFactory) - Method in interface edu.stanford.nlp.trees.TreeTransformer
Does whatever one needs to do to a particular tree.
translate(String, String, int) - Static method in class edu.stanford.nlp.util.Numberer
For an Object o that occurs in Numberers of type sourceType and targetType, translates the serial number n of o in the sourceType Numberer to the serial number in the targetType Numberer.
traverseLocate(Tree[], String[], boolean) - Method in class edu.stanford.nlp.trees.AbstractCollinsHeadFinder
Attempt to locate head daughter tree from among daughters.
Tree - Class in edu.stanford.nlp.trees
The abstract class Tree is used to collect all of the tree types, and acts as a generic composite type.
Tree() - Constructor for class edu.stanford.nlp.trees.Tree
 
TREE_MAP_FACTORY - Static variable in class edu.stanford.nlp.util.MapFactory
 
Treebank - Class in edu.stanford.nlp.trees
A Treebank object provides access to a corpus of examples with given tree structures.
Treebank() - Constructor for class edu.stanford.nlp.trees.Treebank
Create a new Treebank (using a LabeledScoredTreeReaderFactory).
Treebank(TreeReaderFactory) - Constructor for class edu.stanford.nlp.trees.Treebank
Create a new Treebank.
Treebank(TreeReaderFactory, String) - Constructor for class edu.stanford.nlp.trees.Treebank
Create a new Treebank.
Treebank(int) - Constructor for class edu.stanford.nlp.trees.Treebank
Create a new Treebank.
Treebank(int, TreeReaderFactory) - Constructor for class edu.stanford.nlp.trees.Treebank
Create a new Treebank.
treebankFileExtension() - Method in class edu.stanford.nlp.trees.international.arabic.ArabicTreebankLanguagePack
Returns the extension of treebank files for this treebank.
treebankFileExtension() - Method in class edu.stanford.nlp.trees.PennTreebankLanguagePack
Returns the extension of treebank files for this treebank.
treebankFileExtension() - Method in interface edu.stanford.nlp.trees.TreebankLanguagePack
Returns the extension of treebank files for this treebank.
TreebankLangParserParams - Interface in edu.stanford.nlp.parser.lexparser
Contains fields necessary to get the parser to parse an arbitrary treebank.
treebankLanguagePack() - Method in class edu.stanford.nlp.parser.lexparser.AbstractTreebankParserParams
Returns an appropriate treebankLanguagePack
treebankLanguagePack() - Method in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams
contains Treebank-specific (but not parser-specific) info such as what is punctuation, and also information about the structure of labels
treebankLanguagePack() - Method in interface edu.stanford.nlp.parser.lexparser.TreebankLangParserParams
returns a TreebankLanguagePack containing Treebank-specific (but not parser-specific) info such as what is punctuation, and also information about the structure of labels
TreebankLanguagePack - Interface in edu.stanford.nlp.trees
This interface specifies language/treebank specific information for a Treebank, which a parser or other treebank user might need to know.
treeFactory() - Method in class edu.stanford.nlp.trees.LabeledScoredTreeLeaf
Return a TreeFactory that produces trees of the same type as the current Tree.
treeFactory() - Method in class edu.stanford.nlp.trees.LabeledScoredTreeNode
Return a TreeFactory that produces trees of the same type as the current Tree.
treeFactory() - Method in class edu.stanford.nlp.trees.SimpleTree
Return a TreeFactory that produces trees of the SimpleTree type.
treeFactory() - Method in class edu.stanford.nlp.trees.Tree
Return a TreeFactory that produces trees of the appropriate type.
TreeFactory - Interface in edu.stanford.nlp.trees
A TreeFactory acts as a factory for creating objects of class Tree, or some descendent class.
treeFactory() - Method in class edu.stanford.nlp.trees.TreeGraphNode
Returns a TreeFactory that produces TreeGraphNodes.
TreeFunctions - Class in edu.stanford.nlp.trees
This is a utility class which vends tree transformers to translate trees from one factory type to trees of another.
TreeFunctions() - Constructor for class edu.stanford.nlp.trees.TreeFunctions
 
TreeGraph - Class in edu.stanford.nlp.trees
A TreeGraph is a tree with additional directed, labeled arcs between arbitrary pairs of nodes.
TreeGraph(Tree) - Constructor for class edu.stanford.nlp.trees.TreeGraph
Construct a new TreeGraph having the same tree structure and label values as an existing tree (but no shared storage).
treeGraph() - Method in class edu.stanford.nlp.trees.TreeGraphNode
Get the TreeGraph of which this node is a part.
TreeGraphNode - Class in edu.stanford.nlp.trees
A "treegraph" is a tree with additional directed, labeled arcs between arbitrary pairs of nodes.
TreeGraphNode() - Constructor for class edu.stanford.nlp.trees.TreeGraphNode
Create a new empty TreeGraphNode.
TreeGraphNode(Label) - Constructor for class edu.stanford.nlp.trees.TreeGraphNode
Create a new TreeGraphNode with the supplied label.
TreeGraphNode(Label, List) - Constructor for class edu.stanford.nlp.trees.TreeGraphNode
Create a new TreeGraphNode with the supplied label and list of child nodes.
TreeGraphNode(Tree, TreeGraphNode) - Constructor for class edu.stanford.nlp.trees.TreeGraphNode
Create a new TreeGraphNode having the same tree structure and label values as an existing tree (but no shared storage).
TreeGraphNodeFactory - Class in edu.stanford.nlp.trees
A TreeGraphNodeFactory acts as a factory for creating nodes in a TreeGraph.
TreeGraphNodeFactory() - Constructor for class edu.stanford.nlp.trees.TreeGraphNodeFactory
Make a TreeFactory that produces TreeGraphNodes.
TreeGraphNodeFactory(LabelFactory) - Constructor for class edu.stanford.nlp.trees.TreeGraphNodeFactory
 
TreeMatcher - Class in edu.stanford.nlp.trees.tregex
Matches a TreePattern against a Tree.
TreeNormalizer - Class in edu.stanford.nlp.trees
A class for tree normalization.
TreeNormalizer() - Constructor for class edu.stanford.nlp.trees.TreeNormalizer
 
TreePattern - Class in edu.stanford.nlp.trees.tregex
A TreePattern is a tgrep-type pattern.
treePrint(TreebankLangParserParams) - Static method in class edu.stanford.nlp.parser.lexparser.Test
Determines method for print trees on output.
TreePrint - Class in edu.stanford.nlp.trees
A class for customizing the print method(s) for a edu.stanford.nlp.trees.Tree as the output of the parser.
TreePrint(String, TreebankLanguagePack) - Constructor for class edu.stanford.nlp.trees.TreePrint
 
TreePrint(String, String, TreebankLanguagePack) - Constructor for class edu.stanford.nlp.trees.TreePrint
 
TreePrint(String, String, TreebankLanguagePack, HeadFinder) - Constructor for class edu.stanford.nlp.trees.TreePrint
Make a TreePrint instance.
TreeReader - Interface in edu.stanford.nlp.trees
A TreeReader adds functionality to another Reader by reading in Trees, or some descendant class.
treeReaderFactory() - Method in class edu.stanford.nlp.parser.lexparser.ArabicTreebankParserParams
 
treeReaderFactory() - Method in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams
Makes appropriate TreeReaderFactory with all options specified
treeReaderFactory() - Method in interface edu.stanford.nlp.parser.lexparser.TreebankLangParserParams
factorz for reading in trees from the source you want.
treeReaderFactory() - Method in class edu.stanford.nlp.trees.Treebank
Get the TreeReaderFactory for a Treebank -- this method is provided in order to make the TreeReaderFactory available to subclasses.
TreeReaderFactory - Interface in edu.stanford.nlp.trees
A TreeReaderFactory is a factory for creating objects of class TreeReader, or some descendent class.
Trees - Class in edu.stanford.nlp.trees
Various utilities for the Tree class.
Trees() - Constructor for class edu.stanford.nlp.trees.Trees
 
treeToEvents(Tree) - Method in class edu.stanford.nlp.parser.lexparser.BaseLexicon
 
treeTokenizerFactory() - Method in class edu.stanford.nlp.parser.lexparser.AbstractTreebankParserParams
 
treeTokenizerFactory() - Method in interface edu.stanford.nlp.parser.lexparser.TreebankLangParserParams
 
TreeTokenizerFactory - Class in edu.stanford.nlp.trees
Wrapper for TreeReaderFactory.
TreeTokenizerFactory(TreeReaderFactory) - Constructor for class edu.stanford.nlp.trees.TreeTokenizerFactory
Create a TreeTokenizerFactory from a TreeReaderFactory.
TreeTransformer - Interface in edu.stanford.nlp.trees
This is a simple interface for a function that alters a local Tree.
TreeVisitor - Interface in edu.stanford.nlp.trees
This is a simple strategy-type interface for operations that are applied to Tree.
TregexMatcher - Class in edu.stanford.nlp.trees.tregex
A TregexMatcher can be used to match a TregexPattern against a Tree.
TregexParserConstants - Interface in edu.stanford.nlp.trees.tregex
 
TregexParserTokenManager - Class in edu.stanford.nlp.trees.tregex
 
TregexParserTokenManager(SimpleCharStream) - Constructor for class edu.stanford.nlp.trees.tregex.TregexParserTokenManager
 
TregexParserTokenManager(SimpleCharStream, int) - Constructor for class edu.stanford.nlp.trees.tregex.TregexParserTokenManager
 
TregexPattern - Class in edu.stanford.nlp.trees.tregex
A TregexPattern is a tgrep-type pattern.
TregexPatternCompiler - Class in edu.stanford.nlp.trees.tregex
A class for compiling TregexPatterns with specific HeadFinders and or basicCategoryFunctions.
TregexPatternCompiler() - Constructor for class edu.stanford.nlp.trees.tregex.TregexPatternCompiler
 
TregexPatternCompiler(Function) - Constructor for class edu.stanford.nlp.trees.tregex.TregexPatternCompiler
A compiler that uses this basicCatFunction and the default headfinder.
TregexPatternCompiler(HeadFinder) - Constructor for class edu.stanford.nlp.trees.tregex.TregexPatternCompiler
A compiler that uses this HeadFinder and the default basicCategoryFunction
TregexPatternCompiler(HeadFinder, Function) - Constructor for class edu.stanford.nlp.trees.tregex.TregexPatternCompiler
A compiler that uses this HeadFinder and this basicCategoryFunction
trim(String, int) - Static method in class edu.stanford.nlp.util.StringUtils
Returns s if it's at most maxWidth chars, otherwise chops right side to fit.
trim(Object, int) - Static method in class edu.stanford.nlp.util.StringUtils
 
Triple<T1,T2,T3> - Class in edu.stanford.nlp.util
User: Teg Grenager Date: Feb 20, 2004 Time: 9:44:12 AM
Triple(T1, T2, T3) - Constructor for class edu.stanford.nlp.util.Triple
 
truncate(int, int, int) - Static method in class edu.stanford.nlp.util.StringUtils
This returns a string from decimal digit smallestDigit to decimal digit biggest digit.
tune(Collection) - Method in class edu.stanford.nlp.parser.lexparser.BaseLexicon
 
typedDependencies() - Method in class edu.stanford.nlp.trees.GrammaticalStructure
Returns a List of Triples, each representing a typed dependency in the GrammaticalStructure.
typedDependenciesToString(String) - Method in class edu.stanford.nlp.trees.GrammaticalStructure
Returns a String representation of the result of typedDependencies() in a user-specified format.
typedDependenciesToString() - Method in class edu.stanford.nlp.trees.GrammaticalStructure
Returns a String representation of the result of typedDependencies() as exemplified by the following:
typedDependencyClasser() - Static method in class edu.stanford.nlp.parser.lexparser.AbstractTreebankParserParams
returns an EquivalenceClasser that classes typed dependencies by the syntactic categories of mother, head and daughter, plus direction.
typedDependencyObjectify(Tree, HeadFinder, TreeTransformer) - Static method in class edu.stanford.nlp.parser.lexparser.AbstractTreebankParserParams
Returns a collection of word-word dependencies typed by mother, head, daughter node syntactic categories.

U

unaryDT - Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTrain
Mark "Intransitive" DT.
unaryIN - Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTrain
Mark "Intransitive" IN.
unaryPRP - Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTrain
"Intransitive" PRP.
unaryRB - Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTrain
Mark "Intransitive" RB.
unescapeStringForXML(String) - Static method in class edu.stanford.nlp.util.StringUtils
 
union(GenericCounter, GenericCounter) - Static method in class edu.stanford.nlp.util.Counters
Returns a Counter that is the union of the two Counters passed in (counts are added).
union(Set, Set) - Static method in class edu.stanford.nlp.util.Sets
set union
UNKNOWN_WORD - Static variable in interface edu.stanford.nlp.parser.lexparser.Lexicon
 
unknownLevel - Variable in class edu.stanford.nlp.parser.lexparser.BaseLexicon
 
unlock() - Method in class edu.stanford.nlp.util.Index
 
UnnamedDependency - Class in edu.stanford.nlp.trees
An individual dependency between a head and a dependent.
UnnamedDependency(String, String) - Constructor for class edu.stanford.nlp.trees.UnnamedDependency
 
UnnamedDependency(String, int, String, int) - Constructor for class edu.stanford.nlp.trees.UnnamedDependency
 
UnnamedDependency(String, int, int, String, int, int) - Constructor for class edu.stanford.nlp.trees.UnnamedDependency
 
UnnamedDependency(Label, Label) - Constructor for class edu.stanford.nlp.trees.UnnamedDependency
 
unSeenCounter - Variable in class edu.stanford.nlp.parser.lexparser.BaseLexicon
 
untypedDependencyObjectify(Tree, HeadFinder, TreeTransformer) - Static method in class edu.stanford.nlp.parser.lexparser.AbstractTreebankParserParams
Returns a collection of untyped word-word dependencies for the tree.
UpdateLineColumn(char) - Static method in class edu.stanford.nlp.trees.tregex.SimpleCharStream
 
useN5 - Static variable in class edu.stanford.nlp.parser.lexparser.Test
If true, the n^4 "speed-up" is not used.

V

value() - Method in class edu.stanford.nlp.ling.AbstractLabel
Return the value of the label (or null if none).
value() - Method in interface edu.stanford.nlp.ling.Label
Return a String representation of just the "main" value of this label.
value() - Method in class edu.stanford.nlp.ling.MapLabel
Return the value of the label (or null if none), which is stored in the map under the key CATEGORY_KEY.
value() - Method in class edu.stanford.nlp.ling.StringLabel
Return the word value of the label (or null if none).
value() - Method in class edu.stanford.nlp.ling.WordTag
Return a String representation of just the "main" value of this label.
value() - Method in class edu.stanford.nlp.trees.Constituent
Return the value of the label (or null if none).
value() - Method in class edu.stanford.nlp.trees.Tree
 
valueOf(String) - Static method in enum edu.stanford.nlp.trees.GrammaticalRelation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in class edu.stanford.nlp.trees.Tree
This gives you a tree from a String representation (as a bracketed Tree, of the kind produced by toString(), pennPrint(), or as in the Penn Treebank).
valueOf(String, TreeReaderFactory) - Static method in class edu.stanford.nlp.trees.Tree
This gives you a tree from a String representation (as a bracketed Tree, of the kind produced by toString(), pennPrint(), or as in the Penn Treebank.
values() - Static method in enum edu.stanford.nlp.trees.GrammaticalRelation
Returns an array containing the constants of this enum type, in the order they're declared.
verbose - Static variable in class edu.stanford.nlp.parser.lexparser.Test
Print a lot of extra output as you parse.
visitTree(Tree) - Method in interface edu.stanford.nlp.trees.TreeVisitor
Does whatever one needs to do to a particular parse tree.
visitTree(Tree) - Method in class edu.stanford.nlp.trees.WordStemmer
 
vpSubCat - Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTrain
Pitiful attempt at marking V* preterms with their surface subcat frames.

W

WEAK_HASH_MAP_FACTORY - Static variable in class edu.stanford.nlp.util.MapFactory
 
WhitespaceTokenizer - Class in edu.stanford.nlp.process
Simple Tokenizer implementation that tokenizes on whitespace.
WhitespaceTokenizer(Reader) - Constructor for class edu.stanford.nlp.process.WhitespaceTokenizer
Constructs a new WhitespaceTokenizer with the Reader r as its source.
WhitespaceTokenizer(Reader, boolean) - Constructor for class edu.stanford.nlp.process.WhitespaceTokenizer
Constructs a new WhitespaceTokenizer with the Reader r as its source.
word - Variable in class edu.stanford.nlp.ling.CategoryWordTag
 
word() - Method in class edu.stanford.nlp.ling.CategoryWordTag
 
word() - Method in interface edu.stanford.nlp.ling.HasWord
Return the word value of the label (or null if none).
word() - Method in class edu.stanford.nlp.ling.MapLabel
Return the head word of the label (or null if none), which is stored in the map under the key HEAD_WORD_KEY.
Word - Class in edu.stanford.nlp.ling
A Word object acts as a Label by containing a String.
Word() - Constructor for class edu.stanford.nlp.ling.Word
Construct a new word with a null value.
Word(String) - Constructor for class edu.stanford.nlp.ling.Word
Construct a new word, with the given value.
Word(Label) - Constructor for class edu.stanford.nlp.ling.Word
Creates a new word whose word value is the value of any class that supports the Label interface.
word() - Method in class edu.stanford.nlp.ling.Word
 
word() - Method in class edu.stanford.nlp.ling.WordTag
 
word - Variable in class edu.stanford.nlp.parser.lexparser.IntTaggedWord
 
word() - Method in class edu.stanford.nlp.parser.lexparser.IntTaggedWord
 
WordFactory - Class in edu.stanford.nlp.ling
A WordFactory acts as a factory for creating objects of class Word.
WordFactory() - Constructor for class edu.stanford.nlp.ling.WordFactory
Creates a new WordFactory.
words - Variable in class edu.stanford.nlp.parser.lexparser.BaseLexicon
 
WordStemmer - Class in edu.stanford.nlp.trees
Stems the Words in a Tree using Morphology.
WordStemmer() - Constructor for class edu.stanford.nlp.trees.WordStemmer
 
WordStemmer(String) - Constructor for class edu.stanford.nlp.trees.WordStemmer
 
wordString() - Method in class edu.stanford.nlp.parser.lexparser.IntTaggedWord
 
WordTag - Class in edu.stanford.nlp.ling
A WordTag corresponds to a tagged (e.g., for part of speech) word and is implemented with String-valued word and tag.
WordTag(String) - Constructor for class edu.stanford.nlp.ling.WordTag
 
WordTag(Label) - Constructor for class edu.stanford.nlp.ling.WordTag
 
WordTag() - Constructor for class edu.stanford.nlp.ling.WordTag
 
WordTag(String, String) - Constructor for class edu.stanford.nlp.ling.WordTag
Create a new WordTag.
WordTag(Label, Label) - Constructor for class edu.stanford.nlp.ling.WordTag
Create a new WordTag from a Label.
WordTagFactory - Class in edu.stanford.nlp.ling
A WordTagFactory acts as a factory for creating objects of class WordTag.
WordTagFactory() - Constructor for class edu.stanford.nlp.ling.WordTagFactory
Create a new WordTagFactory.
WordTagFactory(char) - Constructor for class edu.stanford.nlp.ling.WordTagFactory
Create a new WordTagFactory.
writeData(Writer) - Method in class edu.stanford.nlp.parser.lexparser.BaseLexicon
Writes out data from this Object to the Writer w.
writeData(Writer) - Method in interface edu.stanford.nlp.parser.lexparser.Lexicon
Write the lexicon in human readable format to the Writer (an optional operation)
writeOutputFiles - Static variable in class edu.stanford.nlp.parser.lexparser.Test
If true, write files parsed to a new file with the same name except for an added ".stp" extension.

X

XMLUtils - Class in edu.stanford.nlp.util
Class XMLUtils
XMLUtils() - Constructor for class edu.stanford.nlp.util.XMLUtils
 
XMLUtils.XMLTag - Class in edu.stanford.nlp.util
 
XMLUtils.XMLTag(String) - Constructor for class edu.stanford.nlp.util.XMLUtils.XMLTag
Assumes that String contains XML tag.

Y

yield() - Method in class edu.stanford.nlp.trees.Tree
Gets the yield of the tree.
yield(List) - Method in class edu.stanford.nlp.trees.Tree
Gets the yield of the tree.

Z

ZEROCHILDREN - Static variable in class edu.stanford.nlp.trees.Tree
A leaf node should have a zero-length array for its children.

A B C D E F G H I J K L M N O P R S T U V W X Y Z