|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
AbstractLabel
object acts as a Label with linguistic
attributes.Lexer
.AdaptiveLabelFactory
object makes simple
Label
s for objects, by creating a label of an
appropriate type depending on the arguments passed in.SentenceReaderFactory
which is
suitable for reading in tagged or untagged sentences formatted
one per line with underscores used only to separate words from POS tags.AdwaitSentenceReaderFactory
.
AdwaitSentenceReaderFactory
.
word
(which must be a Word
,
or else
a ClassCastException will be thrown, and returns stemmed
Word
.
Comparator
.
labelAnnotationIntroducingCharacters()
.
labelAnnotationIntroducingCharacters()
.
PTBTokenizer
.
Category
object acts as a Label by containing a
String
that is a category (nonterminal).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.Treebank
.
Treebank
.
Treebank
.
Sentencebank
.
Sentencebank
.
Sentencebank
.
TreeReader
.
SentenceReader
.
TreeReader
.
MutableInteger
objects numerically.
Label
.
Comparable
interface.
Label
.
Label
.
Pair
to another object.
MutableInteger
object 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.Pair
s
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.java.io
package in useful
ways for our applications.System.err
.
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.
Label
s is defined in the first instance
as equality of their String
value()
.
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.
Tag
).
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.null
if none.
parse
was
called, or null if none exists.
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
.
HasAttributes
interface
knows about attributes stored in a Map
.HasCategory
interface
knows about categories.HasFollow
interface
knows about the characters that follow a token.true
if this Tokenizer has more elements.
true
if this Tokenizer has more elements.
HasTag
interface
knows about part-of-speech tags.HasWord
interface
knows about words.String
is the end-of-line token for
this tokenizer.
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
).
TaggedWord
).
Tag
).
CategoryWordTag
).
Category
).
StringLabel
).
Word
).
Label
s,
null or otherwise, contained in the tree.
null
if none.
edu.stanford.nlp.SerializedLexicalizedParser
,
or a default place.
Processor
whose process
method Converts a
collection of mixed-case Words to a collection of lowercase Words.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 List
).double
values.
float
values.
WordTag Label
, where the label is
formed from
the Label
object passed in.
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
as the value (word).
String
passed in.
String
as the value (word).
String
as the "name".
String
as the "name".
String
as the
value
.
String
as a value component.
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
passed in.
String
as the "name".
String
as the "name".
String
passed in.
SentenceReaderFactory
interface.
SentenceReaderFactory
interface.
SentenceReader
.
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.Processor
whose process
method converts a
numbers to the word "*NUMBER*"TreeReaderFactory
that produces
labeled, scored array-based Trees, which have been cleaned up to
delete empties, etc.Parser.Parser(String, String)
with both arguments being null
.
SentenceReaderFactory
which is
suitable for reading in tagged sentences from the Penn Treebank.PennTreeReader
is a TreeReader
that
reads in Penn Treebank-style files.Reader
.
Reader
.
Reader
.
File
.
next()
.
length
character positions in the
lexer.
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.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.
Sentence
.Tree
String
returned when the inner tokenizer
returns an end-of-line token.
String
passed in.
String
passed in.
String
as the "name", perhaps
by doing some appropriate decoding of the string.
String
representing the
complete contents of the label.
BasicDocument.parse(String)
.
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.Span
object.
Span
object with given values.
s
and returns stemmed String
.
w
and returns stemmed Word
.
stoplistfile
java.io.StreamTokenizer
and a edu.stanford.nlp.io.StreamTokenizer
.StreamTokenizer
.
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
.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.
- subList(int, int) -
Method in class edu.stanford.nlp.trees.MemoryTreebank
-
- subList(int, int) -
Method in class edu.stanford.nlp.util.Index
-
- subtractAll(Counter) -
Method in class edu.stanford.nlp.util.Counter
- Subtracts the counts in the given Counter from the counts in this Counter.
- 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(Set) -
Method in class edu.stanford.nlp.trees.Tree
- Add the set of all subtrees inside a tree (including the tree itself)
to the given
Set
.
- SUPPCUTOFF -
Static variable in class edu.stanford.nlp.parser.lexparser.SisterAnnotationStats
- Minimum support of parent annotated node for grandparent to be
studied.
- SUPPCUTOFF -
Static variable in class edu.stanford.nlp.parser.lexparser.ParentAnnotationStats
- Minimum support of parent annotated node for grandparent to be
studied.
- switchedFilter(Filter, boolean) -
Static method in class edu.stanford.nlp.util.Filters
- Filter that's either negated or normal as specified.
- syncSpi() -
Method in class edu.stanford.nlp.util.DisabledPreferences
-
- systemRoot() -
Method in class edu.stanford.nlp.util.DisabledPreferencesFactory
-
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
.
System.out
.
BasicDocument.parse(String)
.
BasicDocument.parse(String)
.
Constituent
.
String
representation of the label.
SentenceReader
object.
Constituent
.
StringBuffer
.
StringBuffer
.
StringBuffer
.
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.ChineseTreebankLanguagePack
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.
TreeLengthComparator
orders trees by their yield sentence
lengths.TreeLengthComparator
.
Tree
.TreeReader
adds functionality to another Reader
by reading in Trees, or some descendant class.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
.toString()
,
pennPrint()
, or as in the Penn Treebank).
toString()
,
pennPrint()
, or as in the Penn Treebank.
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
.WordTag
from a Label.
WordTag
.
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.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |