|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.northwestern.at.wordhoard.model.counts.LemmaPosSpellingCounts
public class LemmaPosSpellingCounts
Lemma/Pos/Spelling counts.
These count objects provide summary statistics for lemma, part of speech, and spelling combinations, at the corpus, work, and work part levels.
Field Summary | |
---|---|
static byte |
CORPUS_COUNT
Corpus count kind. |
static byte |
WORK_COUNT
Work count kind. |
static byte |
WORK_PART_COUNT
Work part count kind. |
Constructor Summary | |
---|---|
LemmaPosSpellingCounts()
Creates a new lemma/pos/spelling counts object. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Returns true if some other object is equal to this one. |
Corpus |
getCorpus()
Gets the corpus. |
int |
getFreq()
Gets the frequency. |
int |
getFreqFirstWordPart()
Gets the frequency for first word parts. |
java.lang.Long |
getId()
Gets the unique id. |
byte |
getKind()
Gets the count kind. |
Lemma |
getLemma()
Gets the lemma. |
Pos |
getPos()
Gets the part of speech. |
Spelling |
getSpelling()
Gets the spelling. |
Work |
getWork()
Gets the work. |
WorkPart |
getWorkPart()
Gets the work part. |
int |
hashCode()
Returns a hash code for the object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final byte CORPUS_COUNT
public static final byte WORK_COUNT
public static final byte WORK_PART_COUNT
Constructor Detail |
---|
public LemmaPosSpellingCounts()
Method Detail |
---|
public java.lang.Long getId()
getId
in interface PersistentObject
public byte getKind()
public Corpus getCorpus()
public Work getWork()
public WorkPart getWorkPart()
public Lemma getLemma()
public Pos getPos()
public Spelling getSpelling()
public int getFreq()
public int getFreqFirstWordPart()
public boolean equals(java.lang.Object obj)
The two objects are equal if their ids are equal.
equals
in class java.lang.Object
obj
- The other object.
public int hashCode()
hashCode
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |