Searched refs:words (Results 1 – 25 of 30) sorted by relevance
12
322 final ArrayList<String> words = new ArrayList<>(); in testRandomlyAddBigramWords() local330 words.add(word); in testRandomlyAddBigramWords()337 final String word0 = words.get(random.nextInt(wordCount)); in testRandomlyAddBigramWords()338 final String word1 = words.get(random.nextInt(wordCount)); in testRandomlyAddBigramWords()460 final ArrayList<String> words = new ArrayList<>(); in testAddBigramWordsAndFlashWithGC() local468 words.add(word); in testAddBigramWordsAndFlashWithGC()475 final String word0 = words.get(random.nextInt(wordCount)); in testAddBigramWordsAndFlashWithGC()476 final String word1 = words.get(random.nextInt(wordCount)); in testAddBigramWordsAndFlashWithGC()522 final ArrayList<String> words = new ArrayList<>(); in testRandomOperationsAndFlashWithGC() local529 words.add(word); in testRandomOperationsAndFlashWithGC()[all …]
62 private static ArrayList<SuggestedWordInfo> createCorrectionWordInfos(final String... words) { in createCorrectionWordInfos() argument64 for (final String word : words) { in createCorrectionWordInfos()
465 ArrayList<WnnWord> words = (all)? mAllIndepWordBag.get(input) : mIndepWordBag.get(input); in getIndependentWords() local467 if (words == null) { in getIndependentWords()477 words = new ArrayList<WnnWord>(); in getIndependentWords()480 mAllIndepWordBag.put(input, words); in getIndependentWords()485 words.add(word); in getIndependentWords()489 mIndepWordBag.put(input, words); in getIndependentWords()494 Iterator<WnnWord> list = words.iterator(); in getIndependentWords()504 words.add(word); in getIndependentWords()512 addAutoGeneratedCandidates(input, words, all); in getIndependentWords()514 return words; in getIndependentWords()
722 WnnWord[] words = new WnnWord[ numOfWords ]; in getUserDictionaryWords() local726 words[ i ] = new WnnWord(); in getUserDictionaryWords()727 words[ i ].stroke = cursor.getString( 0 ); in getUserDictionaryWords()728 words[ i ].candidate = cursor.getString( 1 ); in getUserDictionaryWords()732 return words; in getUserDictionaryWords()931 WnnWord[] words = new WnnWord[1]; in addWordToUserDictionary() local932 words[0] = word; in addWordToUserDictionary()934 return addWordToUserDictionary( words ); in addWordToUserDictionary()981 WnnWord[] words = new WnnWord[1]; in removeWordFromUserDictionary() local982 words[0] = word; in removeWordFromUserDictionary()[all …]
109 words = string.split(l)110 cmd_pos = get_string_pos(words, "block_rq_complete:")112 cmd_pos = get_string_pos(words, "block_bio_complete:")113 block_num = int(words[-4])117 operation = words[cmd_pos + 2]120 end_time = int(float(words[cmd_pos - 1][:-1])*1000000) #us
80 final List<String> words = generateWords(numberOfWords, random); in addAndWriteRandomWords() local82 addWordsToDictionary(dict, words, currentTime); in addAndWriteRandomWords()87 final String word = words.get(i); in addAndWriteRandomWords()101 final List<String> words, final int timestamp) { in addWordsToDictionary() argument104 for (final String word : words) { in addWordsToDictionary()
78 final int bodyOffset, final Map<Integer, String> words, in readUnigramsAndBigramsBinaryInner() argument115 words.put(ptNodeInfo.mOriginalAddress, new String(pushedChars, 0, index)); in readUnigramsAndBigramsBinaryInner()149 final Map<Integer, String> words, final Map<Integer, Integer> frequencies, in readUnigramsAndBigramsBinary() argument154 readUnigramsAndBigramsBinaryInner(dictDecoder, header.mBodyOffset, words, in readUnigramsAndBigramsBinary()
44 public void readUnigramsAndBigramsBinary(final TreeMap<Integer, String> words, in readUnigramsAndBigramsBinary() argument51 BinaryDictIOUtils.readUnigramsAndBigramsBinary(this, words, frequencies, bigrams); in readUnigramsAndBigramsBinary()
89 public void readUnigramsAndBigramsBinary(final TreeMap<Integer, String> words, in readUnigramsAndBigramsBinary() argument
112 #define DUMP_SUGGESTION(words, frequencies, index, score) \ argument113 do { dumpWordInfo(words, frequencies, index, score); } while (0)167 #define DUMP_SUGGESTION(words, frequencies, index, score) argument
70 private static void checkDictionary(final FusionDictionary dict, final ArrayList<String> words, in checkDictionary() argument74 for (final String word : words) { in checkDictionary()
324 final Set<String> words = new HashSet<>(); in getWordsForLocale() local333 words.add(localeStringMap.get(wordLocale)); in getWordsForLocale()338 return words; in getWordsForLocale()
506 final String[] words = suggestion.split(Constants.WORD_SEPARATOR); in addToUserHistory() local508 for (int i = 0; i < words.length; i++) { in addToUserHistory()509 final String currentWord = words[i]; in addToUserHistory()
132 local words=$(random_value $MAX_WORDS_PER_MESSAGE)134 for k in `seq 1 $words`;
46 Index 5: Japanese dictionary for clause conversion (basic words)47 Index 6: Japanese dictionary for clause conversion (ancillary words)
205 private void assertSplitTextToWords(String text, String... words) { in assertSplitTextToWords() argument207 MoreAsserts.assertContentsInOrder(wordList, words); in assertSplitTextToWords()
526 words = line.split()527 if len(words) > 1:528 pid = int(words[1])
358 String[] words = address.split("_"); in parseDeviceAddress() local360 if (words[0].startsWith("BUS")) { in parseDeviceAddress()362 addressParsed = Integer.parseInt(words[0].substring(3)); in parseDeviceAddress()
13 # As a special case, a weight of 0 is taken to mean profanity - words that
... =emoji:en,description=Emoji for English words,locale=en,date=1393244559,version ...
88 Previous encodings are statically bound in compile-time. In other words, user must know exactly whi…
29 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded by306 # When enabled doxygen tries to link words that correspond to documented1258 # words in the documentation. The HTML workshop also contains a viewer for
25 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded