summaryrefslogtreecommitdiffstats
path: root/src/storage/ngram_bdb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/storage/ngram_bdb.h')
-rw-r--r--src/storage/ngram_bdb.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/storage/ngram_bdb.h b/src/storage/ngram_bdb.h
index a1e70d3..d7c8584 100644
--- a/src/storage/ngram_bdb.h
+++ b/src/storage/ngram_bdb.h
@@ -92,13 +92,14 @@ public:
* Bigram::load:
* @index: the previous token in the bi-gram.
* @single_gram: the single gram of the previous token.
+ * @copy: whether copy content to the single gram.
* @returns: whether the load operation is successful.
*
* Load the single gram of the previous token.
*
*/
bool load(/* in */ phrase_token_t index,
- /* out */ SingleGram * & single_gram);
+ /* out */ SingleGram * & single_gram, bool copy=false);
/**
* Bigram::store: