libime
Public Member Functions | Public Attributes | List of all members
libime::HistoryBigramPrivate Class Reference

Public Member Functions

void populateSentence (std::list< std::vector< WordWithCode >> popedSentence)
 
float unigramFreq (WordWithCodeView word) const
 
float bigramFreq (WordWithCodeView prev, WordWithCodeView cur) const
 
float unigramSize () const
 

Public Attributes

float unknown_
 
bool useOnlyUnigram_ = false
 
std::vector< HistoryBigramPool > pools_
 
std::vector< float > poolWeight_
 

Detailed Description

Definition at line 471 of file historybigram.cpp.

Member Data Documentation

◆ unknown_

float libime::HistoryBigramPrivate::unknown_
Initial value:
=
std::log10(DEFAULT_LANGUAGE_MODEL_UNKNOWN_PROBABILITY_PENALTY)

Definition at line 512 of file historybigram.cpp.


The documentation for this class was generated from the following file: