Serialized Form


Package kylm.model

Class kylm.model.ClassMap extends java.lang.Object implements Serializable

serialVersionUID: 1707818585575921117L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

classes

SymbolSet classes

idMap

java.util.Vector<E> idMap

probMap

java.util.Vector<E> probMap

Class kylm.model.LanguageModel extends java.lang.Object implements Serializable

serialVersionUID: 4882315303447910570L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

debug

int debug

symbol

java.lang.String symbol

name

java.lang.String name

regex

java.util.regex.Pattern regex

countTerminals

boolean countTerminals

maxLength

int maxLength

closed

boolean closed

vocab

SymbolSet vocab

vocabFrequency

int vocabFrequency

vocabLimit

int vocabLimit

startSymbol

java.lang.String startSymbol

terminalSymbol

java.lang.String terminalSymbol

ukSymbol

java.lang.String ukSymbol

ukModels

LanguageModel[] ukModels

ukModelCount

int ukModelCount

modelAllWords

boolean modelAllWords

classMap

ClassMap classMap

wordEnts

float[] wordEnts

simpleEnts

float[] simpleEnts

unkEnts

float[] unkEnts

classEnts

float[] classEnts

Package kylm.model.ngram

Class kylm.model.ngram.BranchNode extends NgramNode implements Serializable

serialVersionUID: 435179356854434311L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

boscore

float boscore

children

java.util.Vector<E> children

childCount

int childCount

Class kylm.model.ngram.NgramLM extends LanguageModel implements Serializable

serialVersionUID: 8531298547172592816L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

n

int n

counts

int[] counts

root

BranchNode root

smoother

NgramSmoother smoother

hits

int[] hits

sentHits

int sentHits

ukWords

java.util.HashSet<E> ukWords

Class kylm.model.ngram.NgramNode extends java.lang.Object implements Serializable

serialVersionUID: 7981382079826823765L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

id

int id

count

int count

score

float score

parent

NgramNode parent

Package kylm.model.ngram.smoother

Class kylm.model.ngram.smoother.AbsoluteSmoother extends NgramSmoother implements Serializable

serialVersionUID: 199895368874934771L

Serialized Fields

discounts

java.lang.Object discounts

lm

NgramLM lm

Class kylm.model.ngram.smoother.GTSmoother extends NgramSmoother implements Serializable

serialVersionUID: -8438852797430608631L

Serialization Methods

readObject

protected void readObject(java.io.ObjectInputStream in)
                   throws java.io.IOException,
                          java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

protected void writeObject(java.io.ObjectOutputStream out)
                    throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

k

int k

Class kylm.model.ngram.smoother.KNSmoother extends AbsoluteSmoother implements Serializable

serialVersionUID: -17904685317993557L

Class kylm.model.ngram.smoother.MKNSmoother extends KNSmoother implements Serializable

serialVersionUID: 7680188047940465827L

Class kylm.model.ngram.smoother.MLSmoother extends NgramSmoother implements Serializable

serialVersionUID: -4731041681002702062L

Class kylm.model.ngram.smoother.NgramSmoother extends java.lang.Object implements Serializable

serialVersionUID: 111803599347294292L

Serialization Methods

readObject

protected void readObject(java.io.ObjectInputStream in)
                   throws java.io.IOException,
                          java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

protected void writeObject(java.io.ObjectOutputStream out)
                    throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

smoothUnigrams

boolean smoothUnigrams

debug

int debug

cutoffs

int[] cutoffs

marked

boolean marked

Class kylm.model.ngram.smoother.WBSmoother extends NgramSmoother implements Serializable

serialVersionUID: -6764812467153305638L

Serialized Fields

lm

NgramLM lm

Package kylm.util

Class kylm.util.SymbolSet extends java.lang.Object implements Serializable

serialVersionUID: 6295504917453701558L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

ids

java.util.HashMap<K,V> ids

syms

java.util.Vector<E> syms