|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectedu.northwestern.at.monk.model.ComboFeature
edu.northwestern.at.monk.model.LemPos
public class LemPos
A LemPos combination feature.
| Constructor Summary | |
|---|---|
LemPos(Lemma lemma,
Pos pos)
Creates a new LemPos. |
|
| Method Summary | |
|---|---|
int |
compareTo(LemPos other)
Compares this instance with another. |
boolean |
equals(java.lang.Object obj)
Returns true if this object equals some other object. |
Lemma |
getLemma()
Gets the lemma. |
Pos |
getPos()
Gets the part of speech. |
int |
hashCode()
Returns a hash code for this object. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LemPos(Lemma lemma,
Pos pos)
lemma - Lemma.pos - Part of speech.| Method Detail |
|---|
public Lemma getLemma()
public Pos getPos()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - Other object.
public int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(LemPos other)
LemPos objects are ordered by lemmma first, then by pos.
compareTo in interface java.lang.Comparable<LemPos>other - The other instance to be compared.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||