phrase_index.h \
phrase_index_logger.h \
phrase_large_table.h \
+ phrase_large_table2.h \
ngram.h \
flexible_ngram.h \
tag_utility.h \
libstorage_la_SOURCES = phrase_index.cpp \
phrase_large_table.cpp \
+ phrase_large_table2.cpp \
ngram.cpp \
tag_utility.cpp \
pinyin_parser2.cpp \
/* search method */
int search(int phrase_length, /* in */ ucs4_t phrase[],
- /* out */ PhraseTokens tokens);
+ /* out */ PhraseTokens tokens) const;
/* add_index/remove_index method */
int add_index(int phrase_length, /* in */ ucs4_t phrase[],
bool store(MemoryChunk * new_chunk, table_offset_t offset, table_offset_t & end);
/* search method */
- int search(/* in */ ucs4_t phrase[], /* out */ PhraseTokens tokens);
+ int search(/* in */ ucs4_t phrase[], /* out */ PhraseTokens tokens) const;
/* add_index/remove_index method */
int add_index(/* in */ ucs4_t phrase[], /* in */ phrase_token_t token);
/* search method */
int search(int phrase_length, /* in */ ucs4_t phrase[],
- /* out */ PhraseTokens tokens);
+ /* out */ PhraseTokens tokens) const;
/* add_index/remove_index method */
int add_index(int phrase_length, /* in */ ucs4_t phrase[], /* in */ phrase_token_t token);