|
|||||||||
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.LemmaCorpusCounts
public class LemmaCorpusCounts
Lemma/corpus counts.
These count objects provide summary statistics for lemma/corpus combinations. Given a lemma and a corpus, we can quickly provide the following information using a two-column index on corpus/lemma:
These objects are used to quickly construct get info windows for words and lemmas and lexicon windows.
Constructor Summary | |
---|---|
LemmaCorpusCounts()
Creates a new lemma/corpus counts object. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Returns true if some other object is equal to this one. |
int |
getColFreq()
Gets the collection frequency. |
Corpus |
getCorpus()
Gets the corpus. |
int |
getDocFreq()
Gets the document frequency. |
java.lang.Long |
getId()
Gets the unique id. |
Lemma |
getLemma()
Gets the lemma. |
java.lang.String |
getMajorClass()
Gets the lemma's major word class. |
int |
getNumMajorClass()
Gets the major word class count. |
int |
getRank1()
Gets the lower rank. |
int |
getRank2()
Gets the upper rank. |
Spelling |
getTag()
Gets the lemma's tag. |
WordClass |
getWordClass()
Gets the lemma's word class. |
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 LemmaCorpusCounts()
Method Detail |
---|
public java.lang.Long getId()
getId
in interface PersistentObject
public Corpus getCorpus()
public Lemma getLemma()
public Spelling getTag()
public WordClass getWordClass()
public java.lang.String getMajorClass()
public int getColFreq()
public int getDocFreq()
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 |