[irstlm] 57/78: removed useless code
Giulio Paci
giuliopaci-guest at moszumanska.debian.org
Tue May 17 07:47:06 UTC 2016
This is an automated email from the git hooks/post-receive script.
giuliopaci-guest pushed a commit to tag adaptiveLM.v0.10
in repository irstlm.
commit 52af3e34e29b04e86ace4349ae2d64746e24931e
Author: Nicola Bertoldi <bertoldi at fbk.eu>
Date: Wed Dec 2 16:07:23 2015 +0100
removed useless code
---
src/shiftlm.cpp | 6 ------
1 file changed, 6 deletions(-)
diff --git a/src/shiftlm.cpp b/src/shiftlm.cpp
index 7dc4633..2c19af2 100644
--- a/src/shiftlm.cpp
+++ b/src/shiftlm.cpp
@@ -776,12 +776,6 @@ int symshiftbeta::discount(ngram ng_,int size,double& fstar,double& lambda, int
MY_ASSERT(size<=2); // only works with bigrams //
- if (size == 3) {
-
- ngram history=ng;
-
-
- }
if (size == 2) {
//compute unigram probability of denominator
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/irstlm.git
More information about the debian-science-commits
mailing list