|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--marf.Storage.StorageManager | +--marf.Stats.StatisticalEstimators.StatisticalEstimator | +--marf.Stats.StatisticalEstimators.Smoothing.Smoothing | +--marf.Stats.StatisticalEstimators.Smoothing.GoodTuring
Good-Turing Smoothing Estimator. TODO: complete/document. $Id: GoodTuring.java,v 1.13 2005/06/01 19:30:42 mokhov Exp $
Field Summary |
Fields inherited from class marf.Stats.StatisticalEstimators.StatisticalEstimator |
oProbabilityTable, oStreamTokenizer |
Fields inherited from class marf.Storage.StorageManager |
iCurrentDumpMode, oObjectToSerialize, strFilename |
Fields inherited from interface marf.Storage.IStorageManager |
DUMP_BINARY, DUMP_CSV_TEXT, DUMP_GZIP_BINARY, DUMP_HTML, DUMP_SQL, DUMP_XML, INTERFACE_CODE_REVISION, sastrExtensionsMap |
Constructor Summary | |
GoodTuring()
|
|
GoodTuring(int piThreshold)
|
Method Summary | |
static java.lang.String |
getRevision()
Returns source code revision information. |
double |
P(marf.Stats.Ngram poNgram)
|
boolean |
smooth()
|
Methods inherited from class marf.Stats.StatisticalEstimators.Smoothing.Smoothing |
train |
Methods inherited from class marf.Stats.StatisticalEstimators.StatisticalEstimator |
dumpCSV, dumpXML, getFilename, getLang, getProbabilityTable, getStreamTokenizer, P, resetFilename, restoreCSV, restoreXML, setLang, setStreamTokenizer |
Methods inherited from class marf.Storage.StorageManager |
backSynchronizeObject, dump, dumpBinary, dumpGzipBinary, dumpHTML, dumpSQL, getDefaultExtension, getDefaultExtension, getDumpMode, restore, restoreBinary, restoreGzipBinary, restoreHTML, restoreSQL, setDumpMode, setFilename |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GoodTuring()
public GoodTuring(int piThreshold)
Method Detail |
public boolean smooth()
smooth
in class Smoothing
public double P(marf.Stats.Ngram poNgram)
public static java.lang.String getRevision()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |