Merge "New dict format, step 3 - followup"

main
Jean Chalard 2011-06-17 01:17:30 -07:00 committed by Android (Google) Code Review
commit af21f7c2a1
1 changed files with 1 additions and 2 deletions

View File

@ -579,7 +579,6 @@ void UnigramDictionary::getWordsRec(const int childrenCount, const int pos, cons
for (int i = 0; i < childrenCount; ++i) { for (int i = 0; i < childrenCount; ++i) {
int newCount; int newCount;
int newChildPosition; int newChildPosition;
const int newDepth = depth + 1;
bool newTraverseAllNodes; bool newTraverseAllNodes;
int newMatchRate; int newMatchRate;
int newInputIndex; int newInputIndex;
@ -595,7 +594,7 @@ void UnigramDictionary::getWordsRec(const int childrenCount, const int pos, cons
siblingPos = newSiblingPos; siblingPos = newSiblingPos;
if (needsToTraverseChildrenNodes) { if (needsToTraverseChildrenNodes) {
getWordsRec(newCount, newChildPosition, newDepth, maxDepth, newTraverseAllNodes, getWordsRec(newCount, newChildPosition, newOutputIndex, maxDepth, newTraverseAllNodes,
newMatchRate, newInputIndex, newDiffs, skipPos, excessivePos, transposedPos, newMatchRate, newInputIndex, newDiffs, skipPos, excessivePos, transposedPos,
nextLetters, nextLettersSize); nextLetters, nextLettersSize);
} }