Home
last modified time | relevance | path

Searched refs:words (Results 1 – 25 of 25) sorted by relevance

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictDecoderEncoderTests.java132 final List<String> words) { in addUnigrams() argument
134 final String word = words.get(i); in addUnigrams()
142 final List<String> words, in addBigrams() argument
147 dict.setBigram(words.get(w1), words.get(w2), new ProbabilityInfo(BIGRAM_FREQ)); in addBigrams()
183 private static void checkDictionary(final FusionDictionary dict, final List<String> words, in checkDictionary() argument
188 for (final String word : words) { in checkDictionary()
198 words.get(w1)); in checkDictionary()
199 assertNotNull(words.get(w1) + "," + words.get(w2), ptNode.getBigram(words.get(w2))); in checkDictionary()
213 private static long timeReadingAndCheckDict(final File file, final List<String> words, in timeReadingAndCheckDict() argument
230 checkDictionary(dict, words, bigrams); in timeReadingAndCheckDict()
[all …]
DBinaryDictIOUtils.java78 final int bodyOffset, final Map<Integer, String> words, in readUnigramsAndBigramsBinaryInner() argument
115 words.put(ptNodeInfo.mOriginalAddress, new String(pushedChars, 0, index)); in readUnigramsAndBigramsBinaryInner()
149 final Map<Integer, String> words, final Map<Integer, Integer> frequencies, in readUnigramsAndBigramsBinary() argument
154 readUnigramsAndBigramsBinaryInner(dictDecoder, header.mBodyOffset, words, in readUnigramsAndBigramsBinary()
DAbstractDictDecoder.java44 public void readUnigramsAndBigramsBinary(final TreeMap<Integer, String> words, in readUnigramsAndBigramsBinary() argument
51 BinaryDictIOUtils.readUnigramsAndBigramsBinary(this, words, frequencies, bigrams); in readUnigramsAndBigramsBinary()
DDictDecoder.java89 public void readUnigramsAndBigramsBinary(final TreeMap<Integer, String> words, in readUnigramsAndBigramsBinary() argument
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DBinaryDictionaryTests.java340 final ArrayList<String> words = new ArrayList<>(); in testRandomlyAddBigramWords() local
348 words.add(word); in testRandomlyAddBigramWords()
355 final String word0 = words.get(random.nextInt(wordCount)); in testRandomlyAddBigramWords()
356 final String word1 = words.get(random.nextInt(wordCount)); in testRandomlyAddBigramWords()
482 final ArrayList<String> words = new ArrayList<>(); in testAddBigramWordsAndFlashWithGC() local
490 words.add(word); in testAddBigramWordsAndFlashWithGC()
497 final String word0 = words.get(random.nextInt(wordCount)); in testAddBigramWordsAndFlashWithGC()
498 final String word1 = words.get(random.nextInt(wordCount)); in testAddBigramWordsAndFlashWithGC()
545 final ArrayList<String> words = new ArrayList<>(); in testRandomOperationsAndFlashWithGC() local
552 words.add(word); in testRandomOperationsAndFlashWithGC()
[all …]
DSuggestedWordsTests.java70 private static ArrayList<SuggestedWordInfo> createCorrectionWordInfos(final String... words) { in createCorrectionWordInfos() argument
72 for (final String word : words) { in createCorrectionWordInfos()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/personalization/
DUserHistoryDictionaryTestsHelper.java80 final List<String> words = generateWords(numberOfWords, random); in addAndWriteRandomWords() local
82 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() argument
104 for (final String word : words) { in addWordsToDictionary()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioDeviceInfo.java46 String[] words = address.split("_"); in parseDeviceAddress() local
48 if (words[0].toLowerCase().startsWith("bus")) { in parseDeviceAddress()
50 addressParsed = Integer.parseInt(words[0].substring(3)); in parseDeviceAddress()
/packages/inputmethods/LatinIME/native/jni/src/
Ddefines.h114 #define DUMP_SUGGESTION(words, frequencies, index, score) \ argument
115 do { dumpWordInfo(words, frequencies, index, score); } while (0)
169 #define DUMP_SUGGESTION(words, frequencies, index, score) argument
/packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/makedict/
DFusionDictionaryTest.java70 private static void checkDictionary(final FusionDictionary dict, final ArrayList<String> words, in checkDictionary() argument
74 for (final String word : words) { in checkDictionary()
/packages/apps/Messaging/tools/messagegen/
Dfillsms132 local words=$(random_value $MAX_WORDS_PER_MESSAGE)
134 for k in `seq 1 $words`;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DDictionaryFacilitatorImpl.java506 final String[] words = suggestion.split(Constants.WORD_SEPARATOR); in addToUserHistory() local
508 for (int i = 0; i < words.length; i++) { in addToUserHistory()
509 final String currentWord = words[i]; in addToUserHistory()
/packages/apps/Launcher3/src_plugins/
DREADME.md1 …ugin interfaces that launcher listens for and plugins implement. In other words, these are the hoo…
/packages/inputmethods/LatinIME/dictionaries/
Dsample.combined13 # As a special case, a weight of 0 is taken to mean profanity - words that
Den_emoji.combined.gz
Den_US_wordlist.combined.gz
Den_GB_wordlist.combined.gz
Den_wordlist.combined.gz
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
Dsv_wordlist.combined.gz1dictionary=main:sv,locale=sv,description=Svenska,date=1414726264, ...
Dde_wordlist.combined.gz1dictionary=main:de,locale=de,description=Deutsch,date=1414726263, ...
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dencoding.md88 Previous encodings are statically bound in compile-time. In other words, user must know exactly whi…
DDoxyfile.in29 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded by
306 # When enabled doxygen tries to link words that correspond to documented
1258 # words in the documentation. The HTML workshop also contains a viewer for
/packages/apps/LegacyCamera/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile25 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded
/packages/apps/LegacyCamera/jni/feature_stab/doc/
Ddbreg_API_doxyfile25 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded