Searched defs:words (Results 1 - 6 of 6) sorted by relevance

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
H A DSuggestedWordsTests.java62 private static ArrayList<SuggestedWordInfo> createCorrectionWordInfos(final String... words) { argument
64 for (final String word : words) {
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
H A DAbstractDictDecoder.java44 public void readUnigramsAndBigramsBinary(final TreeMap<Integer, String> words, argument
51 BinaryDictIOUtils.readUnigramsAndBigramsBinary(this, words, frequencies, bigrams);
H A DDictDecoder.java82 * @param words the map to store the address as a key and the word as a value.
89 public void readUnigramsAndBigramsBinary(final TreeMap<Integer, String> words, argument
H A DBinaryDictIOUtils.java78 final int bodyOffset, final Map<Integer, String> words,
115 words.put(ptNodeInfo.mOriginalAddress, new String(pushedChars, 0, index));
142 * @param words the map to store the address as a key and the word as a value.
149 final Map<Integer, String> words, final Map<Integer, Integer> frequencies,
154 readUnigramsAndBigramsBinaryInner(dictDecoder, header.mBodyOffset, words,
77 readUnigramsAndBigramsBinaryInner(final DictDecoder dictDecoder, final int bodyOffset, final Map<Integer, String> words, final Map<Integer, Integer> frequencies, final Map<Integer, ArrayList<PendingAttribute>> bigrams) argument
148 readUnigramsAndBigramsBinary(final DictDecoder dictDecoder, final Map<Integer, String> words, final Map<Integer, Integer> frequencies, final Map<Integer, ArrayList<PendingAttribute>> bigrams) argument
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/personalization/
H A DUserHistoryDictionaryTestsHelper.java45 * Characters for generating random words.
66 * Generates and writes random words to dictionary. Caller can be assured
70 * @param dict {@link UserHistoryDictionary} to which words should be added.
71 * @param numberOfWords number of words to be added.
72 * @param random helps generate random words.
73 * @param checkContents if true, checks whether written words are actually in the dictionary.
74 * @param currentTime timestamp that would be used for adding the words.
75 * @returns true if all words have been written to dictionary successfully.
80 final List<String> words = generateWords(numberOfWords, random);
81 // Add random words t
100 addWordsToDictionary(final UserHistoryDictionary dict, final List<String> words, final int timestamp) argument
[all...]
/packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/makedict/
H A DFusionDictionaryTest.java70 private static void checkDictionary(final FusionDictionary dict, final ArrayList<String> words, argument
74 for (final String word : words) {

Completed in 81 milliseconds