/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/ |
D | ngram_context.cpp | 37 const int *const prevWordCodePointCount, const bool *const isBeginningOfSentence, in NgramContext() argument 48 mIsBeginningOfSentence[i] = isBeginningOfSentence[i]; in NgramContext() 53 const bool isBeginningOfSentence) : mPrevWordCount(1) { in NgramContext() argument 61 mIsBeginningOfSentence[0] = isBeginningOfSentence; in NgramContext() 91 const bool isBeginningOfSentence, const bool tryLowerCaseSearch) { in getWordId() argument 98 if (isBeginningOfSentence) { in getWordId()
|
D | ngram_context.h | 37 const int *const prevWordCodePointCount, const bool *const isBeginningOfSentence, 41 const bool isBeginningOfSentence); 69 const bool isBeginningOfSentence, const bool tryLowerCaseSearch);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | BinaryDictionary.java | 186 boolean isBeginningOfSentence, int[] outCodePoints, boolean[] outFlags, in getWordPropertyNative() argument 202 int[] shortcutTarget, int shortcutProbability, boolean isBeginningOfSentence, in addUnigramEntryNative() argument 391 public WordProperty getWordProperty(final String word, final boolean isBeginningOfSentence) { in getWordProperty() argument 407 getWordPropertyNative(mNativeDict, codePoints, isBeginningOfSentence, outCodePoints, in getWordProperty() 436 final boolean[] isBeginningOfSentence = new boolean[1]; in getNextWordProperty() 438 isBeginningOfSentence); in getNextWordProperty() 441 getWordProperty(word, isBeginningOfSentence[0]), nextToken); in getNextWordProperty() 446 final String word, final int probability, final boolean isBeginningOfSentence, in addUnigramEntry() argument 448 if (word == null || (word.isEmpty() && !isBeginningOfSentence)) { in addUnigramEntry() 454 isBeginningOfSentence, isNotAWord, isPossiblyOffensive, timestamp)) { in addUnigramEntry()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | SuggestionResults.java | 39 public SuggestionResults(final int capacity, final boolean isBeginningOfSentence, in SuggestionResults() argument 41 this(sSuggestedWordInfoComparator, capacity, isBeginningOfSentence, in SuggestionResults() 46 final boolean isBeginningOfSentence, in SuggestionResults() argument 55 mIsBeginningOfSentence = isBeginningOfSentence; in SuggestionResults()
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
D | jni_data_utils.h | 106 bool isBeginningOfSentence[MAX_PREV_WORD_COUNT_FOR_N_GRAM]; in constructNgramContext() local 109 isBeginningOfSentence[i] = false; in constructNgramContext() 124 isBeginningOfSentence[i] = isBeginningOfSentenceBoolean == JNI_TRUE; in constructNgramContext() 126 return NgramContext(prevWordCodePoints, prevWordCodePointCount, isBeginningOfSentence, in constructNgramContext()
|
/packages/inputmethods/LatinIME/native/jni/ |
D | com_android_inputmethod_latin_BinaryDictionary.cpp | 319 bool isBeginningOfSentence = false; in latinime_BinaryDictionary_getNextWord() local 321 isBeginningOfSentence = true; in latinime_BinaryDictionary_getNextWord() 324 isBeginningOfSentence); in latinime_BinaryDictionary_getNextWord() 329 jlong dict, jintArray word, jboolean isBeginningOfSentence, jintArray outCodePoints, in latinime_BinaryDictionary_getWordProperty() argument 344 if (isBeginningOfSentence) { in latinime_BinaryDictionary_getWordProperty() 361 jboolean isBeginningOfSentence, jboolean isNotAWord, jboolean isPossiblyOffensive, in latinime_BinaryDictionary_addUnigramEntry() argument 379 const UnigramProperty unigramProperty(isBeginningOfSentence, isNotAWord, in latinime_BinaryDictionary_addUnigramEntry()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
D | WordProperty.java | 83 final boolean isBeginningOfSentence, final int[] probabilityInfo, in WordProperty() argument 90 mIsBeginningOfSentence = isBeginningOfSentence; in WordProperty()
|