Home
last modified time | relevance | path

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

12

/packages/inputmethods/LatinIME/native/jni/
DAndroid.bp27 "src/dictionary/header/header_policy.cpp",
28 "src/dictionary/header/header_read_write_utils.cpp",
29 "src/dictionary/property/ngram_context.cpp",
30 "src/dictionary/structure/dictionary_structure_with_buffer_policy_factory.cpp",
31 "src/dictionary/structure/pt_common/bigram/bigram_list_read_write_utils.cpp",
32 "src/dictionary/structure/pt_common/dynamic_pt_gc_event_listeners.cpp",
33 "src/dictionary/structure/pt_common/dynamic_pt_reading_helper.cpp",
34 "src/dictionary/structure/pt_common/dynamic_pt_reading_utils.cpp",
35 "src/dictionary/structure/pt_common/dynamic_pt_updating_helper.cpp",
36 "src/dictionary/structure/pt_common/dynamic_pt_writing_utils.cpp",
[all …]
Dcom_android_inputmethod_latin_BinaryDictionary.cpp65 Dictionary *const dictionary = in latinime_BinaryDictionary_open() local
68 return reinterpret_cast<jlong>(dictionary); in latinime_BinaryDictionary_open()
94 Dictionary *const dictionary = in latinime_BinaryDictionary_createOnMemory() local
96 return reinterpret_cast<jlong>(dictionary); in latinime_BinaryDictionary_createOnMemory()
101 Dictionary *dictionary = reinterpret_cast<Dictionary *>(dict); in latinime_BinaryDictionary_flush() local
102 if (!dictionary) return false; in latinime_BinaryDictionary_flush()
107 return dictionary->flush(filePathChars); in latinime_BinaryDictionary_flush()
112 Dictionary *dictionary = reinterpret_cast<Dictionary *>(dict); in latinime_BinaryDictionary_needsToRunGC() local
113 if (!dictionary) return false; in latinime_BinaryDictionary_needsToRunGC()
114 return dictionary->needsToRunGC(mindsBlockByGC == JNI_TRUE); in latinime_BinaryDictionary_needsToRunGC()
[all …]
Dcom_android_inputmethod_latin_DicTraverseSession.cpp36 jlong dictionary, jintArray previousWord, jint previousWordLength) { in latinime_initDicTraverseSession() argument
41 Dictionary *dict = reinterpret_cast<Dictionary *>(dictionary); in latinime_initDicTraverseSession()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DDicTraverseSession.java51 long dictionary, int[] previousWord, int previousWordLength); in initDicTraverseSessionNative() argument
56 public DicTraverseSession(Locale locale, long dictionary, long dictSize) { in DicTraverseSession() argument
59 initSession(dictionary); in DicTraverseSession()
66 public void initSession(long dictionary) { in initSession() argument
67 initSession(dictionary, null, 0); in initSession()
70 public void initSession(long dictionary, int[] previousWord, int previousWordLength) { in initSession() argument
72 mNativeDicTraverseSession, dictionary, previousWord, previousWordLength); in initSession()
DDictionaryFacilitatorImpl.java594 final ExpandableBinaryDictionary dictionary = mDictionaryGroup.getSubDict(dictName); in removeWord() local
595 if (dictionary != null) { in removeWord()
596 dictionary.removeUnigramEntryDynamically(word); in removeWord()
627 final Dictionary dictionary = mDictionaryGroup.getDict(dictType); in getSuggestionResults() local
628 if (null == dictionary) continue; in getSuggestionResults()
633 dictionary.getSuggestions(composedData, ngramContext, in getSuggestionResults()
668 final Dictionary dictionary = mDictionaryGroup.getDict(dictType); in isValidWord() local
672 if (null == dictionary) continue; in isValidWord()
673 if (dictionary.isValidWord(word)) { in isValidWord()
686 final Dictionary dictionary = mDictionaryGroup.getDict(dictType); in getFrequency() local
[all …]
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
DDictionaryBackupAgent.java195 byte[] dictionary = null; in restoreDictionary()
206 dictionary = baos.toByteArray(); in restoreDictionary()
212 while (pos + 4 < dictionary.length) { in restoreDictionary()
213 int length = readInt(dictionary, pos); in restoreDictionary()
215 if (pos + length > dictionary.length) { in restoreDictionary()
218 String line = new String(dictionary, pos, length); in restoreDictionary()
/packages/inputmethods/LatinIME/dictionaries/
Dsample.combined1 # This is a sample wordlist that can be converted to a binary dictionary
7 # of the file should be `dictionary'. Usual fields are `locale', `description',
17 # into the dictionary is to add shortcut targets and maybe an allowlist
30 dictionary=main:en,locale=en,description=Sample wordlist,date=1351495318,version=1
Den_emoji.combined.gz ... 1dictionary=emoji:en,description=Emoji for English ...
Dfr_emoji.combined.gz ... 1dictionary=emoji:fr,description=Emoji pour mots ...
Den_GB_wordlist.combined.gz ... 1dictionary=main:en_gb,locale=en_GB,description ...
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz ... 1dictionary=main:en,locale=en,description ...
Dsl_wordlist.combined.gz
Diw_wordlist.combined.gz
Del_wordlist.combined.gz
Dsr_wordlist.combined.gz ... 1dictionary=main:sr,locale=sr,description ...
Dnl_wordlist.combined.gz ... 1dictionary=main:nl,locale=nl,description ...
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/session/
Ddic_traverse_session.cpp32 void DicTraverseSession::init(const Dictionary *const dictionary, in init() argument
34 mDictionary = dictionary; in init()
Ddic_traverse_session.h64 void init(const Dictionary *dictionary, const NgramContext *const ngramContext,
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DDictionaryMaker.java201 FusionDictionary dictionary = readInputFromParsedArgs(parsedArgs); in main() local
202 writeOutputToParsedArgs(parsedArgs, dictionary); in main()
/packages/inputmethods/LatinIME/java/
DAndroid.bp50 // Do not compress dictionary files to mmap dict data runtime
/packages/inputmethods/LatinIME/tests/
DAndroid.bp30 // Do not compress dictionary files to mmap dict data runtime
/packages/modules/Gki/libkver/
DAndroid.bp66 dictionary: "fuzzer.dict",
/packages/modules/NeuralNetworks/tools/test_generator/
DREADME.md87 # Example 1, separate dictionary for inputs and outputs
94 # Example 2, combined dictionary
/packages/apps/TV/res/raw/
Dthird_party_licenses3592 # A large portion of the dictionary entries
3594 # Free Software applies to the current dictionary as well.
3653 # Project: http://code.google.com/p/lao-dictionary/
3654 # Dictionary: http://lao-dictionary.googlecode.com/git/Lao-Dictionary.txt
3655 # License: http://lao-dictionary.googlecode.com/git/Lao-Dictionary-LICENSE.txt
3658 # This file is derived from the above dictionary, with slight

12