|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Counter
.remove()
defined to throw an
UnsupportedOperationException
.TreebankLangParserParams
implementing class.height
nodes up from the current node.
StreamTokenizer
.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
.
properties
are known to the program by checking that each simply overrides
a default value
Treebank
.
Treebank
.
Treebank
.
Treebank
.
IdentityHashSet
instance:
the elements themselves are not cloned.
TreeReader
.
Reader
used to create this
class.
TreeReader
.
Collection<TypedDependency>
by collapsing several types of transitive pairs of dependencies.
Collection<TypedDependency>
to collapse
language-dependent transitive dependencies.
Collection<TypedDependency>
by collapsing several types of transitive pairs of dependencies, but
keeping the tree structure.
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.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
.
DependencyTyper
.
DiskTreebank
is a Collection
of
Tree
s.this
dominates the Tree passed in
as an argument.
this
and the dominated node itself.
edu.stanford.nlp.trees.tregex
by Roger Levy.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.GrammaticalStructure
from an existing parse
tree.
GrammaticalStructure
from an existing parse
tree.
ValueLabel
s is defined in the first instance
as equality of their String
value()
.
TreeGraphNode
s.
Object
s
to their equivalence classes.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.FilteringTreeReader
filters the output of another TreeReader.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.
IndexedWord
in this SemanticGraph
having the given word or
regex, or returns empty list if no such found.
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.
Set
of leaf (terminal) nodes
which are the DEPENDENT
s of the given node t
.
GOVERNOR
of the given node t
.
AbstractEval.evaluate(edu.stanford.nlp.trees.Tree, edu.stanford.nlp.trees.Tree)
.
name
in the pattern.
name
in the pattern.
IndexedWord
in this SemanticGraph
having the given integer index,
or throws IllegalArgumentException
if no such node is found.
null
if the index does not exist
(instead of throwing an exception).
IndexedWord
in this SemanticGraph
having the given word or
regex, or return null if no such found.
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.
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.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
.
headWordNode
as this node.
IdentityHashMap
-backed
implementation of the Set
interface.CoreLabel
that uses its
DocIDAnnotation, SentenceIndexAnnotation, and IndexAnnotation to implement
Comparable/compareTo, hashCode, and equals.CoreLabel
default constructor
CoreLabel
copy constructor
It will set the value, and if the word is not set otherwise, set
the word to the value.
CoreLabel
copy constructor
CoreLabel
copy constructor
It will set the value, and if the word is not set otherwise, set
the word to the value.
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
.
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
.
Lexicon
object suitable to the particular language/treebank combination of interest.
LexerTokenizer
.Tokenizer
designed to work with
Lexer
implementing classes.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.
fromIndex
, inclusive, and
toIndex
, exclusive, of an array of numbers, which are
themselves input in log form.
SemanticGraph
to the given text (passage) SemanticGraph, using
the given array of indexes.
SemgrexMatcher
for this pattern in this graph.
SemgrexMatcher
for this pattern in this graph, with some
initial conditions on the variable assignments
SemgrexMatcher
for this pattern in this graph.
TregexMatcher
for this pattern on this tree.
node
.
node
.
int
values.
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.
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.
TreeReaderFactory
interface.
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.
String
associated with this
StringParsingTask
and returns a object of type
E
.
TsurgeonPattern
.
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.
pcfgThresholdValue
, then -Inf is returned as the
outside Score by oScore()
(while otherwise the true
outside score is returned).
pennPrint()
and saves output to a String
TreeReader
interface to read Penn Treebank-style
files.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.
System.out
.
System.out
, formatted by
the supplied semantic graph formatter.
System.out
, formatted by
the default semantic graph formatter.
PrintWriter
.
PrintWriter
in the specified format.
Tree
as strings.
add()
, changePriority()
,
removeFirst()
, and getFirst()
method calls.File
.
length
character positions in the
lexer.
Reader
, returning the same value.
Reader
into a byte array
Reader
as an InputStream
.ReaderInputStream
for the specified Reader
.
ReaderInputStream
for the specified Reader
,
with the specified encoding.
isWhiteSpace(ch)
or
isPunct(ch)
or StringParsingTask.isEOF()
.
UnupportedOperationException
.
System.err
(without stopping timer).
System.err
and restart timer.
num
num
num
IOException
.Random
number generator.
Random
number generator
SemgrexMatcher
can be used to match a SemgrexPattern
against a SemanticGraph
.tgrep
-type pattern for matching node
configurations in one of the SemanticGraph structures.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.
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
.
Constituent
SloppyMath
contains methods for performing basic
numeric operations.ann
to the given CoreLabel.
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.
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
.String
and
returns an object of type E
.StringParsingTask
from the specified
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.
toRecoveredString
, but will fill in words that were
collapsed into relations (i.e.
String
representation of this semantic graph,
formatted by the default semantic graph formatter.
String
representation of this semantic graph,
formatted by the supplied semantic graph formatter.
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.
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 descendant 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
.
Reader
inside the Lexer.
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |