| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectse.lth.cs.nlp.nlputils.deptree.DepNode
public class DepNode
A node in a dependency tree.
| Field Summary | |
|---|---|
 DepNode[] | 
children
The children of this node.  | 
 String | 
features
The "features" in CoNLL-X terminology.  | 
 String | 
lemma
The lemma.  | 
 DepNode | 
parent
The parent of this node.  | 
 String | 
pos
The part of speech.  | 
 String | 
posFine
The "fine" part-of-speech (in CoNLL-X terminology).  | 
 int | 
position
The position of this node in the dependency graph.  | 
 String | 
relation
The relation of this node to its parent.  | 
 String | 
word
The word.  | 
| Constructor Summary | |
|---|---|
DepNode()
 | 
|
| Method Summary | |
|---|---|
 int | 
getSpanEnd()
The position of the rightmost descendent of this node.  | 
 int | 
getSpanStart()
The position of the leftmost descendent of this node.  | 
 String | 
toString()
 | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
public DepNode parent
public DepNode[] children
public String relation
public String word
public String pos
public String posFine
public String features
public String lemma
public int position
| Constructor Detail | 
|---|
public DepNode()
| Method Detail | 
|---|
public int getSpanStart()
public int getSpanEnd()
public String toString()
toString in class Object
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||