|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use WordSpan | |
|---|---|
| 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 WordSpan in edu.upenn.cis.propbank_shen |
|---|
| Fields in edu.upenn.cis.propbank_shen declared as WordSpan | |
|---|---|
protected WordSpan |
ArgLoc.ta
|
| Methods in edu.upenn.cis.propbank_shen that return WordSpan | |
|---|---|
static WordSpan |
WordSpan.combine(WordSpan w1,
WordSpan w2)
Merge two WordSpans. |
WordSpan |
ArgLoc.getWordSpan()
Returns the unique WordSpan if this location consists of just one span. |
static WordSpan |
WordSpan.merge(Iterator wordSpans)
Merge any number of WordSpans. |
static WordSpan |
WordSpan.ofString(String s)
Creates a WordSpan instance from a string of the form |
| Methods in edu.upenn.cis.propbank_shen with parameters of type WordSpan | |
|---|---|
static WordSpan |
WordSpan.combine(WordSpan w1,
WordSpan w2)
Merge two WordSpans. |
| Constructors in edu.upenn.cis.propbank_shen with parameters of type WordSpan | |
|---|---|
ArgLoc(WordSpan ta)
construct an argument location from a basic argument location |
|
| Uses of WordSpan in edu.upenn.cis.spinal |
|---|
| Methods in edu.upenn.cis.spinal that return WordSpan | |
|---|---|
WordSpan |
ElemTree.getSpan()
Returns the part of the sentence that is spanned by the yield of this elementary tree and its descendents. |
| Methods in edu.upenn.cis.spinal with parameters of type WordSpan | |
|---|---|
ElemTree |
Sentence.getSubTree(WordSpan w)
Returns the unique ElemTree that is the root of a subtree whose
yield is the specified word span, or null if there is no such
tree. |
ElemTree |
Sentence.subTreeForSpan(WordSpan w)
Returns the ElemTree whose yield is the given word span,
or null if there isn't one. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||