|
||||||||
| 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.WordForm
public class WordForm
A word form combination feature.
| Constructor Summary | |
|---|---|
WordForm(Lemma lemma,
Pos pos,
Spelling spelling)
Creates a new word form. |
|
| Method Summary | |
|---|---|
int |
compareTo(WordForm 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. |
Spelling |
getSpelling()
Gets the spelling. |
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 WordForm(Lemma lemma,
Pos pos,
Spelling spelling)
lemma - Lemma.pos - Part of speech.spelling - Spelling.| Method Detail |
|---|
public Lemma getLemma()
public Pos getPos()
public Spelling getSpelling()
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(WordForm other)
Word forms are ordered by lemmma first, then by pos, then by case and diacritical-insensitive spelling.
compareTo in interface java.lang.Comparable<WordForm>other - The other instance to be compared.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||