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.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/utils/training/eval_correction_rate.cpp b/utils/training/eval_correction_rate.cpp
index 3d0e4e2..633419f 100644
--- a/utils/training/eval_correction_rate.cpp
+++ b/utils/training/eval_correction_rate.cpp
@@ -127,14 +127,7 @@ int main(int argc, char * argv[]){
pinyin_option_t options = USE_TONE;
FacadeChewingTable largetable;
- MemoryChunk * chunk = new MemoryChunk;
- chunk->load(SYSTEM_PINYIN_INDEX);
- largetable.load(options, chunk, NULL);
-
- FacadePhraseTable2 phrase_table;
- chunk = new MemoryChunk;
- chunk->load(SYSTEM_PHRASE_INDEX);
- phrase_table.load(chunk, NULL);
+ largetable.load(options, SYSTEM_PINYIN_INDEX, NULL);
FacadePhraseIndex phrase_index;