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

  /packages/inputmethods/LatinIME/native/jni/src/suggest/core/policy/
traversal.h 24 class DicTraverseSession;
30 virtual bool isOmission(const DicTraverseSession *const traverseSession,
33 virtual bool isSpaceSubstitutionTerminal(const DicTraverseSession *const traverseSession,
35 virtual bool isSpaceOmissionTerminal(const DicTraverseSession *const traverseSession,
37 virtual bool shouldDepthLevelCache(const DicTraverseSession *const traverseSession) const = 0;
38 virtual bool shouldNodeLevelCache(const DicTraverseSession *const traverseSession,
40 virtual bool canDoLookAheadCorrection(const DicTraverseSession *const traverseSession,
42 virtual ProximityType getProximityType(const DicTraverseSession *const traverseSession,
49 virtual bool isPossibleOmissionChildNode(const DicTraverseSession *const traverseSession,
scoring.h 25 class DicTraverseSession;
34 virtual void getMostProbableString(const DicTraverseSession *const traverseSession,
38 DicTraverseSession *const traverseSession, DicNode *const terminals,
43 virtual bool sameAsTyped(const DicTraverseSession *const traverseSession,
weighting.h 26 class DicTraverseSession;
34 const DicTraverseSession *const traverseSession,
39 virtual float getTerminalSpatialCost(const DicTraverseSession *const traverseSession,
46 const DicTraverseSession *const traverseSession, const DicNode *const dicNode,
49 virtual bool isProximityDicNode(const DicTraverseSession *const traverseSession,
53 const DicTraverseSession *const traverseSession, const DicNode *const parentDicNode,
57 const DicTraverseSession *const traverseSession,
60 virtual float getSpaceOmissionCost(const DicTraverseSession *const traverseSession,
64 const DicTraverseSession *const traverseSession, const DicNode *const dicNode,
68 const DicTraverseSession *const traverseSession
    [all...]
weighting.cpp 76 const CorrectionType correctionType, const DicTraverseSession *const traverseSession,
105 const CorrectionType correctionType, const DicTraverseSession *const traverseSession,
143 const CorrectionType correctionType, const DicTraverseSession *const traverseSession,
  /packages/inputmethods/LatinIME/native/jni/src/suggest/core/
suggest.h 36 class DicTraverseSession;
57 void createNextWordDicNode(DicTraverseSession *traverseSession, DicNode *dicNode,
59 void initializeSearch(DicTraverseSession *traverseSession) const;
60 void expandCurrentDicNodes(DicTraverseSession *traverseSession) const;
61 void processTerminalDicNode(DicTraverseSession *traverseSession, DicNode *dicNode) const;
62 void processExpandedDicNode(DicTraverseSession *traverseSession, DicNode *dicNode) const;
63 void weightChildNode(DicTraverseSession *traverseSession, DicNode *dicNode) const;
64 void processDicNodeAsOmission(DicTraverseSession *traverseSession, DicNode *dicNode) const;
65 void processDicNodeAsDigraph(DicTraverseSession *traverseSession, DicNode *dicNode) const;
66 void processDicNodeAsTransposition(DicTraverseSession *traverseSession
    [all...]
suggest.cpp 55 DicTraverseSession *tSession = static_cast<DicTraverseSession *>(traverseSession);
81 void Suggest::initializeSearch(DicTraverseSession *traverseSession) const {
107 void Suggest::expandCurrentDicNodes(DicTraverseSession *traverseSession) const {
230 DicTraverseSession *traverseSession, DicNode *dicNode) const {
260 DicTraverseSession *traverseSession, DicNode *dicNode) const {
274 void Suggest::processDicNodeAsMatch(DicTraverseSession *traverseSession,
280 void Suggest::processDicNodeAsAdditionalProximityChar(DicTraverseSession *traverseSession,
289 void Suggest::processDicNodeAsSubstitution(DicTraverseSession *traverseSession,
299 void Suggest::processDicNodeAsDigraph(DicTraverseSession *traverseSession
    [all...]
  /packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/
suggestions_output_utils.h 27 class DicTraverseSession;
45 DicTraverseSession *traverseSession, const float weightOfLangModelVsSpatialModel,
55 DicTraverseSession *traverseSession, const DicNode *const terminalDicNode,
suggestions_output_utils.cpp 36 const Scoring *const scoringPolicy, DicTraverseSession *traverseSession,
126 const Scoring *const scoringPolicy, DicTraverseSession *traverseSession,
  /packages/inputmethods/LatinIME/native/jni/
com_android_inputmethod_latin_DicTraverseSession.cpp 31 void *traverseSession = DicTraverseSession::getSessionInstance(env, localeJStr, dictSize);
37 DicTraverseSession *ts = reinterpret_cast<DicTraverseSession *>(traverseSession);
54 DicTraverseSession *ts = reinterpret_cast<DicTraverseSession *>(traverseSession);
55 DicTraverseSession::releaseSessionInstance(ts);
77 const char *const kClassPathName = "com/android/inputmethod/latin/DicTraverseSession";
com_android_inputmethod_latin_BinaryDictionary.cpp 179 jlong proximityInfo, jlong dicTraverseSession, jintArray xCoordinatesArray,
194 DicTraverseSession *traverseSession =
195 reinterpret_cast<DicTraverseSession *>(dicTraverseSession);
    [all...]
  /packages/inputmethods/LatinIME/native/jni/src/suggest/core/session/
dic_traverse_session.cpp 29 const int DicTraverseSession::DICTIONARY_SIZE_THRESHOLD_TO_USE_LARGE_CACHE_FOR_SUGGESTION =
32 void DicTraverseSession::init(const Dictionary *const dictionary,
42 void DicTraverseSession::setupForGetSuggestions(const ProximityInfo *pInfo,
52 const DictionaryStructureWithBufferPolicy *DicTraverseSession::getDictionaryStructurePolicy()
57 void DicTraverseSession::resetCache(const int thresholdForNextActiveDicNodes, const int maxWords) {
63 void DicTraverseSession::initializeProximityInfoStates(const int *const inputCodePoints,
dic_traverse_session.h 37 class DicTraverseSession {
40 // A factory method for DicTraverseSession
45 return new DicTraverseSession(env, localeStr,
49 static AK_FORCE_INLINE void releaseSessionInstance(DicTraverseSession *traverseSession) {
53 AK_FORCE_INLINE DicTraverseSession(JNIEnv *env, jstring localeStr, bool usesLargeCache)
62 AK_FORCE_INLINE ~DicTraverseSession() {}
161 DISALLOW_IMPLICIT_CONSTRUCTORS(DicTraverseSession);
  /packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/typing/
typing_scoring.h 29 class DicTraverseSession;
35 AK_FORCE_INLINE void getMostProbableString(const DicTraverseSession *const traverseSession,
40 DicTraverseSession *const traverseSession, DicNode *const terminals,
105 AK_FORCE_INLINE bool sameAsTyped(const DicTraverseSession *const traverseSession,
typing_traversal.h 47 AK_FORCE_INLINE bool isOmission(const DicTraverseSession *const traverseSession,
77 const DicTraverseSession *const traverseSession, const DicNode *const dicNode) const {
98 const DicTraverseSession *const traverseSession, const DicNode *const dicNode) const {
123 const DicTraverseSession *const traverseSession) const {
129 const DicTraverseSession *const traverseSession, const DicNode *const dicNode) const {
134 const DicTraverseSession *const traverseSession, const DicNode *const dicNode) const {
140 const DicTraverseSession *const traverseSession, const DicNode *const dicNode,
174 const DicTraverseSession *const traverseSession, const DicNode *const parentDicNode,
typing_weighting.h 40 float getTerminalSpatialCost(const DicTraverseSession *const traverseSession,
75 float getMatchedCost(const DicTraverseSession *const traverseSession,
105 bool isProximityDicNode(const DicTraverseSession *const traverseSession,
114 float getTranspositionCost(const DicTraverseSession *const traverseSession,
129 float getInsertionCost(const DicTraverseSession *const traverseSession,
153 float getSpaceOmissionCost(const DicTraverseSession *const traverseSession,
159 float getNewWordBigramLanguageCost(const DicTraverseSession *const traverseSession,
167 float getCompletionCost(const DicTraverseSession *const traverseSession,
178 float getTerminalLanguageCost(const DicTraverseSession *const traverseSession,
183 float getTerminalInsertionCost(const DicTraverseSession *const traverseSession
    [all...]
typing_weighting.cpp 28 const DicTraverseSession *const traverseSession, const DicNode *const parentDicNode,
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DicTraverseSession.java 25 public final class DicTraverseSession {
56 public DicTraverseSession(Locale locale, long dictionary, long dictSize) {
BinaryDictionary.java 99 private final SparseArray<DicTraverseSession> mDicTraverseSessions = new SparseArray<>();
101 // TODO: There should be a way to remove used DicTraverseSession objects from
103 private DicTraverseSession getTraverseSession(final int traverseSessionId) {
105 DicTraverseSession traverseSession = mDicTraverseSessions.get(traverseSessionId);
107 traverseSession = new DicTraverseSession(mLocale, mNativeDict, mDictSize);
276 final DicTraverseSession session = getTraverseSession(sessionId);
643 final DicTraverseSession traverseSession = mDicTraverseSessions.valueAt(index);
  /packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
dictionary.h 35 class DicTraverseSession;
68 void getSuggestions(ProximityInfo *proximityInfo, DicTraverseSession *traverseSession,
dictionary.cpp 47 void Dictionary::getSuggestions(ProximityInfo *proximityInfo, DicTraverseSession *traverseSession,
  /packages/inputmethods/LatinIME/tools/dicttool/
Android.mk 46 latin/DicTraverseSession.java \

Completed in 88 milliseconds