lm_pain_points.cpp lm_state.cpp

This commit is contained in:
Jimmy O'Regan 2014-08-11 11:48:29 +01:00 committed by Jim O'Regan
parent a58a4e0f7b
commit fa85709823
2 changed files with 5 additions and 3 deletions

View File

@ -202,8 +202,10 @@ bool LMPainPoints::GeneratePainPoint(
}
}
// Adjusts the pain point coordinates to cope with expansion of the ratings
// matrix due to a split of the blob with the given index.
/**
* Adjusts the pain point coordinates to cope with expansion of the ratings
* matrix due to a split of the blob with the given index.
*/
void LMPainPoints::RemapForSplit(int index) {
for (int i = 0; i < LM_PPTYPE_NUM; ++i) {
GenericVector<MatrixCoordPair>* heap = pain_points_heaps_[i].heap();

View File

@ -59,7 +59,7 @@ void ViterbiStateEntry::Print(const char *msg) const {
tprintf("\n");
}
// Clears the viterbi search state back to its initial conditions.
/// Clears the viterbi search state back to its initial conditions.
void LanguageModelState::Clear() {
viterbi_state_entries.clear();
viterbi_state_entries_prunable_length = 0;