[irstlm] 29/78: added a function for back-compatibility

Giulio Paci giuliopaci-guest at moszumanska.debian.org
Tue May 17 07:47:03 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 535ff0dd60e894e42879262165482ae96b933555
Author: nicolabertoldi <bertoldi at fbk.eu>
Date:   Mon Nov 9 18:10:26 2015 +0100

    added a function for back-compatibility
---
 src/lmContainer.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lmContainer.h b/src/lmContainer.h
index 3d01263..1455575 100644
--- a/src/lmContainer.h
+++ b/src/lmContainer.h
@@ -142,6 +142,7 @@ namespace irstlm {
                         return 0.0;
 }
 		
+		virtual double clprob(int* ng, int ngsize=NULL, double* bow=NULL, int* bol=NULL, char** maxsuffptr=NULL, unsigned int* statesize=NULL,bool* extendible=NULL, double* lastbow=NULL){ return clprob(ng, ngsize, bow, bol, NULL, maxsuffptr, statesize, extendible, lastbow); }
 		virtual double clprob(int* ng, int ngsize=NULL, double* bow=NULL, int* bol=NULL, ngram_state_t* maxsuffidx=NULL, char** maxsuffptr=NULL, unsigned int* statesize=NULL,bool* extendible=NULL, double* lastbow=NULL)
 		{
 			//create the actual ngram

-- 
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