summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2012-08-28 14:52:51 +0800
committerPeng Wu <alexepico@gmail.com>2012-08-28 14:52:51 +0800
commite67363a8b68771a5f4314a507d6a78c27267a6f7 (patch)
treef17f0928c750cea1b56c1116c29a520c74b304d7 /src
parent531c5ae2198e3a42f8c29d4498e0bf57eccf6602 (diff)
downloadlibpinyin-e67363a8b68771a5f4314a507d6a78c27267a6f7.tar.gz
libpinyin-e67363a8b68771a5f4314a507d6a78c27267a6f7.tar.xz
libpinyin-e67363a8b68771a5f4314a507d6a78c27267a6f7.zip
update comments
Diffstat (limited to 'src')
-rw-r--r--src/storage/chewing_large_table.cpp2
-rw-r--r--src/storage/phrase_large_table2.cpp3
2 files changed, 4 insertions, 1 deletions
diff --git a/src/storage/chewing_large_table.cpp b/src/storage/chewing_large_table.cpp
index b8be274..921883b 100644
--- a/src/storage/chewing_large_table.cpp
+++ b/src/storage/chewing_large_table.cpp
@@ -114,7 +114,7 @@ void ChewingBitmapIndexLevel::reset() {
}
-/* search methods */
+/* search method */
int ChewingBitmapIndexLevel::search(int phrase_length,
/* in */ ChewingKey keys[],
diff --git a/src/storage/phrase_large_table2.cpp b/src/storage/phrase_large_table2.cpp
index 0cd1fb2..5571e4d 100644
--- a/src/storage/phrase_large_table2.cpp
+++ b/src/storage/phrase_large_table2.cpp
@@ -116,6 +116,9 @@ void PhraseBitmapIndexLevel2::reset(){
}
}
+
+/* search method */
+
int PhraseBitmapIndexLevel2::search(int phrase_length,
/* in */ ucs4_t phrase[],
/* out */ PhraseTokens tokens) const {