From abe78a4d197831ca2e08aef7266593b147603ced Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Thu, 4 Feb 2016 12:20:48 +0800 Subject: update facade_phrase_table3.h --- src/storage/facade_phrase_table3.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/storage/facade_phrase_table3.h b/src/storage/facade_phrase_table3.h index b84dc01..7ec18b3 100644 --- a/src/storage/facade_phrase_table3.h +++ b/src/storage/facade_phrase_table3.h @@ -108,11 +108,13 @@ public: */ int search(int phrase_length, /* in */ const ucs4_t phrase[], /* out */ PhraseTokens tokens) const { +#if 0 /* clear tokens. */ for (size_t i = 0; i < PHRASE_INDEX_LIBRARY_COUNT; ++i) { if (tokens[i]) g_array_set_size(tokens[i], 0); } +#endif int result = SEARCH_NONE; -- cgit