summaryrefslogtreecommitdiffstats
path: root/utils/training/eval_correction_rate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utils/training/eval_correction_rate.cpp')
-rw-r--r--utils/training/eval_correction_rate.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/utils/training/eval_correction_rate.cpp b/utils/training/eval_correction_rate.cpp
index ed37266..29667ba 100644
--- a/utils/training/eval_correction_rate.cpp
+++ b/utils/training/eval_correction_rate.cpp
@@ -147,10 +147,6 @@ int main(int argc, char * argv[]){
exit(ENOENT);
}
- PhraseTokens phrase_tokens;
- memset(phrase_tokens, 0, sizeof(PhraseTokens));
- phrase_index.prepare_tokens(phrase_tokens);
-
/* Evaluates the correction rate of test text documents. */
size_t tested_count = 0; size_t passed_count = 0;
char* linebuf = NULL; size_t size = 0;
@@ -196,7 +192,5 @@ int main(int argc, char * argv[]){
fclose(evals_file);
free(linebuf);
- phrase_index.destroy_tokens(phrase_tokens);
-
return 0;
}