Method | Description | |
---|---|---|
AddSentence ( IEnumerable |
||
AddStartStopSymbols ( IList |
||
Deserialize ( string filepath ) : void | ||
GetMLE ( Nuve.NGrams.NGram denominatorNGram, Nuve.NGrams.NGram nominatorNGram ) : double | ||
GetSentenceProbability ( ) : double | ||
GetSentenceProbability ( IList |
||
GetSentenceProbabilityForUnigrams ( IEnumerable |
||
GetUnigramMLE ( Nuve.NGrams.NGram nGram ) : double | ||
NGramModel ( int nGramSize ) : System | ||
NGramModel ( int nGramSize, string modelFilepath ) : System |
public AddSentence ( IEnumerable |
||
tokens | IEnumerable |
|
return | void |
public AddStartStopSymbols ( IList |
||
tokens | IList |
|
return | void |
public Deserialize ( string filepath ) : void | ||
filepath | string | |
return | void |
public GetMLE ( Nuve.NGrams.NGram denominatorNGram, Nuve.NGrams.NGram nominatorNGram ) : double | ||
denominatorNGram | Nuve.NGrams.NGram | |
nominatorNGram | Nuve.NGrams.NGram | |
return | double |
public GetSentenceProbability ( IList |
||
tokens | IList |
|
return | double |
public GetSentenceProbabilityForUnigrams ( IEnumerable |
||
tokens | IEnumerable |
|
return | double |
public GetUnigramMLE ( Nuve.NGrams.NGram nGram ) : double | ||
nGram | Nuve.NGrams.NGram | |
return | double |
public NGramModel ( int nGramSize, string modelFilepath ) : System | ||
nGramSize | int | |
modelFilepath | string | |
return | System |