net.sf.textkit4j.classify.bayesian
Class WordData
java.lang.Object
net.sf.textkit4j.classify.bayesian.WordData
public class WordData
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WordData
public WordData()
getObservedOccurences
public long getObservedOccurences()
getWord
public java.lang.String getWord()
setWord
public void setWord(java.lang.String word)
getObservedOccurencesFor
public long getObservedOccurencesFor(java.lang.String category)
incrementObservedOccurences
public void incrementObservedOccurences()
incrementOccurencesForCategory
public void incrementOccurencesForCategory(java.lang.String category)
Copyright © 2009 All Eight, LLC. All Rights Reserved.