|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jasen.core.engine.JasenToken
A "token" is essentially a word. Tokens are stored inside the JasenMap and have various counts associated
| Constructor Summary | |
JasenToken()
|
|
| Method Summary | |
int |
getHamCount()
Returns the number of times this token was discovered in a Ham email |
int |
getSpamCount()
Returns the number of times this token was discovered in a Spam email |
void |
incrementHam()
Conventience method to increment the ham count by 1 |
void |
incrementSpam()
Conventience method to increment the spam count by 1 |
void |
setHamCount(int hamCount)
Sets the number of times this token was discovered in a Ham email |
void |
setSpamCount(int spamCount)
Sets the number of times this token was discovered in a Spam email |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JasenToken()
| Method Detail |
public int getHamCount()
public void setHamCount(int hamCount)
hamCount - The hamCount to set.public int getSpamCount()
public void setSpamCount(int spamCount)
spamCount - The spamCount to set.public void incrementHam()
public void incrementSpam()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||