Home
last modified time | relevance | path

Searched refs:languageCost (Results 1 – 3 of 3) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/internal/
Ddic_node_state_scoring.h71 void addCost(const float spatialCost, const float languageCost, const bool doNormalization, in addCost() argument
74 addDistance(spatialCost, languageCost, doNormalization, inputSize, totalInputIndex); in addCost()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/policy/
Dweighting.cpp84 const float languageCost = Weighting::getLanguageCost(weighting, correctionType, in addCostAndForwardInputIndex() local
95 dicNode->addCost(spatialCost, languageCost, weighting->needsToNormalizeCompoundDistance(), in addCostAndForwardInputIndex()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
Ddic_node.h463 AK_FORCE_INLINE void addCost(const float spatialCost, const float languageCost, in addCost() argument
469 mDicNodeState.mDicNodeStateScoring.addCost(spatialCost, languageCost, doNormalization, in addCost()