com.aliasi.lm
Interface LanguageModel.Sequence

All Superinterfaces:
LanguageModel
All Known Implementing Classes:
CompiledNGramBoundaryLM, CompiledTokenizedLM, NGramBoundaryLM, TokenizedLM, UniformBoundaryLM
Enclosing interface:
LanguageModel

public static interface LanguageModel.Sequence
extends LanguageModel

A LanguageModel.Sequence is normalized over all character sequences. A sequence language model is required to assign a probability of 1.0 to the sum of the probability of all character sequences, regardless of length:

&Sigman >= 0 &Sigmacs.length()=n 2log2Prob(cs) = 1.0
Note that this interface is a marker interface and does not specify any additional method signatures.

Since:
LingPipe2.0
Version:
2.0
Author:
Bob Carpenter

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.aliasi.lm.LanguageModel
LanguageModel.Conditional, LanguageModel.Dynamic, LanguageModel.Process, LanguageModel.Sequence, LanguageModel.Tokenized
 
Method Summary
 
Methods inherited from interface com.aliasi.lm.LanguageModel
log2Estimate, log2Estimate