edu.stanford.nlp.classify
Class ClassProbBuilder

java.lang.Object
  |
  +--edu.stanford.nlp.classify.ClassProbBuilder

public class ClassProbBuilder
extends Object

Accepts a feature vector and a class id, and returns a ClassProbability


Constructor Summary
ClassProbBuilder(HashMap hm, int id, int size)
          The hash map 'hm' contains all of the counts seen for that class.
 
Method Summary
 ClassProbability getCP()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassProbBuilder

public ClassProbBuilder(HashMap hm,
                        int id,
                        int size)
The hash map 'hm' contains all of the counts seen for that class. The id is the class id.

Method Detail

getCP

public ClassProbability getCP()


Stanford NLP Group