Home | History | Annotate | Download | only in src

Lines Matching defs:BigramDictionary

29 BigramDictionary::BigramDictionary(const unsigned char *dict, int maxWordLength, int maxPredictions)
32 AKLOGI("BigramDictionary - constructor");
36 BigramDictionary::~BigramDictionary() {
39 bool BigramDictionary::addWordBigram(unsigned short *word, int length, int frequency,
100 int BigramDictionary::getBigrams(const int32_t *prevWord, int prevWordLength, int *inputCodes,
148 int BigramDictionary::getBigramListPositionForWord(const int32_t *prevWord,
169 void BigramDictionary::fillBigramAddressToFrequencyMapAndFilter(const int32_t *prevWord,
193 bool BigramDictionary::checkFirstCharacter(unsigned short *word, int *inputCodes) const {
209 bool BigramDictionary::isValidBigram(const int32_t *word1, int length1, const int32_t *word2,