Lines Matching refs:dicNode
21 #include "suggest/core/dicnode/dic_node.h"
22 #include "suggest/core/dicnode/dic_node_profiler.h"
23 #include "suggest/core/dicnode/dic_node_utils.h"
30 static inline void profile(const CorrectionType correctionType, DicNode *const node) {
74 const DicNode *const parentDicNode, DicNode *const dicNode,
80 traverseSession, parentDicNode, dicNode, &inputStateG);
82 traverseSession, parentDicNode, dicNode, multiBigramMap);
84 parentDicNode, dicNode);
85 profile(correctionType, dicNode);
87 dicNode->updateInputIndexG(&inputStateG);
89 dicNode->forwardInputIndex(0, getForwardInputCount(correctionType),
92 dicNode->addCost(spatialCost, languageCost, weighting->needsToNormalizeCompoundDistance(),
98 const DicNode *const parentDicNode, const DicNode *const dicNode,
102 return weighting->getOmissionCost(parentDicNode, dicNode);
110 return weighting->getNewWordCost(traverseSession, dicNode);
112 return weighting->getMatchedCost(traverseSession, dicNode, inputStateG);
114 return weighting->getCompletionCost(traverseSession, dicNode);
116 return weighting->getTerminalSpatialCost(traverseSession, dicNode);
118 return weighting->getSpaceSubstitutionCost(traverseSession, dicNode);
120 return weighting->getInsertionCost(traverseSession, parentDicNode, dicNode);
122 return weighting->getTranspositionCost(traverseSession, parentDicNode, dicNode);
130 const DicNode *const parentDicNode, const DicNode *const dicNode,
146 traverseSession->getOffsetDict(), dicNode, multiBigramMap);
147 return weighting->getTerminalLanguageCost(traverseSession, dicNode, languageImprobability);