Home
last modified time | relevance | path

Searched refs:correctionType (Results 1 – 5 of 5) sorted by relevance

/aosp12/packages/inputmethods/LatinIME/native/jni/src/suggest/core/policy/
H A Dweighting.cpp30 static inline void profile(const CorrectionType correctionType, DicNode *const node) { in profile() argument
32 switch (correctionType) { in profile()
82 const float spatialCost = Weighting::getSpatialCost(weighting, correctionType, in addCostAndForwardInputIndex()
84 const float languageCost = Weighting::getLanguageCost(weighting, correctionType, in addCostAndForwardInputIndex()
88 profile(correctionType, dicNode); in addCostAndForwardInputIndex()
92 dicNode->forwardInputIndex(0, getForwardInputCount(correctionType), in addCostAndForwardInputIndex()
93 (correctionType == CT_TRANSPOSITION)); in addCostAndForwardInputIndex()
97 if (CT_NEW_WORD_SPACE_OMISSION == correctionType) { in addCostAndForwardInputIndex()
108 switch(correctionType) { in getSpatialCost()
146 switch(correctionType) { in getLanguageCost()
[all …]
H A Dweighting.h33 const CorrectionType correctionType,
88 virtual ErrorTypeUtils::ErrorType getErrorType(const CorrectionType correctionType,
99 const CorrectionType correctionType, const DicTraverseSession *const traverseSession,
103 const CorrectionType correctionType, const DicTraverseSession *const traverseSession,
107 static int getForwardInputCount(const CorrectionType correctionType);
/aosp12/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/typing/
H A Dtyping_weighting.cpp27 ErrorTypeUtils::ErrorType TypingWeighting::getErrorType(const CorrectionType correctionType, in getErrorType() argument
30 switch (correctionType) { in getErrorType()
H A Dtyping_weighting.h213 ErrorTypeUtils::ErrorType getErrorType(const CorrectionType correctionType,
/aosp12/packages/inputmethods/LatinIME/native/jni/src/suggest/core/
H A Dsuggest.cpp432 const CorrectionType correctionType = spaceSubstitution ? in createNextWordDicNode() local
434 Weighting::addCostAndForwardInputIndex(WEIGHTING, correctionType, traverseSession, dicNode, in createNextWordDicNode()