HomeSort by relevance Sort by last modified time
    Searched refs:WordInfo (Results 1 - 13 of 13) sorted by null

  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
NgramContextTests.java 19 import com.android.inputmethod.latin.NgramContext.WordInfo;
29 assertEquals(new NgramContext(new WordInfo("a")), new NgramContext(new WordInfo("a")));
30 assertEquals(new NgramContext(WordInfo.BEGINNING_OF_SENTENCE_WORD_INFO),
31 new NgramContext(WordInfo.BEGINNING_OF_SENTENCE_WORD_INFO));
32 assertEquals(new NgramContext(WordInfo.EMPTY_WORD_INFO),
33 new NgramContext(WordInfo.EMPTY_WORD_INFO));
34 assertEquals(new NgramContext(WordInfo.EMPTY_WORD_INFO),
35 new NgramContext(WordInfo.EMPTY_WORD_INFO));
40 assertTrue(new NgramContext(WordInfo.BEGINNING_OF_SENTENCE_WORD_INFO
    [all...]
BinaryDictionaryTests.java 24 import com.android.inputmethod.latin.NgramContext.WordInfo;
185 binaryDictionary.addNgramEntry(new NgramContext(new WordInfo(word0)), word1, probability,
192 new NgramContext(new WordInfo(word1), new WordInfo(word0)), word2,
198 return binaryDictionary.isValidNgram(new NgramContext(new WordInfo(word0)), word1);
203 return binaryDictionary.getNgramProbability(new NgramContext(new WordInfo(word0)), word1);
209 new NgramContext(new WordInfo(word1), new WordInfo(word0)), word2);
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
NgramContextUtils.java 20 import com.android.inputmethod.latin.NgramContext.WordInfo;
64 return new NgramContext(WordInfo.BEGINNING_OF_SENTENCE_WORD_INFO);
67 final WordInfo[] prevWordsInfo =
68 new WordInfo[DecoderSpecificConstants.MAX_PREV_WORD_COUNT_FOR_N_GRAM];
69 Arrays.fill(prevWordsInfo, WordInfo.EMPTY_WORD_INFO);
86 prevWordsInfo[i] = WordInfo.BEGINNING_OF_SENTENCE_WORD_INFO;
94 prevWordsInfo[i] = WordInfo.BEGINNING_OF_SENTENCE_WORD_INFO;
100 prevWordsInfo[i] = WordInfo.BEGINNING_OF_SENTENCE_WORD_INFO;
109 prevWordsInfo[i] = new WordInfo(focusedWord);
WordInputEventForPersonalization.java 93 ngramContext = ngramContext.getNextNgramContext(new NgramContext.WordInfo(tempWord));
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
NgramContext.java 37 new NgramContext(WordInfo.EMPTY_WORD_INFO);
40 new NgramContext(WordInfo.BEGINNING_OF_SENTENCE_WORD_INFO);
47 return new NgramContext(maxPrevWordCount, WordInfo.EMPTY_WORD_INFO);
53 public static class WordInfo {
55 public static final WordInfo EMPTY_WORD_INFO = new WordInfo(null);
57 public static final WordInfo BEGINNING_OF_SENTENCE_WORD_INFO = new WordInfo();
67 private WordInfo() {
72 public WordInfo(final CharSequence word)
    [all...]
ContactsBinaryDictionary.java 166 new NgramContext.WordInfo(word));
DictionaryFacilitatorImpl.java 27 import com.android.inputmethod.latin.NgramContext.WordInfo;
515 ngramContextForCurrentWord.getNextNgramContext(new WordInfo(currentWord));
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
WordProperty.java 23 import com.android.inputmethod.latin.NgramContext.WordInfo;
60 final NgramContext ngramContext = new NgramContext(new WordInfo(mWord));
104 final WordInfo[] wordInfoArray = new WordInfo[prevWords.length];
107 ? WordInfo.BEGINNING_OF_SENTENCE_WORD_INFO
108 : new WordInfo(StringUtils.getStringFromNullTerminatedCodePointArray(
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/personalization/
UserHistoryDictionaryTestsHelper.java 23 import com.android.inputmethod.latin.NgramContext.WordInfo;
106 ngramContext = ngramContext.getNextNgramContext(new WordInfo(word));
  /external/pdfium/core/src/fpdfdoc/
pdf_vt.h 249 const CPVT_WordInfo& wordinfo);
461 const CPVT_WordInfo& wordinfo);
462 FX_BOOL GetWordInfo(const CPVT_WordPlace& place, CPVT_WordInfo& wordinfo);
464 const CPVT_WordInfo& wordinfo);
468 FX_FLOAT GetWordFontSize(const CPVT_WordInfo& WordInfo,
478 FX_FLOAT GetWordWidth(const CPVT_WordInfo& WordInfo);
479 FX_FLOAT GetWordAscent(const CPVT_WordInfo& WordInfo, FX_FLOAT fFontSize);
480 FX_FLOAT GetWordDescent(const CPVT_WordInfo& WordInfo, FX_FLOAT fFontSize);
481 FX_FLOAT GetWordAscent(const CPVT_WordInfo& WordInfo,
483 FX_FLOAT GetWordDescent(const CPVT_WordInfo& WordInfo,
    [all...]
doc_vt.cpp 74 const CPVT_WordInfo& wordinfo) {
75 CPVT_WordInfo* pWord = new CPVT_WordInfo(wordinfo);
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
AndroidSpellCheckerSession.java 69 new NgramContext(new NgramContext.WordInfo(currentWord));
215 new NgramContext(new NgramContext.WordInfo(prevWord));
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/inputlogic/
InputLogic.java     [all...]

Completed in 2055 milliseconds