|
|||||||||
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.LemmaWorkCounts
public class LemmaWorkCounts
Lemma/work counts.
These count objects provide summary statistics for lemma/work combinations. Given a lemma and a work, we can quickly provide the following information using a two-column index on work/lemma:
These objects are used to quickly provide information for get info windows for words.
Constructor Summary | |
---|---|
LemmaWorkCounts()
Creates a new lemma/work counts object. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Returns true if some other object is equal to this one. |
java.lang.Long |
getId()
Gets the unique id. |
Lemma |
getLemma()
Gets the lemma. |
int |
getNumMajorClass()
Gets the major word class count. |
int |
getRank1()
Gets the lower rank. |
int |
getRank2()
Gets the upper rank. |
int |
getTermFreq()
Gets the term frequency. |
Work |
getWork()
Gets the work. |
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 |
Constructor Detail |
---|
public LemmaWorkCounts()
Method Detail |
---|
public java.lang.Long getId()
getId
in interface PersistentObject
public Work getWork()
public Lemma getLemma()
public int getTermFreq()
public int getRank1()
public int getRank2()
public int getNumMajorClass()
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 |