Home
last modified time | relevance | path

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

12

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
DWordProperty.java32 public final class WordProperty implements Comparable<WordProperty> { class
47 public WordProperty(final String word, final ProbabilityInfo probabilityInfo, in WordProperty() method in WordProperty
72 public WordProperty(final int[] codePoints, final boolean isNotAWord, in WordProperty() method in WordProperty
109 private static int computeHashCode(WordProperty word) { in computeHashCode()
127 public int compareTo(final WordProperty w) { in compareTo()
142 if (!(o instanceof WordProperty)) return false; in equals()
143 WordProperty w = (WordProperty)o; in equals()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/property/
Dword_property.h30 class WordProperty {
33 WordProperty() in WordProperty() function
36 WordProperty(const std::vector<int> *const codePoints, in WordProperty() function
55 DISALLOW_ASSIGNMENT_OPERATOR(WordProperty);
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DVer4DictDecoder.java73 final ArrayList<WordProperty> wordProperties = new ArrayList<>(); in readDictionaryBinary()
77 final WordProperty wordProperty = result.mWordProperty; in readDictionaryBinary()
90 for (final WordProperty wordProperty : wordProperties) { in readDictionaryBinary()
100 for (final WordProperty wordProperty : wordProperties) { in readDictionaryBinary()
DFusionDictionary.java33 public final class FusionDictionary implements Iterable<WordProperty> {
639 public static final class DictionaryIterator implements Iterator<WordProperty> {
669 public WordProperty next() { in next()
686 return new WordProperty(mCurrentString.toString(), in next()
713 public Iterator<WordProperty> iterator() { in iterator()
DVer2DictDecoder.java267 final ArrayList<WordProperty> wordProperties = new ArrayList<>(); in readDictionaryBinary()
271 final WordProperty wordProperty = result.mWordProperty; in readDictionaryBinary()
284 for (final WordProperty wordProperty : wordProperties) { in readDictionaryBinary()
294 for (final WordProperty wordProperty : wordProperties) { in readDictionaryBinary()
DVer4DictEncoder.java75 for (final WordProperty wordProperty : dict) { in writeDictionary()
104 for (final WordProperty word0Property : dict) { in writeDictionary()
DBinaryDictDecoderEncoderTests.java617 final WordProperty wordProperty = binaryDictionary.getWordProperty(word,
670 final WordProperty wordProperty = result.mWordProperty;
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DCombinedInputOutput.java25 import com.android.inputmethod.latin.makedict.WordProperty;
209 final TreeSet<WordProperty> wordPropertiesInDict = new TreeSet<>(); in writeDictionaryCombined()
210 for (final WordProperty wordProperty : dict) { in writeDictionaryCombined()
215 for (final WordProperty wordProperty : wordPropertiesInDict) { in writeDictionaryCombined()
DXmlDictInputOutput.java24 import com.android.inputmethod.latin.makedict.WordProperty;
339 final TreeSet<WordProperty> wordPropertiesInDict = new TreeSet<>(); in writeDictionaryXml()
340 for (WordProperty wordProperty : dict) { in writeDictionaryXml()
351 for (WordProperty wordProperty : wordPropertiesInDict) { in writeDictionaryXml()
DDiff.java22 import com.android.inputmethod.latin.makedict.WordProperty;
110 for (final WordProperty word0Property : dict0) { in diffWords()
144 for (final WordProperty word1Property : dict1) { in diffWords()
DInfo.java23 import com.android.inputmethod.latin.makedict.WordProperty;
46 for (final WordProperty wordProperty : dict) { in showInfo()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DBinaryDictionary.java30 import com.android.inputmethod.latin.makedict.WordProperty;
373 public WordProperty getWordProperty(final String word, final boolean isBeginningOfSentence) { in getWordProperty()
389 return new WordProperty(codePoints, in getWordProperty()
400 public WordProperty mWordProperty;
403 public GetNextWordPropertyResult(final WordProperty wordProperty, final int nextToken) { in GetNextWordPropertyResult()
DExpandableBinaryDictionary.java27 import com.android.inputmethod.latin.makedict.WordProperty;
688 final WordProperty wordProperty = result.mWordProperty; in dumpAllWordsForDebug()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DBinaryDictionaryTests.java28 import com.android.inputmethod.latin.makedict.WordProperty;
998 final WordProperty invalidWordProperty = binaryDictionary.getWordProperty("dummyWord", in testGetWordProperties()
1022 final WordProperty wordProperty = binaryDictionary.getWordProperty(word, in testGetWordProperties()
1063 final WordProperty wordProperty = binaryDictionary.getWordProperty(word0, in testGetWordProperties()
1101 final WordProperty invalidWordProperty = binaryDictionary.getWordProperty("dummyWord", in testIterateAllWords()
1152 final WordProperty wordProperty = result.mWordProperty; in testIterateAllWords()
1196 WordProperty wordProperty = binaryDictionary.getWordProperty("aaa", in testAddShortcuts()
1300 final WordProperty wordProperty = binaryDictionary.getWordProperty(word, in testAddManyShortcuts()
1362 WordProperty wordProperty = binaryDictionary.getWordProperty("ccc", in testDictMigration()
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v2/
Dpatricia_trie_policy.cpp380 const WordProperty PatriciaTriePolicy::getWordProperty(const int *const codePoints, in getWordProperty()
386 return WordProperty(); in getWordProperty()
436 return WordProperty(&codePointVector, &unigramProperty, &bigrams); in getWordProperty()
Dpatricia_trie_policy.h138 const WordProperty getWordProperty(const int *const codePoints,
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v4/
Dver4_patricia_trie_policy.cpp445 const WordProperty Ver4PatriciaTriePolicy::getWordProperty(const int *const codePoints, in getWordProperty()
451 return WordProperty(); in getWordProperty()
518 return WordProperty(&codePointVector, &unigramProperty, &bigrams); in getWordProperty()
Dver4_patricia_trie_policy.h110 const WordProperty getWordProperty(const int *const codePoints,
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/backward/v402/
Dver4_patricia_trie_policy.cpp433 const WordProperty Ver4PatriciaTriePolicy::getWordProperty(const int *const codePoints, in getWordProperty()
439 return WordProperty(); in getWordProperty()
506 return WordProperty(&codePointVector, &unigramProperty, &bigrams); in getWordProperty()
Dver4_patricia_trie_policy.h131 const WordProperty getWordProperty(const int *const codePoints,
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DCombinedFormatUtils.java22 import com.android.inputmethod.latin.makedict.WordProperty;
55 public static String formatWordProperty(final WordProperty wordProperty) { in formatWordProperty()
/packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/makedict/
DFusionDictionaryTest.java23 import com.android.inputmethod.latin.makedict.WordProperty;
90 for (WordProperty wordProperty : dict) { in dumpDict()
/packages/inputmethods/LatinIME/native/jni/
Dcom_android_inputmethod_latin_BinaryDictionary.cpp342 const WordProperty wordProperty = dictionary->getWordProperty(wordCodePoints, codePointCount); in latinime_BinaryDictionary_getWordProperty()
570 const WordProperty wordProperty = dictionary->getWordProperty(wordCodePoints, in latinime_BinaryDictionary_migrateNative()
594 const WordProperty wordProperty = dictionary->getWordProperty(wordCodePoints, in latinime_BinaryDictionary_migrateNative()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/policy/
Ddictionary_structure_with_buffer_policy.h101 virtual const WordProperty getWordProperty(const int *const codePonts,
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
Ddictionary.h101 const WordProperty getWordProperty(const int *const codePoints, const int codePointCount);

12