|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
AbstractLabel
object acts as a Label with linguistic
attributes.AdaptiveLabelFactory
object makes simple
Label
s for objects, by creating a label of an
appropriate type depending on the arguments passed in.this + addend
does not change receiver.
cluster
to Clusters
SentenceReaderFactory
which is
suitable for reading in tagged or untagged sentences formatted
according to the conventions used in Adwait Ratnaparkhi's Java MXPOST and
MXTERMINATOR software.AdwaitSentenceReaderFactory
.
AnswerConstructor
.word
(which must be a Word
,
or else
a ClassCastException will be thrown, and returns stemmed
Word
.
Comparator
.
datum
to a category and returns the index of the category.
category
datum
to a category.
datum
to a category and returns the index of the category.
datum
to multiple categories with certain probabilities.
datum
to multiple categories with certain probabilities.
datum
to multiple categories with certain probabilities.
Category
object acts as a Label by containing a
String
that is a part-of-speech category.Label
interface.
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.false
to get per-iteration progress reports
(to stderr).
Treebank
.
Treebank
.
Sentencebank
.
Treebank
.
Sentencebank
.
Sentencebank
.
TreeReader
SentenceReader
.
Label
.
Comparable
interface.
Label
.
Pair
to another object.
Instance
.Constituent
object defines a generic edge in a graph.ConstituentFactory
is a factory for creating objects
of class Constituent
, or some descendent class.get
method.
key
word
from Senseval-1 format to CS224N format
http://www.foo.bar/dir/
DiskSentencebank
object stores merely the information to
get at a corpus of sentences that is stored on disk.DiskTreebank
object stores merely the information to
get at a corpus of trees that is stored on disk.this
to other
this
with other
Operates on cells at indexes 0 ..
this
with other
java.io
package in useful
ways for our applications.edu.stanford.nlp.trees.Word.EMPTY
at
each chart vertex, so that rules with empties on the RHS will parse.
SentenceReader
so as
to know whether an end-of-line is always to be treated as an
end-of-sentence.
SentenceReader
so as
to know whether an end-of-line is always to be treated as an
end-of-sentence.
cs==this
, false otherwise
cs==this
, false otherwise
o==this
Label
s is defined in the first instance
as equality of their String
value()
.
RankedExtractor
interface.
HMM
and Corpus
classes.SimpleLexicon
and a SimpleGrammar
from Penn Treebank files.TreeFactory
that produces trees of the
SimpleTree
type.
TreeFactory
that produces trees of the
LabeledScoredTree{Node|Leaf}
type.
TreeFactory
that produces trees of the
LabeledScoredTree{Node|Leaf}
type.
Category
).
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, with
the Label
made with the supplied
LabelFactory
.
FileArrayList
maintains a collection of Files
.FileArrayList
, with no Files in it.
FileArrayList
from the passed in
Collection
.
FileArrayList
from the passed in
Collection
.
FileArrayList
from the passed in
Collection
.
FileArrayList
from the passed in
Collection
.
FileArrayList
from the passed in
File
path.
FilePathProcessor
traverses a directory structure and
applies the processFile
method to files meeting some
criterion.FileSequentialCollection
maintains a read-only
collection of Files
.FileSequentialCollection
, with no Files
in it.
FileSequentialCollection
from the passed in
Collection
.
FileSequentialCollection
from the passed in
Collection
.
FileSequentialCollection
from the passed in
Collection
.
FileSequentialCollection
from the passed in
Collection
.
FileSequentialCollection
from the passed in
File
path.
accept
method.construct
method has returned.
null
if none
State
array.construct
method.
index
index
index
index
File
from which trees are currently being
read by apply()
, and pased to a
TreePprocessor
.
File
from which trees are currently being
read by apply()
, and pased to a
SentencePprocessor
.
getRank
.
HasAttributes
interface
knows about attributes stored in a Map
HasCategory
interface
knows about categoriesHasFollow
interface
knows about the characters that follow a token.HasTag
interface
knows about part-of-speech tags.HasType
interface
knows about HMM target types.HasWord
interface
knows about wordsHtmlCleaner
removes various code elements
(style
, script
, applet
, and so on)
from an HTML document.HtmlCleaner
with default settings.
HtmlCleaner
with default settings.
UIDs
similarities
matrix to be a m x m square matrix, where m=size
the matrix is of type ArrayListMatrix, the columns of which are of type GrowableDenseDoubleArray
this
is a leaf.
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.
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.LabelFactory
object acts as a factory for creating
objects of class Label
, or some descendent class.TaggedWord
).
CategoryWordTag
).
Category
).
StringLabel
).
Word
).
Label
s,
null or otherwise, contained in the tree.
null
if none
locusID
.locusID
title
and
text
variables.
Processor
whose process
method Converts a
collection of mixed-case Words to a collection of lowercase Words.HtmlCleaner
with default settings on a
specified file, printing the cleaned html to standard out.
java edu.stanford.nlp.annotation.Annotator [tagFileName]
main
method here.
double
values.
float
values.
MemorySentencebank
object stores a corpus of examples with
given sentence structures in memory (as a Collection)MemoryTreebank
object stores a corpus of examples with
given tree structures in memory (as a Collection).getMergedRank
.
double
values.
float
values.
function
starting at initial
, within
functionTolerance
.
Word Label
, where the label is
formed from
the Label
object passed in.
TaggedWord Label
, where the label is
formed from
the Label
object passed in.
StringLabel
, where the label is
formed from
the Label
object passed in.
CategoryWordTag Label
, where the label is
formed from
the Label
object passed in.
Label
, where the label is
formed from
the Label
object passed in.
Label
, where the label is formed from
the Label
object passed in.
String
passed in.
String
as the value (word).
String
as the "name".
String
as the "name".
String
as the
value
.
String
passed in.
String
as a value component.
String
as the "name".
String
as the value.
Label
, where the Label
is formed from the passed in String, using it to name the component
given by options
.
String
as the value, and
the type determined in an implementation-dependent way from the
options value.
String
objects passed in.
String
passed in.
String
passed in.
String
as the "name".
String
as the "name".
String
passed in.
SentenceReaderFactory
interface.
SentenceReaderFactory
interface.
SentenceReaderFactory
interface.
String
passed in.
TreeReaderFactory
interface.
TreeReaderFactory
interface.
TreeReaderFactory
interface.
TreeReaderFactory
interface.
TreeReaderFactory
interface.
TreeReader
using the provided
Reader
.
Sentence
.
Sentence
.
Tree
.
NullLabel
object acts as a Label with linguistic
attributes, but doesn't actually store or return anything.main()
method which finds all
argument-head and modifier-head pairs in a treebank and prints them out.TreeReaderFactory
that produces
labeled, scored array-based Trees, which have been cleaned up to
delete empties, etc.SentenceReaderFactory
which is
suitable for reading in tagged sentences from the Penn Treebank.db
filename
.db.
Appliable
given in the constructor.
File
.
reconcileIgnoredFields
except it handles
fields specified by suppressConflictPenalty
.
ignoreField
are ignored until the end, when this
method is called.
cluster
index
this * factor
does not change receiver.
this
b
and an exponent e
currentURL
changes, the searchRank
is updated.
TaggedWord
from two
lists of String
, one for the words, and the second for
the tags.
Sentencebank
object provides access to a corpus of
sentences -- just plain sentences or tagged sentences, etc.Processor
interface.Sentence
.SentenceReader
adds functionality to a Reader
by reading in Sentence
s, or some descendant class.Reader
.
Reader
.
Reader
.
Reader
.
SentenceReaderFactory
is a factory for creating objects of
class SentenceReader
, or some descendent class.SentenceReaderFactory
for a
Sentencebank
-- this method is provided in order to
make the
SentenceReaderFactory
available to subclasses.
P(d|z)
array to prdz
datum_index
to value
P(d|z) is the probability of datum d, given this cluster
P(w|z)
array to prwz
feature_index
to value
P(w|z) is the probability of feature w, given this cluster
value
P(z) is the cluster probability, or cluster weight
index
to cluster
value
value
value
value
(in sparse matrices, sets all nonzero elements = value)
Tree
index = column
dir
.
dir
.
.
String
passed in.
String
as the "name", perhaps
by doing some appropriate decoding of the string.
String
representing the
complete contents of the label.
par
sib
Cluster
s in Clusters
RandomVariable
in this observation.
size()
method for you in the obvious way by using the Iterator
.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.SentenceReaderFactory
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.Span
is an optimized SimpleConstituent
object,
It provides exactly the same functionality as a SimpleConstituent, but
by being final, and with its own implementation of Span equality,
it runs faster, so as to placate Dan Klein.Span
object.
Span
object with given values.
cluster
along the hyperplane orthogonal to the principal direction of the cluster.
s
and returns stemmed String
.
w
and returns stemmed Word
.
stoplistfile
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
value()
of another label as its label.
StringLabel
with the given content.
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
.Set
.
construct
method
and then exit.
Tag
object acts as a Label by containing a
String
that is a part-of-speech tag.Label
interface.
TaggedStreamTokenizer
is similar to
java.io.StreamTokenizer
,
except that it is better suited to deal with documents containing html-style
tags.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
.
test(testDocs,false,false)
.
List
of values.
Constituent
.
String
representation of the label.
SentenceReader
object.
Constituent
.
StringBuffer
.
StringBuffer
.
StringBuffer
.
filename
into an HTML Clusters file
Tree
is used to collect
all of the tree types, and acts as a generic composite type.Treebank
object provides access to a corpus of examples with
given tree structures.TreeFactory
acts as a factory for creating objects of
class Tree
, or some descendent class.TreeFactory
that produces trees of the
SimpleTree
type.
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
appropriate type.
Tree
.TreeReader
adds functionality to another Reader
by reading in Trees, or some descendant class.Reader
.
Reader
TreeReaderFactory
is a factory for creating objects of
class TreeReader
, or some descendent class.TreeReaderFactory
for a Treebank
--
this method is provided in order to make the
TreeReaderFactory
available to subclasses.
Tree
.TypedTaggedWord
objects.TypedTaggedWord
object contains a word, it's tag, and it's type.drugName
.drugName
.WeightedFollowedTaggedWord
object contains a word and its
tag, but it also records what text follows the token.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
.TreeReaderFactory
that produces
Word
labeled, scored array-based Trees, which have been
cleaned up to delete empties, etc., according to the
BobChrisTreeNormalizer
.TypedTaggedWord
to 0.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |