|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Sentence | |
---|---|
edu.upenn.cis.propbank_shen | Provides an API to the Propbank, modified for the version
included in Libin Shen's LTAG treebank in the file prop-all.idx . |
edu.upenn.cis.spinal | Provides a read/write programming API for the output of Libin Shen's incremental and bidirectional parsers and for the LTAG-spinal treebank. |
Uses of Sentence in edu.upenn.cis.propbank_shen |
---|
Methods in edu.upenn.cis.propbank_shen with parameters of type Sentence | |
---|---|
ElemTree |
WordSpan.getSubTree(Sentence s)
Attempts to find a subtree whose root ElemTree yields the words described by this span. |
Uses of Sentence in edu.upenn.cis.spinal |
---|
Methods in edu.upenn.cis.spinal that return Sentence | |
---|---|
Sentence |
ElemTree.getSentence()
Return the Sentence to which this ElemTree
belongs. |
Sentence |
SkippedSentenceException.getSource()
Returns the skipped sentence that caused this exception. |
Sentence |
Sentence.ofString(String representation)
Convenience method that calls the constructor, to follow the conventions in the Propbank API. |
static Sentence |
Sentence.readTree(BufferedReader inp)
Reads a string representation of a derivation tree from the specified BufferedReader . |
Methods in edu.upenn.cis.spinal with parameters of type Sentence | |
---|---|
abstract void |
AbstractWalker.forEachSentence(Sentence t)
Implementations of this method should specify what the class should do on reading in a sentence (a derivation tree) from the file. |
void |
EchoWalker.forEachSentence(Sentence s)
|
void |
GraphvizWalker.forEachSentence(Sentence s)
|
Constructors in edu.upenn.cis.spinal with parameters of type Sentence | |
---|---|
ElemTree(Sentence container,
String representation)
Creates an ElemTree from a string representation and attaches it
into the provided derivation tree (Sentence). |
|
SkippedSentenceException(Sentence source)
Creates a new instance of SkippedSentenceException and records the
sentence in question. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |