Searched refs:wordCount (Results 1 – 5 of 5) sorted by relevance
49 static AK_FORCE_INLINE NgramType getNgramTypeFromWordCount(const int wordCount) { in getNgramTypeFromWordCount() argument51 if (wordCount <= 0 || wordCount > MAX_PREV_WORD_COUNT_FOR_N_GRAM + 1) { in getNgramTypeFromWordCount()55 return static_cast<NgramType>(wordCount - 1); in getNgramTypeFromWordCount()
37 final int wordCount = random.nextInt(maxWordCountToTypeInEachIteration); in testSwitchLanguagesAndInputLatinRandomCodePoints() local38 for (int j = 0; j < wordCount; ++j) { in testSwitchLanguagesAndInputLatinRandomCodePoints()55 final int wordCount = random.nextInt(maxWordCountToTypeInEachIteration); in testSwitchLanguagesAndInputRandomCodePoints() local56 for (int j = 0; j < wordCount; ++j) { in testSwitchLanguagesAndInputRandomCodePoints()
256 final int wordCount = 1000; in testRandomlyAddUnigramWord() local265 for (int i = 0; i < wordCount; ++i) { in testRandomlyAddUnigramWord()333 final int wordCount = 100; in testRandomlyAddBigramWords() local346 for (int i = 0; i < wordCount; ++i) { in testRandomlyAddBigramWords()355 final String word0 = words.get(random.nextInt(wordCount)); in testRandomlyAddBigramWords()356 final String word1 = words.get(random.nextInt(wordCount)); in testRandomlyAddBigramWords()473 final int wordCount = 100; in testAddBigramWordsAndFlashWithGC() local488 for (int i = 0; i < wordCount; ++i) { in testAddBigramWordsAndFlashWithGC()497 final String word0 = words.get(random.nextInt(wordCount)); in testAddBigramWordsAndFlashWithGC()498 final String word1 = words.get(random.nextInt(wordCount)); in testAddBigramWordsAndFlashWithGC()
53 final int wordCount) { in DictionaryStats() argument56 mDictFileSize = wordCount; in DictionaryStats()59 mWordCount = wordCount; in DictionaryStats()
42 int wordCount = 0; in showInfo() local47 ++wordCount; in showInfo()52 System.out.println("Words in the dictionary : " + wordCount); in showInfo()