Serialized Form
|
Package edu.upenn.cis.propbank_shen |
|
Package edu.upenn.cis.spinal |
containingSentence
Sentence containingSentence
number
int number
terminal
String terminal
type
int type
rootOfSpine
SpinalNode rootOfSpine
bidirectionalParserOutput
boolean bidirectionalParserOutput
- Indicates that the input only specified the part of speech and not the
spine, as is the case for the output of Shen's bidirectional parser.
pos
String pos
attachments
ArrayList attachments
parent
ElemTree parent
- Null iff this tree is the root of the derivation tree.
attachmentToParent
edu.upenn.cis.spinal.ElemTree.TAGAttachment attachmentToParent
- the attachment by which this
ElemTree
attaches to its parent; null iff this is root of derivation tree
span
WordSpan span
- the yield of the subtree rooted by this ElemTree
slot
int slot
- Represents to which side this tree attaches to its parent.
completed
boolean completed
anchor
SpinalNode anchor
foot
SpinalNode foot
skip
boolean skip
- Some sentences in the LTAG-spinal Treebank only consist of the word "skip",
i.e. they're not really there -- the word indicates that the corresponding
sentence in the Penn Treebank has not been included in the LTAG-spinal
treebank.
sectionNumber
int sectionNumber
- The number of the Penn Treebank section from which this
Sentence has been taken, or -1 if not applicable.
fileNumber
int fileNumber
- The number of the Penn Treebank file from which this
Sentence has been taken, or -1 if not applicable.
sentenceNumber
int sentenceNumber
- The number of the Penn Treebank section from which this
Sentence has been taken, or -1 if not applicable.
root
ElemTree root
- The root of the sentence.
elemTrees
ArrayList elemTrees
- Contains all the elementary trees of this sentence in order.
spanTable
HashMap spanTable
- A lexicon mapping word spans to the corresponding nodes.
spansComputed
boolean spansComputed
- First call to
Sentence.computeSpans() sets this to true.
spanTableComputed
boolean spanTableComputed
- First call to
Sentence.computeSpanTable() sets this to true.
elemTreePattern
Pattern elemTreePattern
- Pattern used in method (@link loadFromStringRepresentation(String)}
source
Sentence source