|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Counter
.remove()
defined to throw an
UnsupportedOperationException
.height
nodes up from the current node.
destNode
,
and returns the Set
of Object
s which
label those arcs.
destNode
,
or null
if no such arc exists.
StringUtils.argsToMap(java.lang.String[])
.
CoreMap
backed by Java Arrays.labelAnnotationIntroducingCharacters()
.
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
.
false
to get per-iteration progress reports
(to stderr).
Treebank
.
Treebank
.
Treebank
.
Treebank
.
IdentityHashSet
instance:
the elements themselves are not cloned.
Reader
used to create this
class.
TreeReader
.
Collection<TypedDependency>
to collapse
language-dependent transitive dependencies.
Collection<TypedDependency>
to collapse
language-dependent transitive dependencies but keeping a tree structure.
Collection
s.CollocationFinder
over the Tree
t.
CollocationFinder
over the Tree
t.
CollocationFinder
over the Tree
t.
value()
's lexicographic ordering.
MutableDouble
objects numerically.
MutableInteger
objects numerically.
Pair
to another object.
Constituent
object defines a generic edge in a graph.ConstituentFactory
is a factory for creating objects
of class Constituent
, or some descendent class.CoreMap
,
parameterized by the type of the value associated with the annotation.CoreMap
's.Tree.indexSpans(int)
Tree.indexSpans(int)
CoreLabel
s from Strings optionally with
beginning and ending (character after the end) offset positions in
an original text.TypedDependencyGraph
to correct
language-dependent dependencies.
Counter
s.Pair
s
CTBTreeReaderFactory
is a factory for creating a
TreeReader suitable for the Penn CTB.GrammaticalStructure
.
DiskTreebank
is a Collection
of
Tree
s.SequenceClassifier
s.this
dominates the Tree passed in
as an argument.
this
and the dominated node itself.
FileReader
but allows for the specification of input encoding.System.err
(without stopping timer).
EnglishGrammaticalRelations
is a
set of GrammaticalRelation
objects for the English language.ValueLabel
s is defined in the first instance
as equality of their String
value()
.
TreeGraphNode
s.
Tree
and a TregexMatcher
that has been successfully matched against the tree.
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
.
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.
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.
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.
File
from which trees are currently being
read by an Iterator or apply()
and passed to a
TreePprocessor
.
Set
of leaf (terminal) nodes
which are the DEPENDENT
s of the given node t
.
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)
.
edu.stanford.nlp.stats.Distribution
instead of using this method.
GrammaticalRelation
.
n
th preterminal in tree
.
Tree
node t
, attempts to
return a list of nodes to which node t
has this
grammatical relation.
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.ArrayCoreMap
with an immutable set of key,value
pairs that is used for equality and hashcode comparisons.true
if this Tokenizer has more elements.
true
if and only if this Tokenizer has more elements.
HasOffset
interface
bears a offset reference to the original textHasTag
interface
knows about part-of-speech tags.HasWord
interface
knows about words.head
(transitively) heads node
null
if none), as recorded in this node's CyclicCoreLabel
.
null
if none), as recorded in this node's CyclicCoreLabel
.
IdentityHashMap
-backed
implementation of the Set
interface.Tree
, starting with 1.
TreeGraphNode
.
dtr
after position
existing
daughters in this
.
Set
such that each element in the returned set
is a unique object e' that .equals the corresponding element e in the
original set.
Set
such that each element in the returned set
is a unique object e' that .equals the corresponding element e in the
original set.
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.
Collection
with the given glue.
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 every other node which
dominates both t1
and t2
dominates j
.
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.
LabeledScoredTreeFactory
acts as a factory for creating
trees 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.LabeledWord
object contains a word and its tag.TaggedWord
.
TaggedWord
.
TaggedWord
.
EmptyTreeLeaf
is invisible in the tagged yield
CategoryWordTag
).
TaggedWord
).
LabelFactory
object acts as a factory for creating
objects of class Label
, or some descendant class.StringLabel
).
TaggedWord
).
Word
).
TaggedWord
).
TaggedWord
).
Label
s,
null or otherwise, contained in the tree.
null
if none.
WordLemmaTag
.
loadFromFilename
, and is intended to be included in a routine
that unpacks a text-serialized form of an object that incorporates an Index.
Tree
s that ares the local trees
of the tree.
fromIndex
, inclusive, and
toIndex
, exclusive, of an array of numbers, which are
themselves input in log form.
java edu.stanford.nlp.process.WordShapeClassifier
[-wordShape name] string+
name
is an argument to lookupShaper
.
Extractors
objects found in the
file that is the first and only argument.
TregexMatcher
for this pattern on this tree.
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.
function
starting at initial
, within
functionTolerance
.
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 "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 "name".
String
passed in.
String
passed in.
String
passed in.
String
passed in.
String
passed in.
String
passed in.
TreeReader
using the provided
Reader
.
TreeReaderFactory
interface.
TreeReader
.
TreeReader
using the provided
Reader
.
root
and ending at this
.
Tree
.
daughter
in parent
by ==.
Collection
.
Collection
.
List
of indexed objects, in the order of their indices.
List
of indexed objects, in the order of their indices.
TsurgeonPattern
.
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
TreeReader
interface to read Penn Treebank-style
files.Reader
.
Reader
.
Reader
.
PennTreeReader
objects.LabeledScoredTreeFactory
,
with StringLabels, a PennTreebankTokenizer
,
and a TreeNormalizer
.
TreeFactory
;
uses a PennTreebankTokenizer
, and a TreeNormalizer
.
TreeNormalizer
;
uses a PennTreebankTokenizer
, and a LabeledScoredTreeFactory
.
TreeFactory
;
uses a PennTreebankTokenizer
, and a TreeNormalizer
.
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 CyclicCoreLabel
and the
CyclicCoreLabel
s of all its descendants.
PrintWriter
.
PrintWriter
in the specified format.
PrintWriter
.
Tree
as strings.
add()
, changePriority()
,
removeFirst()
, and getFirst()
method calls.File
.
UnupportedOperationException
.
System.err
(without stopping timer).
System.err
and restart timer.
num
num
IOException
.Random
number generator.
Random
number generator
Sentence
.i
th child of this
with the tree t.
Tree
.
Tree
.
TreeGraphNode
.
String
returned when the inner tokenizer
returns an end-of-line token.
String
representing the
complete contents of the label.
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.
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 given content.
StringLabel
with the
value()
of another label as its label.
StringLabelFactory
object makes a simple
StringLabel
out of a String
.Collection
.
fromIndex
, inclusive, and toIndex
, exclusive.
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
.
String
representation of this node and
its subtree as a one-line parenthesized list.
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
whose elements
are the keys of Counter c,
and the score of each key in c becomes its priority.
Constituent
.
String
representation of the label.
String
representation of the label.
String
containing the value (and index,
if any) of this label.
Constituent
.
GrammaticalRelation
.
String
representing this treegraph.
Appendable
, such as a StringBuffer
.
Appendable
, such as a StringBuffer
.
TaggedWord
from two
lists of String
, one for the words, and the second for
the tags.
Word
from a
list of String
.
Word
objects from
an array of String objects.
String
representation of the k
keys
with the largest counts in the given Counter
, using the given
format string.
Function
.Function
.
Function
.
Function
.
Function
.
Function
.
in
.
in
.
Function
.
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.CoreMap
's that require classes from
the trees package.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 descendant 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).
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.
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
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.
EmptyTreeLeaf
is invisible in the yield
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |