summaryrefslogtreecommitdiffstats
path: root/src/lookup/phonetic_lookup.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lookup/phonetic_lookup.h')
-rw-r--r--src/lookup/phonetic_lookup.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/lookup/phonetic_lookup.h b/src/lookup/phonetic_lookup.h
index dc82312..43a2936 100644
--- a/src/lookup/phonetic_lookup.h
+++ b/src/lookup/phonetic_lookup.h
@@ -163,22 +163,12 @@ private:
protected:
FacadePhraseIndex * m_phrase_index;
-#if 0
- /* pre-mature optimazition? */
- GArray * m_cached_keys;
- PhraseItem m_cached_phrase_item;
-#endif
-
public:
int add_constraint(size_t start, size_t end, phrase_token_t token);
bool clear_constraint(size_t index);
bool validate_constraint(PhoneticKeyMatrix * matrix);
};
-/* use maximum heap to get the topest results. */
-static bool get_top_results(/* out */ GPtrArray * topresults,
- /* in */ GPtrArray * candidates);
-
/* Array of MatchResults */
typedef GPtrArray * NBestMatchResults;