marf.Stats.StatisticalEstimators
Class SLI

java.lang.Object
  |
  +--marf.Storage.StorageManager
        |
        +--marf.Stats.StatisticalEstimators.StatisticalEstimator
              |
              +--marf.Stats.StatisticalEstimators.SLI
All Implemented Interfaces:
IStorageManager, java.io.Serializable

public class SLI
extends StatisticalEstimator

SLI Statistical Estimator. TODO: complete/document. $Id: SLI.java,v 1.11 2005/06/01 19:30:41 mokhov Exp $

Since:
0.3.0
Version:
$Revision: 1.11 $
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
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
SLI()
           
 
Method Summary
static java.lang.String getRevision()
          Returns source code revision information.
 double P(marf.Stats.Ngram poNgram)
           
 boolean train()
          Every estimator needs to implement its specific training method.
 
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

SLI

public SLI()
Method Detail

P

public double P(marf.Stats.Ngram poNgram)

train

public boolean train()
Description copied from class: StatisticalEstimator
Every estimator needs to implement its specific training method.

Overrides:
train in class StatisticalEstimator

getRevision

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

Returns:
revision string