net.sf.textkit4j.classify.bayesian
Class WordData

java.lang.Object
  extended by net.sf.textkit4j.classify.bayesian.WordData

public class WordData
extends java.lang.Object


Constructor Summary
WordData()
           
 
Method Summary
 long getObservedOccurences()
           
 long getObservedOccurencesFor(java.lang.String category)
           
 java.lang.String getWord()
           
 void incrementObservedOccurences()
           
 void incrementOccurencesForCategory(java.lang.String category)
           
 void setWord(java.lang.String word)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WordData

public WordData()
Method Detail

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.