From: Peng Wu Date: Thu, 18 Oct 2012 08:53:28 +0000 (+0800) Subject: update tag utility X-Git-Tag: 0.8.91~98 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a949650e53700d1215bfe91b3f3172bb59fd2901;p=platform%2Fupstream%2Flibpinyin.git update tag utility --- diff --git a/src/storage/tag_utility.cpp b/src/storage/tag_utility.cpp index 2701934..081e931 100644 --- a/src/storage/tag_utility.cpp +++ b/src/storage/tag_utility.cpp @@ -308,6 +308,8 @@ bool taglib_fini(){ return true; } +#if 0 + static phrase_token_t taglib_special_string_to_token(const char * string){ struct token_pair{ phrase_token_t token; @@ -355,6 +357,8 @@ phrase_token_t taglib_string_to_token(PhraseLargeTable2 * phrase_table, return token; } +#endif + static const char * taglib_special_token_to_string(phrase_token_t token){ struct token_pair{ phrase_token_t token; diff --git a/src/storage/tag_utility.h b/src/storage/tag_utility.h index 68e298d..ceb1d6c 100644 --- a/src/storage/tag_utility.h +++ b/src/storage/tag_utility.h @@ -116,20 +116,6 @@ class FacadePhraseIndex; /** - * taglib_string_to_token: - * @phrase_table: the phrase table for token lookup. - * @phrase_index: the phrase index to prepare PhraseTokens. - * @string: the string of the phrase. - * @returns: the phrase token found in phrase table. - * - * Translate one phrase into the token. - * - */ -phrase_token_t taglib_string_to_token(PhraseLargeTable2 * phrase_table, - FacadePhraseIndex * phrase_index, - const char * string); - -/** * taglib_token_to_string: * @phrase_index: the phrase index for phrase string lookup. * @token: the phrase token.