New package sphinxbase5 . This is the development version of sphinxbase 5prealpha OBS-URL: https://build.opensuse.org/request/show/680091 OBS-URL: https://build.opensuse.org/package/show/multimedia:voice-assistant/sphinxbase5?expand=0&rev=1
21 lines
752 B
Diff
21 lines
752 B
Diff
Index: src/sphinx_lmtools/sphinx_lm_eval.c
|
|
===================================================================
|
|
--- src/sphinx_lmtools/sphinx_lm_eval.c.orig
|
|
+++ src/sphinx_lmtools/sphinx_lm_eval.c
|
|
@@ -202,6 +202,7 @@ evaluate_file(ngram_model_t *lm, logmath
|
|
for (litor = lineiter_start(fh); litor; litor = lineiter_next(litor)) {
|
|
char **words;
|
|
int32 n, tmp_ch, tmp_noovs, tmp_nccs, tmp_lscr;
|
|
+ tmp_nccs = tmp_noovs = tmp_lscr = 0;
|
|
|
|
n = str2words(litor->buf, NULL, 0);
|
|
if (n < 0)
|
|
@@ -247,6 +248,7 @@ evaluate_string(ngram_model_t *lm, logma
|
|
char *textfoo;
|
|
char **words;
|
|
int32 n, ch, noovs, nccs, lscr;
|
|
+ nccs = noovs = lscr = 0;
|
|
|
|
/* Split it into an array of strings. */
|
|
textfoo = ckd_salloc(text);
|