diff options
author | 2011-06-17 01:17:30 -0700 | |
---|---|---|
committer | 2011-06-17 01:17:30 -0700 | |
commit | af21f7c2a166b3c2c397d32735f3ee0dd4b16ef7 (patch) | |
tree | cbaacbe85697c99a184ea611b4a13f57e92eef68 /native/src | |
parent | e966c803bbcc256495f301f1ebc935f0efc207a2 (diff) | |
parent | 4fd9650f0bfadf86f37834628221479c868bf763 (diff) | |
download | latinime-af21f7c2a166b3c2c397d32735f3ee0dd4b16ef7.tar.gz latinime-af21f7c2a166b3c2c397d32735f3ee0dd4b16ef7.tar.xz latinime-af21f7c2a166b3c2c397d32735f3ee0dd4b16ef7.zip |
Merge "New dict format, step 3 - followup"
Diffstat (limited to 'native/src')
-rw-r--r-- | native/src/unigram_dictionary.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/native/src/unigram_dictionary.cpp b/native/src/unigram_dictionary.cpp index c294cf3b5..aa159b533 100644 --- a/native/src/unigram_dictionary.cpp +++ b/native/src/unigram_dictionary.cpp @@ -579,7 +579,6 @@ void UnigramDictionary::getWordsRec(const int childrenCount, const int pos, cons for (int i = 0; i < childrenCount; ++i) { int newCount; int newChildPosition; - const int newDepth = depth + 1; bool newTraverseAllNodes; int newMatchRate; int newInputIndex; @@ -595,7 +594,7 @@ void UnigramDictionary::getWordsRec(const int childrenCount, const int pos, cons siblingPos = newSiblingPos; if (needsToTraverseChildrenNodes) { - getWordsRec(newCount, newChildPosition, newDepth, maxDepth, newTraverseAllNodes, + getWordsRec(newCount, newChildPosition, newOutputIndex, maxDepth, newTraverseAllNodes, newMatchRate, newInputIndex, newDiffs, skipPos, excessivePos, transposedPos, nextLetters, nextLettersSize); } |