A C E F G H L M N P R S T U V W

A

AbstractLabel - class edu.stanford.nlp.trees.AbstractLabel.
An AbstractLabel object acts as a Label with linguistic attributes.
AbstractLabel() - Constructor for class edu.stanford.nlp.trees.AbstractLabel
 
AdaptiveLabelFactory - class edu.stanford.nlp.trees.AdaptiveLabelFactory.
An AdaptiveLabelFactory object makes simple Labels for objects, by creating a label of an appropriate type depending on the arguments passed in.
AdaptiveLabelFactory() - Constructor for class edu.stanford.nlp.trees.AdaptiveLabelFactory
 
addFERole(String, String, int, int) - Method in class edu.stanford.nlp.framenet.FNLayer
Add the name and start/end positions to a role; creates the role if it is not yet in the Layer.
addLayer(FNLayer) - Method in class edu.stanford.nlp.framenet.FNSentence
 
addRole(String, String) - Method in class edu.stanford.nlp.framenet.FNLayer
 

C

Category - class edu.stanford.nlp.trees.Category.
A Category object acts as a Label by containing a String that is a part-of-speech category.
CATEGORY_LABEL - Static variable in class edu.stanford.nlp.trees.AdaptiveLabelFactory
 
category() - Method in interface edu.stanford.nlp.trees.HasCategory
Return the category value of the label (or null if none).
category() - Method in class edu.stanford.nlp.trees.Category
 
Category() - Constructor for class edu.stanford.nlp.trees.Category
Constructs a Category object.
Category(Label) - Constructor for class edu.stanford.nlp.trees.Category
Creates a new category whose category value is the value of any class that supports the Label interface.
Category(String) - Constructor for class edu.stanford.nlp.trees.Category
Constructs a Category object.
close() - Method in class edu.stanford.nlp.framenet.FN2Reader
 
compareTo(Object) - Method in class edu.stanford.nlp.trees.AbstractLabel
Implementation of comparison for Label.
compareTo(Object) - Method in interface edu.stanford.nlp.trees.Label
Implementation of comparison for Label.

E

edu.stanford.nlp.framenet - package edu.stanford.nlp.framenet
FrameNet reading classes.
edu.stanford.nlp.trees - package edu.stanford.nlp.trees
 
EMPTY - Static variable in class edu.stanford.nlp.trees.Word
Word representation of an empty.
EMPTYSTRING - Static variable in class edu.stanford.nlp.trees.Category
The empty category.
EMPTYSTRING - Static variable in class edu.stanford.nlp.trees.Word
String representation of an empty.
equals(Object) - Method in class edu.stanford.nlp.trees.AbstractLabel
Equality for Labels is defined in the first instance as equality of their String value().

F

factory() - Static method in class edu.stanford.nlp.trees.Category
Return a factory for this kind of label (i.e., Category).
factory() - Static method in class edu.stanford.nlp.trees.Tag
Return a factory for this kind of label (i.e., Tag).
factory() - Static method in class edu.stanford.nlp.trees.StringLabel
Return a factory for this kind of label.
factory() - Static method in class edu.stanford.nlp.trees.TaggedWord
Return a factory for this kind of label.
factory() - Static method in class edu.stanford.nlp.trees.Word
Return a factory for this kind of label.
FN2Reader - class edu.stanford.nlp.framenet.FN2Reader.
Uses DOM libraries to read in a lexical unit xml file from FrameNet 2.
FN2Reader(File) - Constructor for class edu.stanford.nlp.framenet.FN2Reader
would really want this to take a Reader, but DocumentBuilder parse needs a InputStream or File
FNCorpus - class edu.stanford.nlp.framenet.FNCorpus.
A simple shell to echo a FrameNet corpus.
FNCorpus() - Constructor for class edu.stanford.nlp.framenet.FNCorpus
 
FNLayer - class edu.stanford.nlp.framenet.FNLayer.
A layer of FrameNet annotation corresponds to a single target and the annotation associated with it.
FNLayer() - Constructor for class edu.stanford.nlp.framenet.FNLayer
Constructor with empty frame name.
FNLayer(String) - Constructor for class edu.stanford.nlp.framenet.FNLayer
Constructor whose frame is the given name.
FNRole - class edu.stanford.nlp.framenet.FNRole.
An instance of a FrameNet role annotation.
FNRole() - Constructor for class edu.stanford.nlp.framenet.FNRole
 
FNRole(String, String) - Constructor for class edu.stanford.nlp.framenet.FNRole
Constructor for role of the given name and consisting of the given words.
FNSentence - class edu.stanford.nlp.framenet.FNSentence.
A FrameNet sentence.
FNSentence() - Constructor for class edu.stanford.nlp.framenet.FNSentence
 
frame() - Method in class edu.stanford.nlp.framenet.FNLayer
 

G

getEnd() - Method in class edu.stanford.nlp.framenet.FNRole
 
getFrame() - Method in class edu.stanford.nlp.framenet.FNRole
 
getGF() - Method in class edu.stanford.nlp.framenet.FNRole
 
getLayers() - Method in class edu.stanford.nlp.framenet.FNSentence
return an array of the layers (one per target) of the sentence.
getPT() - Method in class edu.stanford.nlp.framenet.FNRole
 
getRoleName() - Method in class edu.stanford.nlp.framenet.FNRole
 
getRoles() - Method in class edu.stanford.nlp.framenet.FNLayer
 
getSentence() - Method in class edu.stanford.nlp.framenet.FNSentence
 
getStart() - Method in class edu.stanford.nlp.framenet.FNRole
 
getTarget() - Method in class edu.stanford.nlp.framenet.FNLayer
 
getWord(int) - Method in class edu.stanford.nlp.trees.Sentence
Return the Word at the given index.

H

HasCategory - interface edu.stanford.nlp.trees.HasCategory.
Something that implements the HasCategory interface knows about categories.
hashCode() - Method in class edu.stanford.nlp.trees.AbstractLabel
Return the hashCode of the String value providing there is one.
HasTag - interface edu.stanford.nlp.trees.HasTag.
Something that implements the HasTag interface knows about part-of-speech tags.
HasWord - interface edu.stanford.nlp.trees.HasWord.
Something that implements the HasWord interface knows about words.

L

Label - interface edu.stanford.nlp.trees.Label.
Something that implements the Label interface can act as a constituent, node, or word label with linguistic attributes.
LabelFactory - interface edu.stanford.nlp.trees.LabelFactory.
A LabelFactory object acts as a factory for creating objects of class Label, or some descendent class.
labelFactory() - Method in class edu.stanford.nlp.trees.Category
Return a factory for this kind of label (i.e., Category).
labelFactory() - Method in class edu.stanford.nlp.trees.Tag
Return a factory for this kind of label (i.e., Tag).
labelFactory() - Method in class edu.stanford.nlp.trees.AbstractLabel
Returns a factory that makes Labels of the appropriate sort.
labelFactory() - Method in class edu.stanford.nlp.trees.StringLabel
Return a factory for this kind of label (i.e., StringLabel).
labelFactory() - Method in interface edu.stanford.nlp.trees.Label
Returns a factory that makes labels of the same type as this one.
labelFactory() - Method in class edu.stanford.nlp.trees.TaggedWord
Return a factory for this kind of label (i.e., TaggedWord).
labelFactory() - Method in class edu.stanford.nlp.trees.Word
Return a factory for this kind of label (i.e., Word).
length() - Method in class edu.stanford.nlp.trees.Sentence
A convenience method since we normally say sentences have a length.

M

main(String[]) - Static method in class edu.stanford.nlp.framenet.FNCorpus
 
main(String[]) - Static method in class edu.stanford.nlp.framenet.FN2Reader
 

N

newLabel(Label) - Method in class edu.stanford.nlp.trees.AdaptiveLabelFactory
Create a new Label, where the label is formed from the Label object passed in.
newLabel(Label) - Method in class edu.stanford.nlp.trees.StringLabelFactory
Create a new StringLabel, where the label is formed from the Label object passed in.
newLabel(Label) - Method in class edu.stanford.nlp.trees.TaggedWordFactory
Create a new TaggedWord Label, where the label is formed from the Label object passed in.
newLabel(Label) - Method in class edu.stanford.nlp.trees.WordFactory
Create a new Word Label, where the label is formed from the Label object passed in.
newLabel(Label) - Method in interface edu.stanford.nlp.trees.LabelFactory
Create a new Label, where the label is formed from the Label object passed in.
newLabel(String) - Method in class edu.stanford.nlp.trees.AdaptiveLabelFactory
The AdaptiveLabelFactory does not support this operation, because it does not know what sort of label to make.
newLabel(String) - Method in class edu.stanford.nlp.trees.StringLabelFactory
Make a new label with this String as the "name".
newLabel(String) - Method in class edu.stanford.nlp.trees.TaggedWordFactory
Make a new label with this String as the value (word).
newLabel(String) - Method in class edu.stanford.nlp.trees.WordFactory
Create a new word, where the label is formed from the String passed in.
newLabel(String) - Method in interface edu.stanford.nlp.trees.LabelFactory
Make a new label with this String as the value.
newLabel(String, int) - Method in class edu.stanford.nlp.trees.AdaptiveLabelFactory
Create a new Label, where the Label is formed from the passed in String, using it to name the component given by options.
newLabel(String, int) - Method in class edu.stanford.nlp.trees.StringLabelFactory
Make a new label with this String as the "name".
newLabel(String, int) - Method in class edu.stanford.nlp.trees.TaggedWordFactory
Make a new label with this String as a value component.
newLabel(String, int) - Method in class edu.stanford.nlp.trees.WordFactory
Create a new word, where the label is formed from the String passed in.
newLabel(String, int) - Method in interface edu.stanford.nlp.trees.LabelFactory
Make a new label with this String as the value, and the type determined in an implementation-dependent way from the options value.
newLabelFromString(String) - Method in class edu.stanford.nlp.trees.AdaptiveLabelFactory
The AdaptiveLabelFactory does not support this operation, because it does not know what sort of label to make.
newLabelFromString(String) - Method in class edu.stanford.nlp.trees.StringLabelFactory
Make a new label with this String as the "name".
newLabelFromString(String) - Method in class edu.stanford.nlp.trees.TaggedWordFactory
Create a new word, where the label is formed from the String passed in.
newLabelFromString(String) - Method in class edu.stanford.nlp.trees.WordFactory
Create a new word, where the label is formed from the String passed in.
newLabelFromString(String) - Method in interface edu.stanford.nlp.trees.LabelFactory
Make a new label.

P

process(File) - Method in class edu.stanford.nlp.framenet.FNCorpus
 

R

readSent() - Method in class edu.stanford.nlp.framenet.FN2Reader
reads a FNSentence from the xml file.

S

Sentence - class edu.stanford.nlp.trees.Sentence.
Sentence holds a single sentence, and mediating between word numbers and words.
Sentence() - Constructor for class edu.stanford.nlp.trees.Sentence
Constructs an empty sentence.
Sentence(Collection) - Constructor for class edu.stanford.nlp.trees.Sentence
Constructs a sentence from the input Collection.
Sentence(List, List) - Constructor for class edu.stanford.nlp.trees.Sentence
Create a Sentence as a list of TaggedWord from two lists of String, one for the words, and the second for the tags.
setCategory(String) - Method in interface edu.stanford.nlp.trees.HasCategory
Set the category value for the label (if one is stored).
setCategory(String) - Method in class edu.stanford.nlp.trees.Category
 
setDivider(String) - Static method in class edu.stanford.nlp.trees.TaggedWord
Set the String (usually just a single character) used to mark the separation between the word and the tag.
setEnd(int) - Method in class edu.stanford.nlp.framenet.FNRole
 
setFrame(String) - Method in class edu.stanford.nlp.framenet.FNLayer
 
setFromString(String) - Method in class edu.stanford.nlp.trees.AbstractLabel
 
setFromString(String) - Method in class edu.stanford.nlp.trees.StringLabel
Set the label from a String.
setFromString(String) - Method in interface edu.stanford.nlp.trees.Label
Set the contents of this label to this String representing the complete contents of the label.
setFromString(String) - Method in class edu.stanford.nlp.trees.TaggedWord
Sets a TaggedWord from decoding the String passed in.
setGF(String) - Method in class edu.stanford.nlp.framenet.FNRole
 
setPT(String) - Method in class edu.stanford.nlp.framenet.FNRole
 
setRoleName(String) - Method in class edu.stanford.nlp.framenet.FNRole
 
setSentence(String) - Method in class edu.stanford.nlp.framenet.FNSentence
 
setStart(int) - Method in class edu.stanford.nlp.framenet.FNRole
 
setTag(String) - Method in class edu.stanford.nlp.trees.Tag
 
setTag(String) - Method in interface edu.stanford.nlp.trees.HasTag
Set the tag value for the label (if one is stored).
setTag(String) - Method in class edu.stanford.nlp.trees.TaggedWord
 
setTarget(String) - Method in class edu.stanford.nlp.framenet.FNLayer
 
setValue(String) - Method in class edu.stanford.nlp.trees.AbstractLabel
Set the value for the label (if one is stored).
setValue(String) - Method in class edu.stanford.nlp.trees.StringLabel
Set the value for the label.
setValue(String) - Method in interface edu.stanford.nlp.trees.Label
Set the value for the label (if one is stored).
setWord(String) - Method in interface edu.stanford.nlp.trees.HasWord
Set the word value for the label (if one is stored).
setWord(String) - Method in class edu.stanford.nlp.trees.Word
 
setWords(Collection) - Method in class edu.stanford.nlp.trees.Sentence
Set the Sentence to this Collection of Word's.
setWords(String) - Method in class edu.stanford.nlp.framenet.FNRole
 
StringLabel - class edu.stanford.nlp.trees.StringLabel.
A StringLabel object acts as a Label by containing a single String, which it sets or returns in response to requests.
StringLabel() - Constructor for class edu.stanford.nlp.trees.StringLabel
Create a new StringLabel with a null content (i.e., str).
StringLabel(Label) - Constructor for class edu.stanford.nlp.trees.StringLabel
Create a new StringLabel with the value() of another label as its label.
StringLabel(String) - Constructor for class edu.stanford.nlp.trees.StringLabel
Create a new StringLabel with the given content.
StringLabelFactory - class edu.stanford.nlp.trees.StringLabelFactory.
A StringLabelFactory object makes a simple StringLabel out of a String.
StringLabelFactory() - Constructor for class edu.stanford.nlp.trees.StringLabelFactory
 

T

Tag - class edu.stanford.nlp.trees.Tag.
A Tag object acts as a Label by containing a String that is a part-of-speech tag.
TAG_LABEL - Static variable in class edu.stanford.nlp.trees.AdaptiveLabelFactory
 
tag() - Method in class edu.stanford.nlp.trees.Tag
 
tag() - Method in interface edu.stanford.nlp.trees.HasTag
Return the tag value of the label (or null if none).
tag() - Method in class edu.stanford.nlp.trees.TaggedWord
 
Tag() - Constructor for class edu.stanford.nlp.trees.Tag
Constructs a Tag object.
Tag(Label) - Constructor for class edu.stanford.nlp.trees.Tag
Creates a new tag whose tag value is the value of any class that supports the Label interface.
Tag(String) - Constructor for class edu.stanford.nlp.trees.Tag
Constructs a Tag object.
TaggedWord - class edu.stanford.nlp.trees.TaggedWord.
A TaggedWord object contains a word and its tag.
TaggedWord() - Constructor for class edu.stanford.nlp.trees.TaggedWord
Create a new TaggedWord.
TaggedWord(Label) - Constructor for class edu.stanford.nlp.trees.TaggedWord
Create a new TaggedWord.
TaggedWord(Label, Label) - Constructor for class edu.stanford.nlp.trees.TaggedWord
Create a new TaggedWord.
TaggedWord(String) - Constructor for class edu.stanford.nlp.trees.TaggedWord
Create a new TaggedWord.
TaggedWord(String, String) - Constructor for class edu.stanford.nlp.trees.TaggedWord
Create a new TaggedWord.
TaggedWordFactory - class edu.stanford.nlp.trees.TaggedWordFactory.
A TaggedWordFactory acts as a factory for creating objects of class TaggedWord.
TaggedWordFactory() - Constructor for class edu.stanford.nlp.trees.TaggedWordFactory
Create a new TaggedWordFactory.
TaggedWordFactory(char) - Constructor for class edu.stanford.nlp.trees.TaggedWordFactory
Create a new TaggedWordFactory.
toString() - Method in class edu.stanford.nlp.framenet.FNSentence
 
toString() - Method in class edu.stanford.nlp.framenet.FNRole
 
toString() - Method in class edu.stanford.nlp.framenet.FNLayer
 
toString() - Method in class edu.stanford.nlp.trees.AbstractLabel
Return a string representation of the label.
toString() - Method in interface edu.stanford.nlp.trees.Label
Return a String representation of the label.
toString() - Method in class edu.stanford.nlp.trees.TaggedWord
 
toString() - Method in class edu.stanford.nlp.trees.Sentence
Returns the sentence as a string with a space between words.
toString(boolean) - Method in class edu.stanford.nlp.trees.Sentence
Returns the sentence as a string with a space between words.

U

updateRole(int, int, String, String) - Method in class edu.stanford.nlp.framenet.FNLayer
add PT or GT info; role may not exist yet, if not then create it.

V

value() - Method in class edu.stanford.nlp.trees.AbstractLabel
Return the value of the label (or null if none).
value() - Method in class edu.stanford.nlp.trees.StringLabel
Return the word value of the label (or null if none).
value() - Method in interface edu.stanford.nlp.trees.Label
Return a String representation of just the "main" value of this label.

W

Word - class edu.stanford.nlp.trees.Word.
A Word object acts as a Label by containing a String.
WORD_LABEL - Static variable in class edu.stanford.nlp.trees.AdaptiveLabelFactory
 
word() - Method in interface edu.stanford.nlp.trees.HasWord
Return the word value of the label (or null if none).
word() - Method in class edu.stanford.nlp.trees.Word
 
Word() - Constructor for class edu.stanford.nlp.trees.Word
Construct a new word with a null value.
Word(Label) - Constructor for class edu.stanford.nlp.trees.Word
Creates a new word whose word value is the value of any class that supports the Label interface.
Word(String) - Constructor for class edu.stanford.nlp.trees.Word
Construct a new word, with the given value.
WordFactory - class edu.stanford.nlp.trees.WordFactory.
A WordFactory acts as a factory for creating objects of class Word.
WordFactory() - Constructor for class edu.stanford.nlp.trees.WordFactory
Creates a new WordFactory.

A C E F G H L M N P R S T U V W