|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.ucdenver.ccp.esm.Vertex
public class Vertex
Definition of Vertex for dependency graphs
Vertex is then fed into graphs of the JUNG library
The Vertex definition can be modified based on one's own needs
| Constructor Summary | |
|---|---|
Vertex()
default Construtor to initialize the class fields to empty |
|
Vertex(String token)
Construtor to initialize the class field |
|
| Method Summary | |
|---|---|
String |
getCompareForm()
retrieve the comparison form of the node |
String |
getTag()
retrieve the POS tag of the node |
String |
getToken()
retrieve original token of the node |
String |
getWord()
retrieve the word of the node |
void |
setCompareForm(String compareForm)
set the comparison form of the node |
void |
setGeneralizedPOS(String generalizedPOS)
set the generalized POS tag of the node |
void |
setLemma(String lemma)
set lemma for the node |
String |
toString()
print node content |
protected void |
update(Vertex target)
use one node's information to update another node |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Vertex(String token)
public Vertex()
| Method Detail |
|---|
protected void update(Vertex target)
public String getToken()
public String getWord()
public String getTag()
public void setLemma(String lemma)
lemma - public String getCompareForm()
public void setCompareForm(String compareForm)
compareForm - public void setGeneralizedPOS(String generalizedPOS)
generalizedPOS - public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||