summaryrefslogtreecommitdiffstats
path: root/utils/training
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2012-10-22 11:31:17 +0800
committerPeng Wu <alexepico@gmail.com>2012-10-22 11:31:17 +0800
commit15a7ffc524b2220c1d1b1ae06db153207abe7bdf (patch)
tree7d48a92bf3694b60e43582b00e6979b82d89acab /utils/training
parent84e5341d4b9898e51220d6fbaa7b31f8268dd884 (diff)
downloadlibpinyin-15a7ffc524b2220c1d1b1ae06db153207abe7bdf.tar.gz
libpinyin-15a7ffc524b2220c1d1b1ae06db153207abe7bdf.tar.xz
libpinyin-15a7ffc524b2220c1d1b1ae06db153207abe7bdf.zip
rename evals.text to evals2.text
Diffstat (limited to 'utils/training')
-rw-r--r--utils/training/eval_correction_rate.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/training/eval_correction_rate.cpp b/utils/training/eval_correction_rate.cpp
index 29667ba..85a034b 100644
--- a/utils/training/eval_correction_rate.cpp
+++ b/utils/training/eval_correction_rate.cpp
@@ -114,7 +114,7 @@ bool do_one_test(PinyinLookup2 * pinyin_lookup,
}
int main(int argc, char * argv[]){
- const char * evals_text = "evals.text";
+ const char * evals_text = "evals2.text";
pinyin_option_t options = USE_TONE;
FacadeChewingTable largetable;
@@ -140,7 +140,7 @@ int main(int argc, char * argv[]){
PinyinLookup2 pinyin_lookup(options, &largetable, &phrase_index,
&system_bigram, &user_bigram);
- /* open evals.text. */
+ /* open evals text. */
FILE * evals_file = fopen(evals_text, "r");
if ( NULL == evals_file ) {
fprintf(stderr, "Can't open file:%s\n", evals_text);