|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
remove()
defined to throw an
UnsupportedOperationException
.TreebankLangParserParams
implementing class.AFTER_KEY
.
height
nodes up from the current node.
true
, the category DET+NOUN
is considered a basic category
for purposes of #basicCategory()
.
TreebankLangParserParams
implementing class for
the Penn Arabic Treebank.destNode
,
and returns the Set
of Object
s which
label those arcs.
destNode
,
or null
if no such arc exists.
true
iff o1
and o2
are equal by the desired
evaluation criterion.
StringUtils.argsToMap(java.lang.String[])
.
Comparator
.
labelAnnotationIntroducingCharacters()
.
PTBTokenizer
.
BEFORE_KEY
.
null
if
none), which is stored in the map under the key CATEGORY_KEY
.
CategoryWordTag
object acts as a complex Label
which contains a category, a head word, and a tag.CategoryWordTagFactory
is a factory that makes
a Label
which is a CategoryWordTag
triplet.t1
and t2
which are
dominated by this node, returns true
iff
t1
c-commands t2
.
ChineseGrammaticalRelations
is a
set of GrammaticalRelation
objects for the Chinese language.GrammaticalStructure
from an
existing parse tree.
Treebank
.
Treebank
.
Treebank
.
Treebank
.
IdentityHashSet
instance:
the elements themselves are not cloned.
TreeReader
.
TreeReader
.
TypedDependencyList
by
collapsing two types of transitive pairs of dependencies:
prepositional dependencies
dep(cat, in)
and
dep(in, hat)
are collapsed to
in(cat, hat)
conjunct dependencies
cc(investors, and)
and
conj(investors, regulators) are collapsed to
and(investors,regulators)
It will also erase possesive dependencies
possessive(Montezuma, 's)
will be erased
For relative clauses, it will collapse referent such as:
ref(man, that)
and
dobj(love, that)
are collapsed to
dobj(love, man)
- collapseDependencies(Collection<TypedDependency>, boolean) -
Method in class edu.stanford.nlp.trees.GrammaticalStructure
- Destructively modify the
TypedDependencyList
to collapse
language-dependent transitive dependencies.
- collapseDependencies(Collection<TypedDependency>) -
Method in class edu.stanford.nlp.trees.international.pennchinese.ChineseGrammaticalStructure
-
- collectionAcceptFilter(E[]) -
Static method in class edu.stanford.nlp.util.Filters
- The collectionAcceptFilter accepts a certain collection.
- collectionAcceptFilter(Collection<E>) -
Static method in class edu.stanford.nlp.util.Filters
- The collectionAcceptFilter accepts a certain collection.
- CollectionFactory - Class in edu.stanford.nlp.util
- Factory for vending Collections.
- CollectionFactory() -
Constructor for class edu.stanford.nlp.util.CollectionFactory
-
- CollectionFactory.ArrayListFactory - Class in edu.stanford.nlp.util
-
- CollectionFactory.ArrayListFactory() -
Constructor for class edu.stanford.nlp.util.CollectionFactory.ArrayListFactory
-
- CollectionFactory.HashSetFactory - Class in edu.stanford.nlp.util
-
- CollectionFactory.HashSetFactory() -
Constructor for class edu.stanford.nlp.util.CollectionFactory.HashSetFactory
-
- collectionRejectFilter(E[]) -
Static method in class edu.stanford.nlp.util.Filters
- The collectionRejectFilter rejects a certain collection.
- collectionRejectFilter(Collection<E>) -
Static method in class edu.stanford.nlp.util.Filters
- The collectionRejectFilter rejects a certain collection.
- collectOperations(List<TsurgeonPattern>) -
Static method in class edu.stanford.nlp.trees.tregex.tsurgeon.Tsurgeon
- Collects a list of operation patterns into a sequence of operations to be applied.
- collinize(Tree) -
Method in class edu.stanford.nlp.parser.lexparser.TreebankAnnotator
-
- 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
- The collinizer eliminates punctuation
- collinizer() -
Method in class edu.stanford.nlp.parser.lexparser.ChineseTreebankParserParams
- Returns a ChineseCollinizer
- collinizer() -
Method in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams
- the tree transformer used to produce trees for evaluation.
- collinizer() -
Method in class edu.stanford.nlp.parser.lexparser.NegraPennTreebankParserParams
- returns a NegraPennCollinizer
- collinizer() -
Method in interface edu.stanford.nlp.parser.lexparser.TreebankLangParserParams
- the tree transformer used to produce trees for evaluation.
- collinizer() -
Method in class edu.stanford.nlp.parser.lexparser.TueBaDZParserParams
-
- 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.ChineseTreebankParserParams
- Returns a ChineseCollinizer that doesn't delete punctuation
- collinizerEvalb() -
Method in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams
-
- collinizerEvalb() -
Method in class edu.stanford.nlp.parser.lexparser.NegraPennTreebankParserParams
- returns a NegraPennCollinizer
- collinizerEvalb() -
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.TueBaDZParserParams
-
- 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
-
- collinsPunc -
Static variable in class edu.stanford.nlp.parser.lexparser.Train
- Promote/delete punctuation like Collins.
- CollocationFinder - Class in edu.stanford.nlp.trees
- Finds WordNet collocations in parse trees.
- CollocationFinder(Tree, WordNetConnection) -
Constructor for class edu.stanford.nlp.trees.CollocationFinder
- Construct a new
CollocationFinder
over the
Tree
t.
- CollocationFinder(Tree, WordNetConnection, HeadFinder) -
Constructor for class edu.stanford.nlp.trees.CollocationFinder
- Construct a new
CollocationFinder
over the Tree
t.
- column -
Static variable in class edu.stanford.nlp.trees.tregex.SimpleCharStream
-
- column -
Static variable in class edu.stanford.nlp.trees.tregex.tsurgeon.SimpleCharStream
-
- commonWordTagTypeBrackets(Tree, Tree) -
Method in class edu.stanford.nlp.trees.TreeToBracketProcessor
-
- compactGrammar(Pair) -
Method in class edu.stanford.nlp.parser.lexparser.GrammarCompactor
-
- compactGrammar(Pair, Map, Map) -
Method in class edu.stanford.nlp.parser.lexparser.GrammarCompactor
- Compacts the grammar specified by the Pair.
- compactGrammar -
Static variable in class edu.stanford.nlp.parser.lexparser.Train
-
- compactGrammar() -
Static method in class edu.stanford.nlp.parser.lexparser.Train
-
- comparator(boolean) -
Method in class edu.stanford.nlp.stats.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.stats.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.stats.Counter
- Comparator that sorts objects by (increasing) count.
- comparator() -
Method in interface edu.stanford.nlp.stats.GenericCounter
- Returns a comparator
- comparator(boolean) -
Method in class edu.stanford.nlp.stats.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.stats.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.stats.IntCounter
- Comparator that sorts objects by (increasing) count.
- compare(Object, Object) -
Method in class edu.stanford.nlp.trees.TreeLengthComparator
- Compare the two objects.
- 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.
- compare(Object, Object) -
Method in class edu.stanford.nlp.util.ScoredComparator
-
- compareTo(ValueLabel) -
Method in class edu.stanford.nlp.ling.ValueLabel
- Orders by
value()
's lexicographic ordering.
- compareTo(WordLemmaTag) -
Method in class edu.stanford.nlp.ling.WordLemmaTag
- Orders first by word, then by lemma, then by tag.
- compareTo(WordTag) -
Method in class edu.stanford.nlp.ling.WordTag
- Orders first by word, then by tag.
- compareTo(Object) -
Method in class edu.stanford.nlp.parser.lexparser.BinaryRule
-
- compareTo(Object) -
Method in class edu.stanford.nlp.parser.lexparser.IntTaggedWord
-
- compareTo(Object) -
Method in class edu.stanford.nlp.parser.lexparser.LatticeReader.LatticeWord
-
- compareTo(Object) -
Method in class edu.stanford.nlp.parser.lexparser.UnaryRule
-
- compareTo(TypedDependency) -
Method in class edu.stanford.nlp.trees.TypedDependency
-
- 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
- COMPLEMENT -
Static variable in class edu.stanford.nlp.trees.EnglishGrammaticalRelations
- The "complement" grammatical relation.
- COMPLEMENT -
Static variable in class edu.stanford.nlp.trees.international.pennchinese.ChineseGrammaticalRelations
- The "comp" grammatical relation.
- COMPLEMENTIZER -
Static variable in class edu.stanford.nlp.trees.EnglishGrammaticalRelations
- The "complementizer" grammatical relation.
- COMPLEMENTIZER -
Static variable in class edu.stanford.nlp.trees.international.pennchinese.ChineseGrammaticalRelations
- The "cp marker" grammatical relation.
- compose(Map, Map) -
Static method in class edu.stanford.nlp.util.Maps
- Compose two maps map1:x->y and map2:y->z to get a map x->z
- CompositeTreebank - Class in edu.stanford.nlp.trees
-
- CompositeTreebank(Treebank, Treebank) -
Constructor for class edu.stanford.nlp.trees.CompositeTreebank
-
- CompositeTreeTransformer - Class in edu.stanford.nlp.trees
- A TreeTransformer that applies component TreeTransformers in order.
- CompositeTreeTransformer() -
Constructor for class edu.stanford.nlp.trees.CompositeTreeTransformer
-
- computeInputPrior(Map) -
Method in class edu.stanford.nlp.parser.lexparser.GrammarCompactor
-
- computeLambda(TransducerGraph) -
Method in class edu.stanford.nlp.fsm.QuasiDeterminizer
- Takes time linear in number of arcs.
- concat(IntTuple, IntTuple) -
Static method in class edu.stanford.nlp.util.IntTuple
-
- conditionalize(List) -
Method in class edu.stanford.nlp.stats.GeneralizedCounter
- returns a GeneralizedCounter conditioned on the objects in the
List
argument.
- conditionalizeOnce(Object) -
Method in class edu.stanford.nlp.stats.GeneralizedCounter
- Returns a GeneralizedCounter conditioned on the given top level object.
- CONJ_MARKER -
Static variable in class edu.stanford.nlp.trees.EnglishGrammaticalStructure
-
- CONJUNCT -
Static variable in class edu.stanford.nlp.trees.EnglishGrammaticalRelations
- The "conjunct" grammatical relation.
- CONJUNCT -
Static variable in class edu.stanford.nlp.trees.international.pennchinese.ChineseGrammaticalRelations
- The "conjunct" grammatical relation.
- conjValue(Object) -
Method in class edu.stanford.nlp.trees.EnglishGrammaticalStructure
-
- 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.LabeledScoredConstituent
- 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.
- constraints -
Static variable in class edu.stanford.nlp.parser.lexparser.Test
- When you want to force the parse to parse a particular subsequence
into a particular state.
- contains(int[], int) -
Static method in class edu.stanford.nlp.math.ArrayMath
-
- contains(Constituent) -
Method in class edu.stanford.nlp.trees.Constituent
- Detects whether this constituent contains a constituent, that is
whether they are nested.
- contains(T[], T) -
Static method in class edu.stanford.nlp.util.ArrayUtils
- Returns true iff object o equals (not ==) some element of array a.
- 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.IdentityHashSet
- Returns true if this set contains the specified element.
- contains(Object) -
Method in class edu.stanford.nlp.util.Index
- Checks whether an Object already has an index in the Index
- containsInSubarray(int[], int, int, int) -
Static method in class edu.stanford.nlp.math.ArrayMath
-
- containsKey(E) -
Method in class edu.stanford.nlp.stats.Counter
-
- containsKey(E) -
Method in class edu.stanford.nlp.stats.Distribution
-
- containsKey(List) -
Method in class edu.stanford.nlp.stats.GeneralizedCounter
- Like
Counter
, this currently returns true if the count is
explicitly 0.0 for something
- containsKey(E) -
Method in interface edu.stanford.nlp.stats.GenericCounter
-
- containsKey(E) -
Method in class edu.stanford.nlp.stats.IntCounter
-
- containsKey(K1, K2) -
Method in class edu.stanford.nlp.stats.TwoDimensionalCounter
-
- containsKey(String) -
Method in class edu.stanford.nlp.trees.international.pennchinese.ChineseEnglishWordMap
- Does the word exist in the dictionary?
- CONTROLLED_SUBJECT -
Static variable in class edu.stanford.nlp.trees.international.pennchinese.ChineseGrammaticalRelations
- The "xsubj" grammatical relation.
- CONTROLLING_SUBJECT -
Static variable in class edu.stanford.nlp.trees.EnglishGrammaticalRelations
- The "controlling subject" grammatical relation.
- convertGrammarToGraphs(Pair, Set, Set) -
Method in class edu.stanford.nlp.parser.lexparser.GrammarCompactor
-
- convertGraphsToGrammar(Set, Set, Set) -
Method in class edu.stanford.nlp.parser.lexparser.GrammarCompactor
-
- COORDINATION -
Static variable in class edu.stanford.nlp.trees.EnglishGrammaticalRelations
- The "coordination" grammatical relation.
- COORDINATION -
Static variable in class edu.stanford.nlp.trees.international.pennchinese.ChineseGrammaticalRelations
- The "coordination" grammatical relation.
- CoordinationTransformer - Class in edu.stanford.nlp.trees
- Coordination transformer transforms a PennTreebank tree containing a coordination in a flat structure
in order to get the dependencies right
- CoordinationTransformer() -
Constructor for class edu.stanford.nlp.trees.CoordinationTransformer
-
- COPULA -
Static variable in class edu.stanford.nlp.trees.EnglishGrammaticalRelations
- The "copula" grammatical relation.
- copy(int[]) -
Static method in class edu.stanford.nlp.util.ArrayUtils
-
- copy(double[]) -
Static method in class edu.stanford.nlp.util.ArrayUtils
-
- copy(double[][]) -
Static method in class edu.stanford.nlp.util.ArrayUtils
-
- copy(double[][][]) -
Static method in class edu.stanford.nlp.util.ArrayUtils
-
- copy(float[]) -
Static method in class edu.stanford.nlp.util.ArrayUtils
-
- copy(float[][]) -
Static method in class edu.stanford.nlp.util.ArrayUtils
-
- copy(float[][][]) -
Static method in class edu.stanford.nlp.util.ArrayUtils
-
- correctDependencies(Collection<TypedDependency>) -
Method in class edu.stanford.nlp.trees.EnglishGrammaticalStructure
-
- correctDependencies(Collection<TypedDependency>) -
Method in class edu.stanford.nlp.trees.GrammaticalStructure
- Destructively modify the
TypedDependencyGraph
to correct
language-dependent dependencies.
- correctTags -
Static variable in class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams.EnglishTrain
- 'Correct' tags to produce verbs in VPs, etc.
- cosine(GenericCounter<E>, GenericCounter<E>) -
Static method in class edu.stanford.nlp.stats.Counters
-
- Counter<E> - Class in edu.stanford.nlp.stats
- A specialized kind of hash table (or map) for storing numeric counts for
objects.
- Counter() -
Constructor for class edu.stanford.nlp.stats.Counter
- Constructs a new (empty) Counter.
- Counter(MapFactory) -
Constructor for class edu.stanford.nlp.stats.Counter
- Pass in a MapFactory and the map it vends will back your counter.
- Counter(GenericCounter<E>) -
Constructor for class edu.stanford.nlp.stats.Counter
- Constructs a new Counter with the contents of the given Counter.
- Counter(Collection<E>) -
Constructor for class edu.stanford.nlp.stats.Counter
- Constructs a new Counter by counting the elements in the given Collection.
- counter -
Variable in class edu.stanford.nlp.stats.Distribution
-
- Counters - Class in edu.stanford.nlp.stats
- Static methods for operating on
Counter
s. - counterView() -
Method in class edu.stanford.nlp.stats.GeneralizedCounter
- Returns a read-only synchronous view (not a snapshot) of
this
as a Counter
.
- countHistory(IntDependency) -
Method in class edu.stanford.nlp.parser.lexparser.MLEDependencyGrammar
-
- countInfinite(double[]) -
Static method in class edu.stanford.nlp.math.ArrayMath
-
- countNaN(double[]) -
Static method in class edu.stanford.nlp.math.ArrayMath
-
- courseDistanceBin(int) -
Static method in class edu.stanford.nlp.parser.lexparser.AbstractDependencyGrammar
-
- createArrays(int) -
Method in class edu.stanford.nlp.parser.lexparser.ExhaustivePCFGParser
-
- createCounterFromCollection(Collection<E>) -
Static method in class edu.stanford.nlp.stats.Counters
-
- createCounterFromList(List<E>) -
Static method in class edu.stanford.nlp.stats.Counters
-
- createGraphFromPaths(List, int) -
Static method in class edu.stanford.nlp.fsm.TransducerGraph
- If markovOrder is zero, we always transition back to the start state
If markovOrder is negative, we assume that it is infinite
- createGraphFromPaths(Counter, int) -
Static method in class edu.stanford.nlp.fsm.TransducerGraph
-
- createRandomGraph(int, int, double, int, List) -
Static method in class edu.stanford.nlp.fsm.TransducerGraph
- For testing only.
- createRandomPaths(int, int, double, int) -
Static method in class edu.stanford.nlp.fsm.TransducerGraph
-
- cross(Set, Set) -
Static method in class edu.stanford.nlp.util.Sets
- returns the set cross product of s1 and s2, as
Pair
s
- crossEntropy(GenericCounter<E>, GenericCounter<E>) -
Static method in class edu.stanford.nlp.stats.Counters
- Note that this implementation doesn't normalize the "from" Counter.
- crossEntropy(GenericCounter<E>, Counter<E>) -
Static method in class edu.stanford.nlp.stats.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<Constituent>) -
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
-
- curChar -
Static variable in class edu.stanford.nlp.trees.tregex.tsurgeon.TsurgeonParserTokenManager
-
- current() -
Method in class edu.stanford.nlp.ling.AbstractMapLabel
- Return the String which is the unmangled word,
which is stored in the map under the key
CURRENT_KEY
.
- current() -
Method in interface edu.stanford.nlp.ling.HasContext
- Return the String which is the unmangled word.
- CURRENT_KEY -
Static variable in class edu.stanford.nlp.ling.AbstractMapLabel
- the standard key for the actual, unmangled, pre-PTB'd word
(from the InvertiblePTBTokenizer)
- 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.
- currentToken -
Variable in exception edu.stanford.nlp.trees.tregex.tsurgeon.ParseException
- This is the last token that has been consumed successfully.
- CUTOFFS -
Static variable in class edu.stanford.nlp.parser.lexparser.ParentAnnotationStats
- Minimum support * KL to be included in output and as feature
- CUTOFFS -
Static variable in class edu.stanford.nlp.parser.lexparser.SisterAnnotationStats
- Minimum support * KL to be included in output and as feature
Object.equals(java.lang.Object)
to determine equality.
GrammaticalStructure
.
DependencyTyper
.
DiskTreebank
is a Collection
of
Tree
s.System.out
.
System.out
.
Counters
.PTBTokenizer
.
this
dominates the Tree passed in
as an argument.
this
and the dominated node itself.
System.err
(without stopping timer).
EnglishGrammaticalRelations
is a
set of GrammaticalRelation
objects for the English language.GrammaticalStructure
from an
existing parse tree.
GrammaticalStructure
from an
existing parse tree.
List
of size equal to the depth of the GeneralizedCounter, and
each value is a Double
.
ValueLabel
s is defined in the first instance
as equality of their String
value()
.
TreeGraphNode
s.
Object
s to their equivalence classes.Collection
s.Object.equals(java.lang.Object)
as equality criterion
and grouping all items into the "null" equivalence class for reporting purposes
Object.equals(java.lang.Object)
as equality criterion
and grouping all items according to the EquivalenceClasser argument.
Object.equals(java.lang.Object)
as equality criterion
and grouping all items according to the EquivalenceClasser argument.
Object
s.Collection
s to the tabulated statistics of
the evaluation.
Tree
and a TregexMatcher
that has been successfully matched against the tree.
MapLabel
s.
Tag
).
TreeFactory
that produces trees of the
LabeledScoredTree{Node|Leaf}
type.
TreeFactory
that produces trees of the
LabeledScoredTree{Node|Leaf}
type, with
the Label
made with the supplied
LabelFactory
.
TreeFactory
that produces trees of the
LabeledScoredTree{Node|Leaf}
type.
TreeFactory
that produces trees of the
LabeledScoredTree{Node|Leaf}
type, with
the Label
made with the supplied
LabelFactory
.
TreeFactory
that produces trees of the
SimpleTree
type.
TreeFactory
that produces trees of type
TreeGraphNode
.
TreeFactory
that produces trees of type
TreeGraphNode
, with the Label
made
by the supplied LabelFactory
.
EquivalenceClassEval.Factory
instance that vends new EquivalenceClassEval instances with
settings like this
FilePathProcessor
traverses a directory structure and
applies the processFile
method to files meeting some
criterion.accept
method.null
if none.
TreeGraphNode
to which there
exists an arc bearing the specified label from this node, or
null
if no such node exists.
Set
of TreeGraphNode
s to
which there exist arcs bearing the specified label from this
node, or null
if no such nodes exist.
List
s of a
prespecified length.Function
object that maps Strings to Strings according
to this TreebankLanguagePack's basicCategory method.
Function
object that maps Strings to Strings according
to this TreebankLanguagePack's basicCategory method.
parse
was
called, or null if none exists.
Function
object that maps Strings to Strings according
to this TreebankLanguagePack's categoryAndFunction method.
Function
object that maps Strings to Strings according
to this TreebankLanguagePack's categoryAndFunction method.
GeneralizedCounter.getCounts(java.util.List)
({o})
; works only
for depth 1 GeneralizedCounters
GeneralizedCounter.getCounts(java.util.List)
({o1,o2})
; works only for depth 2
GeneralizedCounters
GeneralizedCounter.getCounts(java.util.List)
({o1,o2,o3})
; works only for depth 3
GeneralizedCounters
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
.
File
from which trees are currently being
read by apply()
and passed to a
TreePprocessor
.
Set
of leaf (terminal) nodes
which are the DEPENDENT
s of the given node t
.
GrammaticalStructure
.
GOVERNOR
of the given node t
.
name
in the pattern.
i
th node in the tree, with node numbers defined
as in Tree.nodeNumber(Tree)
.
Distribution
instead of using this method.
n
th preterminal in tree
.
Tree
node t
, attempts to
return a list of nodes to which node t
has this
grammatical relation.
SUBJECT
(whether
nominal or clausal) of the given node t
.
n
th terminal in tree
.
PTBTokenizer
.
GrammaticalRelation
is used to define a
standardized, hierarchical set of grammatical relations,
together with patterns for identifying them in
parse trees.GrammaticalStructure
is a TreeGraph
(that is, a tree with additional labeled
arcs between nodes) for representing the grammatical relations in a
parse tree.GrammaticalStructure
objects.GrammaticalStructure
objects of the given specific type
GrammaticalStructure
objects of the given specific type
HasCategory
interface
knows about categories.true
if this Tokenizer has more elements.
true
if and only if this Tokenizer has more elements.
HasTag
interface
knows about part-of-speech tags.HasWord
interface
knows about words.TueBaDZHeadFinder
.
head
(transitively) heads node
null
if none), as recorded in this node's MapLabel
.
null
if
none), which is stored in the map under the key HEAD_WORD_KEY
.
null
if none), as recorded in this node's MapLabel
.
IdentityHashMap
-backed
implementation of the Set
interface.GeneralizedCounter.depth()
-dimensional key l
.
GeneralizedCounter.incrementCount(java.util.List, java.lang.Object)
({o}, count)
;
only works for a depth 1 GeneralizedCounter.
INDEX_KEY
.
Tree
, starting with 1.
TreeGraphNode
.
dtr
after position
existing
daughters in this
.
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.
true
if this set contains no elements.
String
is the end-of-line token for
this tokenizer.
this
is a leaf.
t1
and t2
which are
dominated by this node, returns their "join node": the node
j
such that j
dominates both
t1
and t2
, and no other node which
also dominates both t1
and t2
dominates j
.
List
s of size
equal to the depth of the GeneralizedCounter.
Label
interface can act as a
constituent, node, or word label with linguistic attributes.Label
.LabeledConstituent
object represents a single bracketing in
a derivation, including start and end points and Label
information, but excluding probabilistic information.LabeledConstituent
object.
LabeledConstituent
object with given
values.
LabeledConstituent
object with given values.
LabeledConstituent
object with given values.
LabeledScoredConstituent
object defines an edge in a graph
with a label and a score.LabeledScoredConstituent
object.
LabeledScoredConstituent
object with given
values.
LabeledScoredConstituent
object with given
values.
LabeledScoredConstituentFactory
acts as a factory for
creating objects of class LabeledScoredConstituent
.LabeledScoredTreeFactory
acts as a factory for creating
trees with labels and scores.LabeledScoredTreeLeaf
represents the leaf of a tree
in a parse tree with labels and scores.LabeledScoredTreeNode
represents a tree composed of a root
label, a score,
and an array of daughter parse trees.TreeReaderFactory
that produces
labeled, scored array-based Trees, which have been cleaned up to
delete empties, etc.CategoryWordTag
).
LabelFactory
object acts as a factory for creating
objects of class Label
, or some descendant class.MapLabel
s.
StringLabel
).
Tag
).
TaggedWord
).
Word
).
TaggedWord
).
TaggedWord
).
Label
s,
null or otherwise, contained in the tree.
null
if none.
WordLemmaTag
.
Lexicon
object suitable to the particular language/treebank combination of interest.
LexerTokenizer
.Tokenizer
designed to work with
Lexer
implementing classes.edu.stanford.nlp.SerializedLexicalizedParser
,
or a default file location.
edu.stanford.nlp.SerializedLexicalizedParser
,
or a default file location
(/u/nlp/data/lexparser/englishPCFG.ser.gz
).
fromIndex
, inclusive, and
toIndex
, exclusive, of an array of numbers, which are
themselves input in log form.
List
of size one less than the depth of the GeneralizedCounter, and
each value is a Counter
.
Map
contained in this label.
AbstractMapLabel
implementation which uses Object equality
and hashcode.MapLabel
with null value.
MapLabel
with null value.
MapLabel
with the given value.
MapLabel
with the given value.
MapLabel
with the value of another
Label
as its value.
MapLabel
with the value of another
Label
as its value.
MapLabelFactory
is a factory that makes a
Label
which is a MapLabel
.TreeMatcher
that can match
this
pattern to the specified input tree.
TregexMatcher
for this pattern on this tree.
TreePattern
against the
specified Tree, at the supplied Tree
node t
.
node
.
float
values.
double
values.
head
in
root
given a HeadFinder
MemoryTreebank
object stores a corpus of examples with
given tree structures in memory (as a List
).float
values.
double
values.
NER_KEY
.
GrammaticalStructure
based on the given Tree
.
String
as the "name".
String
as the value.
String
objects passed in.
CategoryWordTag Label
, where the label is
formed from
the Label
object passed in.
String
as the
value
.
String
as the value, and
the type determined in an implementation-dependent way from the
options value.
Label
, where the label is formed from
the Label
object passed in.
String
as the value.
String
as the value.
MapLabel
with the value of
oldLabel
as its value.
String
as the "name".
String
as the "name".
StringLabel
, where the label is
formed from
the Label
object passed in.
String
as the value (word).
String
as a value component.
TaggedWord Label
, where the label is
formed from
the Label
object passed in.
String
passed in.
String
passed in.
Word Label
, where the label is
formed from
the Label
object passed in.
String
as the value (word).
String
as a value component.
WordLemmaTag Label
, where the label is
formed from the Label
object passed in.
String
as the value (word).
String
as a value component.
WordTag Label
, where the label is
formed from
the Label
object passed in.
String
as the "name".
String
as the value.
String
as the "name".
String
passed in.
String
passed in.
String
passed in.
String
passed in.
String
passed in.
String
passed in.
TreeReaderFactory
interface.
TreeReader
.
TreeReaderFactory
interface.
TreeReader
using the provided
Reader
.
root
and ending at this
.
Distribution
instead.
Tree
.
null
daughter
in parent
by ==.
Collection
.
List
of indexed objects, in the order of their indices.
this
as a Counter
.
GrammaticalRelation
.
TsurgeonPattern
.
Parser.Parser(String, String)
with both arguments being null
.
Constituent
s for PARSEVAL.
Constituent
s for
PARSEVAL evaluation.
t1
and t2
which are
dominated by this node, returns a list of all the nodes on the
path from t1 to t2, inclusive, or null if none found.
pennPrint()
and saves output to a String
PennTreeReader
is a TreeReader
that
reads in Penn Treebank-style files.Reader
.
Reader
.
Reader
.
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
MapLabel
s of all its descendants.
System.out
.
PrintWriter
.
PrintWriter
in the specified format.
Tree
as strings.
add()
, changePriority()
,
removeFirst()
, and getFirst()
method calls.File
.
length
character positions in the
lexer.
UnupportedOperationException
.
System.err
(without stopping timer).
System.err
and restart timer.
IOException
.TaggedWord
from two
lists of String
, one for the words, and the second for
the tags.
Sentence
.AFTER_KEY
.
true
, then multiple instances of the same item will not be merged.
BEFORE
}.
i
th child of this
with the tree t.
Tree
.
Tree
.
TreeGraphNode
.
CURRENT_KEY
.
String
returned when the inner tokenizer
returns an end-of-line token.
String
representing the
complete contents of the label.
String
passed in.
String
passed in.
String
as the "name", perhaps
by doing some appropriate decoding of the string.
INDEX_KEY
.
NER_KEY
.
HEAD_TAG_KEY
.
BasicDocument.parse(String)
.
Tokenizer
.
TreeGraph
of which this node
is a part.
SimpleConstituent
object defines a generic edge in a graph.SimpleConstituent
object.
SimpleConstituent
object with given values.
ConstituentFactory
acts as a factory for creating objects
of class Constituent
, or some descendent class.SimpleTree
is a minimal concrete implementation of an
unlabeled, unscored Tree
.SimpleTreeFactory
acts as a factory for creating objects
of class SimpleTree
.TreeFactory
.
TreeFactory
.
TreeReaderFactory
.Constituent
SloppyMath
contains methods for performing basic
numeric operations.System.err
and stop timer.
StringLabel
object acts as a Label by containing a
single String, which it sets or returns in response to requests.StringLabel
with a null content (i.e., str).
StringLabel
with the given content.
StringLabel
with the
value()
of another label as its label.
TreeReaderFactory
that produces
labeled, scored array-based Trees, which have been cleaned up to
delete empties, etc.StringLabelFactory
object makes a simple
StringLabel
out of a String
.Processor
whose process
method deletes all
SGML/XML/HTML tags (tokens starting with <
and ending
with >.- StripTagsProcessor() -
Constructor for class edu.stanford.nlp.process.StripTagsProcessor
- Constructs a new StripTagsProcessor that doesn't mark line breaks.
- StripTagsProcessor(boolean) -
Constructor for class edu.stanford.nlp.process.StripTagsProcessor
- Constructs a new StripTagProcessor that marks line breaks as specified.
- subArray(int[], int, int) -
Static method in class edu.stanford.nlp.math.ArrayMath
-
- 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.
- SUBJECT -
Static variable in class edu.stanford.nlp.trees.EnglishGrammaticalRelations
- The "subject" grammatical relation.
- SUBJECT -
Static variable in class edu.stanford.nlp.trees.international.pennchinese.ChineseGrammaticalRelations
- The "subject" grammatical relation.
- subList(int, int) -
Method in class edu.stanford.nlp.trees.MemoryTreebank
-
- subtractAll(GenericCounter<E>, boolean) -
Method in class edu.stanford.nlp.stats.Counter
- Subtracts the counts in the given Counter from the counts in this Counter.
- subtractAll(IntCounter<E>) -
Method in class edu.stanford.nlp.stats.IntCounter
- Subtracts the counts in the given Counter from the counts in this Counter.
- subtractAll(TwoDimensionalCounter<K1, K2>, boolean) -
Method in class edu.stanford.nlp.stats.TwoDimensionalCounter
-
- 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<Tree>) -
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
.
- sum(double[]) -
Static method in class edu.stanford.nlp.math.ArrayMath
- Returns the sum of an array of numbers.
- sum(double[], int, int) -
Static method in class edu.stanford.nlp.math.ArrayMath
- Returns the sum of the portion of an array of numbers between
fromIndex
, inclusive, and toIndex
, exclusive.
- sum(int[]) -
Static method in class edu.stanford.nlp.math.ArrayMath
-
- sum(float[]) -
Static method in class edu.stanford.nlp.math.ArrayMath
-
- sum(int[][]) -
Static method in class edu.stanford.nlp.math.ArrayMath
-
- sumSquaredError(double[]) -
Static method in class edu.stanford.nlp.math.ArrayMath
-
- SunJurafskyChineseHeadFinder - Class in edu.stanford.nlp.trees.international.pennchinese
- A headfinder for Chinese based on rules described in Sun/Jurafsky NAACL '04.
- SunJurafskyChineseHeadFinder() -
Constructor for class edu.stanford.nlp.trees.international.pennchinese.SunJurafskyChineseHeadFinder
-
- SunJurafskyChineseHeadFinder(TreebankLanguagePack) -
Constructor for class edu.stanford.nlp.trees.international.pennchinese.SunJurafskyChineseHeadFinder
-
- sunJurafskyHeadFinder -
Variable in class edu.stanford.nlp.parser.lexparser.ChineseTreebankParserParams
-
- SUPPCUTOFF -
Static variable in class edu.stanford.nlp.parser.lexparser.ParentAnnotationStats
- Minimum support of parent annotated node for grandparent to be
studied.
- SUPPCUTOFF -
Static variable in class edu.stanford.nlp.parser.lexparser.SisterAnnotationStats
- Minimum support of parent annotated node for grandparent to be
studied.
- supportedFonts(int) -
Static method in class edu.stanford.nlp.swing.FontDetector
- Returns which Fonts on the system can display the sample string.
- 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<E>, 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
-
- SwitchTo(int) -
Static method in class edu.stanford.nlp.trees.tregex.tsurgeon.TsurgeonParserTokenManager
-
- syncSpi() -
Method in class edu.stanford.nlp.util.DisabledPreferences
-
- systemRoot() -
Method in class edu.stanford.nlp.util.DisabledPreferencesFactory
-
null
if none),
which is stored in the map under the key TAG_KEY
.
Tag
object acts as a Label by containing a
String
that is a part-of-speech tag.Label
interface.
TaggedWord
object contains a word and its tag.TaggedWord
.
TaggedWord
.
TaggedWord
.
TaggedWord
.
TaggedWord
.
TaggedWordFactory
acts as a factory for creating objects of
class TaggedWord
.TaggedWordFactory
.
TaggedWordFactory
.
TreeGraph
of which this
node is part.
System.err
and restart (static) timer.
java.io.StreamTokenizer
and a edu.stanford.nlp.process.Tokenizer
.TokenizerAdaptor
.
BasicDocument.parse(String)
.
BasicDocument.parse(String)
.
String
representation of this node and
its subtree as a one-line parenthesized list.
List
key in the GeneralizedCounter.
String
representation of this
GrammaticalRelation
and the hierarchy below
it, with one node per line, indented according to level.
String
representation of this node and
its subtree with one node per line, indented according to
indentLevel
.
PriorityQueue
of the c where the score of the object is its priority.
Constituent
.
String
representation of the label.
String
containing the value (and index,
if any) of this label.
Constituent
.
GrammaticalRelation
.
String
representing this treegraph.
StringBuffer
.
StringBuffer
.
StringBuffer
.
MLEDependencyGrammarExtractor
.Tree
is used to collect all of the
tree types, and acts as a generic extendable type.Treebank
object provides access to a corpus of examples with
given tree structures.ChineseTreebankLanguagePack
TreeFactory
that produces trees of the
same type as the current Tree
.
TreeFactory
that produces trees of the
same type as the current Tree
.
TreeFactory
that produces trees of the
SimpleTree
type.
TreeFactory
that produces trees of the
appropriate type.
TreeFactory
acts as a factory for creating objects of
class Tree
, or some descendent class.TreeFactory
that produces
TreeGraphNode
s.
TreeGraph
is a tree with additional directed,
labeled arcs between arbitrary pairs of nodes.TreeGraph
having the same tree
structure and label values as an existing tree (but no shared
storage).
TreeGraph
of which this node is a
part.
TreeGraphNode
.
TreeGraphNode
with the supplied
label.
TreeGraphNode
with the supplied
label and list of child nodes.
TreeGraphNode
having the same tree
structure and label values as an existing tree (but no shared
storage).
TreeGraphNodeFactory
acts as a factory for creating
nodes in a TreeGraph
.TreeFactory
that produces
TreeGraphNode
s.
TreeLengthComparator
orders trees by their yield sentence
lengths.TreeLengthComparator
.
TreePattern
against a Tree
.tgrep
-type pattern.edu.stanford.nlp.trees.Tree
as the output of the
parser.TreeReader
adds functionality to another Reader
by reading in Trees, or some descendant class.TreeReaderFactory
for a Treebank
--
this method is provided in order to make the
TreeReaderFactory
available to subclasses.
TreeReaderFactory
is a factory for creating objects of
class TreeReader
, or some descendent class.Tree
class.Tree
.Tree
.TregexPattern
against a Tree
.tgrep
-type pattern for matching tree
node configurations.Tree
s when successfully matched on with a TregexMatcher
.TypedDependency
is a relation between two words in
a GrammaticalStructure
.ValueLabel
object acts as a Label with linguistic
attributes.toString()
,
pennPrint()
, or as in the Penn Treebank).
toString()
,
pennPrint()
, or as in the Penn Treebank.
WORD_KEY
.
Word
object acts as a Label by containing a String.null
value.
Label
interface.
WordFactory
acts as a factory for creating objects of
class Word
.WordLemmaTag
.
WordLemmaTag
.
WordLemmaTag
from a Label.
WordLemmaTagFactory
acts as a factory for creating
objects of class WordLemmaTag
.WordLemmaTagFactory
.
WordLemmaTagFactory
.
WordTag
.
WordTag
from a Label.
WordTagFactory
acts as a factory for creating
objects of class WordTag
.WordTagFactory
.
WordTagFactory
.
WordToSentenceProcessor
using a sensible default
list of tokens to split on.
WordToTaggedWordProcessor
using the default
forward slash character to split on.
matches()
.Reader
inside the Lexer.
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |