summaryrefslogtreecommitdiffstats
path: root/src/storage/punct_table_kyotodb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/storage/punct_table_kyotodb.cpp')
-rw-r--r--src/storage/punct_table_kyotodb.cpp32
1 files changed, 0 insertions, 32 deletions
diff --git a/src/storage/punct_table_kyotodb.cpp b/src/storage/punct_table_kyotodb.cpp
index 698af1b..cc0fd5f 100644
--- a/src/storage/punct_table_kyotodb.cpp
+++ b/src/storage/punct_table_kyotodb.cpp
@@ -152,38 +152,6 @@ bool PunctTable::store_entry(phrase_token_t index) {
return m_db->set(kbuf, sizeof(phrase_token_t), vbuf, vsiz);
}
-bool PunctTable::get_all_punctuations(/* in */ phrase_token_t index,
- /* out */ gchar ** & puncts) {
- assert(NULL == puncts);
-
- if (!load_entry(index))
- return false;
-
- return m_entry->get_all_punctuations(puncts);
-}
-
-bool PunctTable::append_punctuation(/* in */ phrase_token_t index,
- /* in */ const gchar * punct) {
- if (!load_entry(index))
- return false;
- if (!m_entry->append_punctuation(punct))
- return false;
- if (!store_entry(index))
- return false;
- return true;
-}
-
-bool PunctTable::remove_punctuation(/* in */ phrase_token_t index,
- /* in */ const gchar * punct) {
- if (!load_entry(index))
- return false;
- if (!m_entry->remove_punctuation(punct))
- return false;
- if (!store_entry(index))
- return false;
- return true;
-}
-
bool PunctTable::remove_all_punctuations(/* in */ phrase_token_t index) {
if (NULL == m_db)
return false;