summaryrefslogtreecommitdiffstats
path: root/src/storage/phonetic_key_matrix.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/storage/phonetic_key_matrix.h')
-rw-r--r--src/storage/phonetic_key_matrix.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/storage/phonetic_key_matrix.h b/src/storage/phonetic_key_matrix.h
index ca7aa84..0b80a96 100644
--- a/src/storage/phonetic_key_matrix.h
+++ b/src/storage/phonetic_key_matrix.h
@@ -212,6 +212,11 @@ int search_matrix(const FacadeChewingTable2 * table,
size_t start, size_t end,
PhraseIndexRanges ranges);
+int search_suggestion_with_matrix(const FacadeChewingTable2 * table,
+ const PhoneticKeyMatrix * matrix,
+ size_t prefix_len,
+ PhraseTokens tokens);
+
gfloat compute_pronunciation_possibility(const PhoneticKeyMatrix * matrix,
size_t start, size_t end,
GArray * cached_keys,