marf.Stats.StatisticalEstimators
Class KatzBackoff

java.lang.Object
  extended by marf.Storage.StorageManager
      extended by marf.Stats.StatisticalEstimators.StatisticalEstimator
          extended by marf.Stats.StatisticalEstimators.KatzBackoff
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, IStatisticalEstimator, IStorageManager

public class KatzBackoff
extends StatisticalEstimator

Katz Backoff Statistical Estimator. TODO: complete.

$Id: KatzBackoff.java,v 1.17 2006/01/15 01:50:57 mokhov Exp $

Since:
0.3.0.2
Version:
$Revision: 1.17 $
Author:
Serguei Mokhov
See Also:
Serialized Form

Field Summary
 
Fields inherited from class marf.Stats.StatisticalEstimators.StatisticalEstimator
oProbabilityTable, oStreamTokenizer
 
Fields inherited from class marf.Storage.StorageManager
bDumpOnNotFound, iCurrentDumpMode, oObjectToSerialize, strFilename
 
Fields inherited from interface marf.Stats.StatisticalEstimators.IStatisticalEstimator
MARF_INTERFACE_CODE_REVISION
 
Fields inherited from interface marf.Storage.IStorageManager
DUMP_BINARY, DUMP_CSV_TEXT, DUMP_GZIP_BINARY, DUMP_HTML, DUMP_SQL, DUMP_XML, MARF_INTERFACE_CODE_REVISION, STORAGE_FILE_EXTENSIONS
 
Constructor Summary
KatzBackoff()
          Default constructor as in parent.
 
Method Summary
static java.lang.String getMARFSourceCodeRevision()
          Returns source code revision information.
 double p(Ngram poNgram)
          Not implemented.
 boolean train()
          Not implemented.
 
Methods inherited from class marf.Stats.StatisticalEstimators.StatisticalEstimator
backSynchronizeObject, dumpCSV, dumpXML, getFilename, getLanguage, getProbabilityTable, getStreamTokenizer, p, resetFilename, restoreCSV, restoreXML, setLanguage, setStreamTokenizer
 
Methods inherited from class marf.Storage.StorageManager
clone, dump, dumpBinary, dumpGzipBinary, dumpHTML, dumpSQL, enableDumpOnNotFound, equals, getDefaultExtension, getDefaultExtension, getDumpMode, getObjectToSerialize, hashCode, restore, restoreBinary, restoreGzipBinary, restoreHTML, restoreSQL, setDumpMode, setFilename, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

KatzBackoff

public KatzBackoff()
Default constructor as in parent.

Method Detail

p

public double p(Ngram poNgram)
Not implemented.

Parameters:
poNgram -
Returns:
0.0

train

public boolean train()
Not implemented.

Specified by:
train in interface IStatisticalEstimator
Overrides:
train in class StatisticalEstimator
Returns:
true if training was successful
See Also:
IStatisticalEstimator.train()

getMARFSourceCodeRevision

public static java.lang.String getMARFSourceCodeRevision()
Returns source code revision information.

Returns:
revision string


SourceForge Logo