|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Node
A node in a phrase structure tree
Method Summary | |
---|---|
boolean |
addEdge(Edge edge,
Node edgeVal)
Add an edge to the tree |
Constituent |
getConstituent()
Get the constituent of the node, that is the phrase trype |
Collection<Node> |
getEdge(Edge edge)
Get the edges to other nodes of a given arc type |
Map<Edge,Collection<Node>> |
getEdges()
Get the edges to other nodes |
PhraseTerminal |
getLeaf()
Get the leaf of the node. |
Text |
getSeparator()
Get the separator value between the subnodes. |
boolean |
removeEdge(Edge edge,
Node edgeVal)
Remove an edge from the tree |
void |
setConstituent(Constituent constituent)
Set the constituent of the node |
void |
setLeaf(PhraseTerminal product)
Set the leaf of the node |
void |
setSeparator(Text separator)
Set the separator value between the subnodes |
Methods inherited from interface eu.monnetproject.lemon.model.LemonElement |
---|
addAnnotation, addProperty, addType, getAnnotations, getAnnotations, getID, getProperty, getPropertys, getTypes, removeAnnotation, removeProperty, removeType |
Methods inherited from interface eu.monnetproject.lemon.model.LemonElementOrPredicate |
---|
getURI |
Method Detail |
---|
Constituent getConstituent()
void setConstituent(Constituent constituent)
Map<Edge,Collection<Node>> getEdges()
Collection<Node> getEdge(Edge edge)
boolean addEdge(Edge edge, Node edgeVal)
boolean removeEdge(Edge edge, Node edgeVal)
PhraseTerminal getLeaf()
void setLeaf(PhraseTerminal product)
Text getSeparator()
void setSeparator(Text separator)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |