summaryrefslogtreecommitdiffstats
path: root/src/storage/tag_utility.h
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2012-09-03 16:14:09 +0800
committerPeng Wu <alexepico@gmail.com>2012-09-03 16:14:09 +0800
commit1289df5e2ebfd7a9b6a5aa0b4f1739c48527ce19 (patch)
tree0653c509f2f6b5ce4b2908b586c5e8eccb720088 /src/storage/tag_utility.h
parentb1bc974e89adc1ab13ea148686c7e2c2faf64e7a (diff)
downloadlibpinyin-1289df5e2ebfd7a9b6a5aa0b4f1739c48527ce19.tar.gz
libpinyin-1289df5e2ebfd7a9b6a5aa0b4f1739c48527ce19.tar.xz
libpinyin-1289df5e2ebfd7a9b6a5aa0b4f1739c48527ce19.zip
update tag utility
Diffstat (limited to 'src/storage/tag_utility.h')
-rw-r--r--src/storage/tag_utility.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/storage/tag_utility.h b/src/storage/tag_utility.h
index 38acb68..a68877d 100644
--- a/src/storage/tag_utility.h
+++ b/src/storage/tag_utility.h
@@ -117,14 +117,16 @@ class FacadePhraseIndex;
/**
* taglib_string_to_token:
- * @phrases: the phrase table for token lookup.
+ * @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(PhraseLargeTable * phrases,
+phrase_token_t taglib_string_to_token(PhraseLargeTable2 * phrase_table,
+ FacadePhraseIndex * phrase_index,
const char * string);
/**