diff options
| author | Peng Wu <alexepico@gmail.com> | 2016-02-04 12:20:48 +0800 |
|---|---|---|
| committer | Peng Wu <alexepico@gmail.com> | 2016-02-04 12:20:48 +0800 |
| commit | abe78a4d197831ca2e08aef7266593b147603ced (patch) | |
| tree | 02b36f0c730e4bc6131b5dbf5b0b91ce6fc7e7ec /src | |
| parent | c74ba4bbf10f2913c2c775f6f54266ce9df151f1 (diff) | |
| download | libpinyin-abe78a4d197831ca2e08aef7266593b147603ced.tar.gz libpinyin-abe78a4d197831ca2e08aef7266593b147603ced.tar.xz libpinyin-abe78a4d197831ca2e08aef7266593b147603ced.zip | |
update facade_phrase_table3.h
Diffstat (limited to 'src')
| -rw-r--r-- | src/storage/facade_phrase_table3.h | 2 |
1 files changed, 2 insertions, 0 deletions
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; |
