diff options
author | eherbst <eherbst@1f5c12ca-751b-0410-a591-d2e778427230> | 2006-07-20 02:05:52 +0400 |
---|---|---|
committer | eherbst <eherbst@1f5c12ca-751b-0410-a591-d2e778427230> | 2006-07-20 02:05:52 +0400 |
commit | 7a6600617e6b75993ec6015f39fe6af441a6a7a2 (patch) | |
tree | e4593f17925f9c95fd29987362c793aa2e89fc9d /irstlm | |
parent | caf6cfe912b9cae1effa6afc5e73b75ebd4222ab (diff) |
minor cleaning-up
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@196 1f5c12ca-751b-0410-a591-d2e778427230
Diffstat (limited to 'irstlm')
-rw-r--r-- | irstlm/src/dictionary.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/irstlm/src/dictionary.h b/irstlm/src/dictionary.h index 0bad57857..cc38e57c8 100644 --- a/irstlm/src/dictionary.h +++ b/irstlm/src/dictionary.h @@ -144,7 +144,7 @@ class dictionary{ encode(OOV()); //be sure OOV code exists int oovfreq=(int)(oovrate * totfreq()); std::cerr << "setting OOV rate to: " << oovrate << " -- freq= " << oovfreq << std::endl; - freq(oovcode(),oovfreq); + return freq(oovcode(),oovfreq); } |