Skip to content

Commit

Permalink
Reduced oov prob
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanNaren committed Oct 19, 2017
1 parent 619d80a commit 24ed104
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytorch_ctc/src/ctc_beam_scorer_klm.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ namespace ctc_beam_search {

// TODO replace with OOV unigram prob?
// If we have no valid prefix we assume a very low log probability
float min_unigram_score = -10.0f;
float min_unigram_score = -1000.0f;
// If prefix does exist
if (trie_node != nullptr) {
trie_node = trie_node->GetChildAt(to_label);
Expand Down

0 comments on commit 24ed104

Please sign in to comment.