summaryrefslogtreecommitdiffstats
path: root/utils/training/gen_deleted_ngram.cpp
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2016-03-30 15:18:15 +0800
committerPeng Wu <alexepico@gmail.com>2016-03-30 15:18:15 +0800
commit71bfcb74f432e0d2ea067da53cdc765f54c2e36c (patch)
tree32625cf7c5992fec008f0f0a9bc9dadc17599fbf /utils/training/gen_deleted_ngram.cpp
parent43360fcb6129e0c27ed7086b600b8699b8bdbd37 (diff)
downloadlibpinyin-71bfcb74f432e0d2ea067da53cdc765f54c2e36c.tar.gz
libpinyin-71bfcb74f432e0d2ea067da53cdc765f54c2e36c.tar.xz
libpinyin-71bfcb74f432e0d2ea067da53cdc765f54c2e36c.zip
update utils
Diffstat (limited to 'utils/training/gen_deleted_ngram.cpp')
-rw-r--r--utils/training/gen_deleted_ngram.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/utils/training/gen_deleted_ngram.cpp b/utils/training/gen_deleted_ngram.cpp
index 40f9f5a..b0d0254 100644
--- a/utils/training/gen_deleted_ngram.cpp
+++ b/utils/training/gen_deleted_ngram.cpp
@@ -59,12 +59,6 @@ int main(int argc, char * argv[]){
exit(ENOENT);
}
- /* load phrase table. */
- PhraseLargeTable3 phrase_table;
- MemoryChunk * new_chunk = new MemoryChunk;
- new_chunk->load(SYSTEM_PHRASE_INDEX);
- phrase_table.load(new_chunk);
-
FacadePhraseIndex phrase_index;
const pinyin_table_info_t * phrase_files =