[irstlm] 08/78: made functions virtual
Giulio Paci
giuliopaci-guest at moszumanska.debian.org
Tue May 17 07:47:00 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 7532923bd0f063325d0f1dcd144bda46162c102c
Author: Nicola Bertoldi <bertoldi at fbk.eu>
Date: Fri Nov 6 17:02:13 2015 +0100
made functions virtual
---
src/lmContainer.h | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/lmContainer.h b/src/lmContainer.h
index d450dd4..de908a0 100644
--- a/src/lmContainer.h
+++ b/src/lmContainer.h
@@ -115,9 +115,7 @@ public:
return false;
};
-//virtual double clprob(ngram ng, double* bow=NULL, int* bol=NULL, char** maxsuffptr=NULL, unsigned int* statesize=NULL,bool* extendible=NULL) {
virtual double clprob(ngram ng, double* bow=NULL, int* bol=NULL, ngram_state_t* maxsuffidx=NULL,char** maxsuffptr=NULL, unsigned int* statesize=NULL,bool* extendible=NULL) {
-// VERBOSE(3,"virtual double lmContainer::clprob(ngram ng, double* bow=NULL, int* bol=NULL, char** maxsuffptr=NULL, unsigned int* statesize=NULL,bool* extendible=NULL) ng:|" << ng << "|\n");
VERBOSE(3,"virtual double lmContainer::clprob(ngram ng, double* bow=NULL, int* bol=NULL, ngram_state_t* maxsuffidx=NULL, char** maxsuffptr=NULL, unsigned int* statesize=NULL,bool* extendible=NULL) ng:|" << ng << "|\n");
UNUSED(ng);
UNUSED(bow);
@@ -160,14 +158,14 @@ public:
return NULL;
}
- ngram_state_t cmaxsuffidx(ngram ng, unsigned int* statesize=NULL)
+ virtual ngram_state_t cmaxsuffidx(ngram ng, unsigned int* statesize=NULL)
{
UNUSED(ng);
UNUSED(statesize);
return NULL;
}
- ngram_state_t cmaxsuffidx(int* ng, int ngsize, unsigned int* statesize=NULL)
+ virtual ngram_state_t cmaxsuffidx(int* ng, int ngsize, unsigned int* statesize=NULL)
{
UNUSED(ng);
UNUSED(ngsize);
--
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