summaryrefslogtreecommitdiffstats
path: root/src/storage/ngram.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/storage/ngram.h')
-rw-r--r--src/storage/ngram.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/storage/ngram.h b/src/storage/ngram.h
index 8863392..73e422a 100644
--- a/src/storage/ngram.h
+++ b/src/storage/ngram.h
@@ -52,12 +52,12 @@ public:
/* Null Constructor */
SingleGram();
/* retrieve all items */
- bool retrieve_all(/* out */ BigramPhraseWithCountArray array);
+ bool retrieve_all(/* out */ BigramPhraseWithCountArray array) const;
/* search method */
/* the array result contains many items */
- bool search(/* in */ PhraseIndexRange * range,
- /* out */ BigramPhraseArray array);
+ bool search(/* in */ PhraseIndexRange * range,
+ /* out */ BigramPhraseArray array) const;
/* insert_freq method
*/
@@ -72,7 +72,7 @@ public:
/* get_freq method
*/
bool get_freq(/* in */ phrase_token_t token,
- /* out */ guint32 & freq);
+ /* out */ guint32 & freq) const;
/* set_freq method
*/