|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ElemTree | |
---|---|
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 ElemTree in edu.upenn.cis.propbank_shen |
---|
Methods in edu.upenn.cis.propbank_shen that return ElemTree | |
---|---|
ElemTree |
WordSpan.getSubTree(Sentence s)
Attempts to find a subtree whose root ElemTree yields the words described by this span. |
Uses of ElemTree in edu.upenn.cis.spinal |
---|
Methods in edu.upenn.cis.spinal that return ElemTree | |
---|---|
ElemTree |
SpinalNode.getElemTree()
Gets the elementary tree to which this spine or spinal node belongs. |
ElemTree |
Sentence.getElemTree(int n)
Returns the ElemTree associated with the n th word of
the sentence. |
ElemTree |
ElemTree.getParent()
Returns the ElemTree to which this ElemTree attaches,
or null iff this is the root. |
ElemTree |
Sentence.getRoot()
Returns the elementary tree at the root of this Sentence . |
ElemTree |
Sentence.getSubTree(int start,
int end)
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.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. |
Methods in edu.upenn.cis.spinal with parameters of type ElemTree | |
---|---|
boolean |
ElemTree.dominates(ElemTree other)
Returns true iff this ElemTree dominates the other tree
in the sentence (this includes
the case in which this.equals(other) ). |
boolean |
ElemTree.isParentOf(ElemTree other)
Returns true iff this ElemTree is the direct parent of
the other tree in the derivation tree. |
Constructors in edu.upenn.cis.spinal with parameters of type ElemTree | |
---|---|
SpinalNode(List list,
ElemTree host)
Creates an instance of SpinalNode from a tokenized list of strings. |
|
SpinalNode(String s,
ElemTree host)
Creates a new instance of SpinalNode from a string representation. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |