| Server IP : 82.208.35.60 / Your IP : 216.73.216.238 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/textproc/irstlm/files/ |
Upload File : |
--- src/interpolate-lm.cpp.orig 2012-10-02 11:06:58.000000000 +0400
+++ src/interpolate-lm.cpp 2014-09-02 14:42:03.000000000 +0400
@@ -230,7 +230,7 @@ int main(int argc, char **argv)
//Learning mixture weights
if (learn) {
- std::vector<float> p[N]; //LM probabilities
+ std::vector< std::vector<float> > p(N); //LM probabilities
float c[N]; //expected counts
float den,norm; //inner denominator, normalization term
float variation=1.0; // global variation between new old params