Home
last modified time | relevance | path

Searched defs:word (Results 1 – 25 of 75) sorted by relevance

123

/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/
DOpenWnnEngineEN.java108 WnnWord word; in getCandidate() local
162 private boolean addCandidate(WnnWord word) { in addCandidate()
295 public int searchWords(WnnWord word) { in searchWords()
305 WnnWord word = getCandidate(mOutputNum); in getNextCandidate() local
313 public boolean learn(WnnWord word) { in learn()
318 public int addWord(WnnWord word) { in addWord()
327 public boolean deleteWord(WnnWord word) { in deleteWord()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DWnnEngine.java92 public int searchWords(WnnWord word); in searchWords()
125 public boolean learn(WnnWord word); in learn()
133 public int addWord(WnnWord word); in addWord()
141 public boolean deleteWord(WnnWord word); in deleteWord()
DWnnDictionary.java319 public int addWordToUserDictionary( WnnWord[] word ); in addWordToUserDictionary()
326 public int addWordToUserDictionary( WnnWord word ); in addWordToUserDictionary()
334 public int removeWordFromUserDictionary( WnnWord[] word ); in removeWordFromUserDictionary()
341 public int removeWordFromUserDictionary( WnnWord word ); in removeWordFromUserDictionary()
349 public int learnWord( WnnWord word ); in learnWord()
358 public int learnWord( WnnWord word, WnnWord previousWord ); in learnWord()
DSymbolList.java210 public int searchWords(WnnWord word) {return 0;} in searchWords()
218 WnnWord word = new WnnWord(str, str); in getNextCandidate() local
223 public boolean learn(WnnWord word) {return false;} in learn()
226 public int addWord(WnnWord word) {return 0;} in addWord()
229 public boolean deleteWord(WnnWord word) {return false;} in deleteWord()
DCandidateFilter.java41 public boolean isAllowed(WnnWord word) { in isAllowed()
DCandidateTextView.java96 public CandidateTextView setCandidateTextView(WnnWord word, int wordCount, in setCandidateTextView()
118 public int setCustomCandidate(WnnWord word) { in setCustomCandidate()
DOpenWnnDictionaryImpl.java848 public int addWordToUserDictionary( WnnWord[] word ) { in addWordToUserDictionary()
930 public int addWordToUserDictionary( WnnWord word ) { in addWordToUserDictionary()
940 public int removeWordFromUserDictionary( WnnWord[] word ) { in removeWordFromUserDictionary()
980 public int removeWordFromUserDictionary( WnnWord word ) { in removeWordFromUserDictionary()
990 public int learnWord( WnnWord word ) { in learnWord()
1001 public int learnWord( WnnWord word, WnnWord previousWord ) { in learnWord()
DOpenWnnEvent.java277 public WnnWord word = null; field in OpenWnnEvent
371 public OpenWnnEvent(int code, WnnWord word) { in OpenWnnEvent()
383 public OpenWnnEvent(int code, int dict, WnnWord word) { in OpenWnnEvent()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DDictionary.java111 public boolean isValidWord(final String word) { in isValidWord()
118 abstract public boolean isInDictionary(final String word); in isInDictionary()
124 public int getFrequency(final String word) { in getFrequency()
132 public int getMaxFrequencyOfExactMatches(final String word) { in getMaxFrequencyOfExactMatches()
144 protected boolean same(final char[] word, final int length, final String typedWord) { in same()
212 public boolean isInDictionary(String word) { in isInDictionary()
DReadOnlyBinaryDictionary.java71 public boolean isInDictionary(final String word) { in isInDictionary()
95 public int getFrequency(final String word) { in getFrequency()
107 public int getMaxFrequencyOfExactMatches(final String word) { in getMaxFrequencyOfExactMatches()
DBinaryDictionary.java181 private static native int getProbabilityNative(long dict, int[] word); in getProbabilityNative()
182 private static native int getMaxProbabilityOfExactMatchesNative(long dict, int[] word); in getMaxProbabilityOfExactMatchesNative()
184 boolean[] isBeginningOfSentenceArray, int[] word); in getNgramProbabilityNative()
185 private static native void getWordPropertyNative(long dict, int[] word, in getWordPropertyNative()
201 private static native boolean addUnigramEntryNative(long dict, int[] word, int probability, in addUnigramEntryNative()
204 private static native boolean removeUnigramEntryNative(long dict, int[] word); in removeUnigramEntryNative()
207 int[] word, int probability, int timestamp); in addNgramEntryNative()
209 int[][] prevWordCodePointArrays, boolean[] isBeginningOfSentenceArray, int[] word); in removeNgramEntryNative()
212 int[] word, boolean isValidWord, int count, int timestamp); in updateEntriesForWordWithNgramContextNative()
352 public boolean isInDictionary(final String word) { in isInDictionary()
[all …]
DExpandableBinaryDictionary.java297 public void addUnigramEntry(final String word, final int frequency, in addUnigramEntry()
307 protected void addUnigramLocked(final String word, final int frequency, in addUnigramLocked()
318 public void removeUnigramEntryDynamically(final String word) { in removeUnigramEntryDynamically()
340 public void addNgramEntry(@Nonnull final NgramContext ngramContext, final String word, in addNgramEntry()
355 protected void addNgramEntryLocked(@Nonnull final NgramContext ngramContext, final String word, in addNgramEntryLocked()
369 final String word, final boolean isValidWord, final int count, final int timestamp) { in updateEntriesForWord()
464 public boolean isInDictionary(final String word) { in isInDictionary()
486 protected boolean isInDictionaryLocked(final String word) { in isInDictionaryLocked()
492 public int getMaxFrequencyOfExactMatches(final String word) { in getMaxFrequencyOfExactMatches()
DDictionaryCollection.java86 public boolean isInDictionary(final String word) { in isInDictionary()
93 public int getFrequency(final String word) { in getFrequency()
103 public int getMaxFrequencyOfExactMatches(final String word) { in getMaxFrequencyOfExactMatches()
DDictionaryFacilitator.java155 void unlearnFromUserHistory(final String word, in unlearnFromUserHistory()
165 boolean isValidSpellingWord(final String word); in isValidSpellingWord()
167 boolean isValidSuggestionWord(final String word); in isValidSuggestionWord()
DDictionaryFacilitatorImpl.java543 final NgramContext ngramContext, final String word, final boolean wasAutoCapitalized, in addWordToUserHistory()
593 private void removeWord(final String dictName, final String word) { in removeWord()
601 public void unlearnFromUserHistory(final String word, in unlearnFromUserHistory()
645 public boolean isValidSpellingWord(final String word) { in isValidSpellingWord()
656 public boolean isValidSuggestionWord(final String word) { in isValidSuggestionWord()
660 private boolean isValidWord(final String word, final String[] dictionariesToCheck) { in isValidWord()
680 private int getFrequency(final String word) { in getFrequency()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
DWeightedString.java32 public WeightedString(final String word, final int probability) { in WeightedString()
36 public WeightedString(final String word, final ProbabilityInfo probabilityInfo) { in WeightedString()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DUserDictionaryCompatUtils.java28 public static void addWord(final Context context, final String word, in addWord()
44 private static void addWordWithShortcut(final Context context, final String word, in addWordWithShortcut()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DLatinImeStressTests.java39 final String word = CodePointUtils.generateWord(random, codePointSet); in testSwitchLanguagesAndInputLatinRandomCodePoints() local
57 final String word = CodePointUtils.generateWord(random, codePointSet); in testSwitchLanguagesAndInputRandomCodePoints() local
DBinaryDictionaryTests.java175 private static void addUnigramWord(final BinaryDictionary binaryDictionary, final String word, in addUnigramWord()
250 final String word = CodePointUtils.generateWord(random, codePointSet); in testRandomlyAddUnigramWord() local
329 final String word = CodePointUtils.generateWord(random, codePointSet); in testRandomlyAddBigramWords() local
467 final String word = CodePointUtils.generateWord(random, codePointSet); in testAddBigramWordsAndFlashWithGC() local
528 final String word = CodePointUtils.generateWord(random, codePointSet); in testRandomOperationsAndFlashWithGC() local
542 final String word = CodePointUtils.generateWord(random, codePointSet); in testRandomOperationsAndFlashWithGC() local
572 final String word = words.get(i); in testRandomOperationsAndFlashWithGC() local
613 final String word = CodePointUtils.generateWord(random, codePointSet); in testAddManyUnigramsAndFlushWithGC() local
621 final String word = words.get(j); in testAddManyUnigramsAndFlushWithGC() local
655 final String word = CodePointUtils.generateWord(random, codePointSet); in testUnigramAndBigramCount() local
[all …]
DPersonalDictionaryLookupTest.java82 private Uri addWord(final String word, final Locale locale, int frequency, String shortcut) { in addWord()
130 private void verifyWordExists(final Set<String> set, final String word) { in verifyWordExists()
134 private void verifyWordDoesNotExist(final Set<String> set, final String word) { in verifyWordDoesNotExist()
DSuggestedWordsTests.java37 private static SuggestedWordInfo createTypedWordInfo(final String word) { in createTypedWordInfo()
54 private static SuggestedWordInfo createCorrectionWordInfo(final String word) { in createCorrectionWordInfo()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
DOpenWnnEngineJAJP.java201 WnnWord word; in getCandidate() local
273 private boolean addCandidate(WnnWord word) { in addCandidate()
475 public int searchWords(WnnWord word) { in searchWords()
485 WnnWord word = getCandidate(mOutputNum); in getNextCandidate() local
493 public boolean learn(WnnWord word) { in learn()
528 public int addWord(WnnWord word) { in addWord()
539 public boolean deleteWord(WnnWord word) { in deleteWord()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/
DUserHistoryDictionary.java100 @Nonnull final NgramContext ngramContext, final String word, final boolean isValid, in addToDictionary()
132 public boolean isValidWord(final String word) { in isValidWord()
/packages/apps/Music/src/com/android/music/
DMusicAlphabetIndexer.java34 protected int compare(String word, String letter) { in compare()
/packages/inputmethods/LatinIME/native/jni/
Dcom_android_inputmethod_latin_BinaryDictionary.cpp264 jintArray word) { in latinime_BinaryDictionary_getProbability()
274 JNIEnv *env, jclass clazz, jlong dict, jintArray word) { in latinime_BinaryDictionary_getMaxProbabilityOfExactMatches()
286 jintArray word) { in latinime_BinaryDictionary_getNgramProbability()
329 jlong dict, jintArray word, jboolean isBeginningOfSentence, jintArray outCodePoints, in latinime_BinaryDictionary_getWordProperty()
360 jintArray word, jint probability, jintArray shortcutTarget, jint shortcutProbability, in latinime_BinaryDictionary_addUnigramEntry()
387 jintArray word) { in latinime_BinaryDictionary_removeUnigramEntry()
400 jintArray word, jint probability, jint timestamp) { in latinime_BinaryDictionary_addNgramEntry()
420 jintArray word) { in latinime_BinaryDictionary_removeNgramEntry()
437 jbooleanArray isBeginningOfSentenceArray, jintArray word, jboolean isValidWord, jint count, in latinime_BinaryDictionary_updateEntriesForWordWithNgramContext()

123