diff options
author | 2012-01-16 15:19:47 +0900 | |
---|---|---|
committer | 2012-01-16 15:19:47 +0900 | |
commit | 6d4198107bb0bcc383d7324fa39098351b5eceda (patch) | |
tree | 96dc82f84663b363d543d07ffbda41c672863e90 /native/src/unigram_dictionary.cpp | |
parent | d82fd6c3cc58159bd294b85021c8680a70a123ac (diff) | |
download | latinime-6d4198107bb0bcc383d7324fa39098351b5eceda.tar.gz latinime-6d4198107bb0bcc383d7324fa39098351b5eceda.tar.xz latinime-6d4198107bb0bcc383d7324fa39098351b5eceda.zip |
Remove a bunch of obsolete methods.
Change-Id: I218007bf411489d1d648fd9b8b408c5d27c41811
Diffstat (limited to 'native/src/unigram_dictionary.cpp')
-rw-r--r-- | native/src/unigram_dictionary.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/native/src/unigram_dictionary.cpp b/native/src/unigram_dictionary.cpp index bbae5a864..cd73fe3f8 100644 --- a/native/src/unigram_dictionary.cpp +++ b/native/src/unigram_dictionary.cpp @@ -280,7 +280,7 @@ void UnigramDictionary::getSuggestionCandidates(const bool useFullEditDistance, doAutoCompletion, maxErrors); int rootPosition = ROOT_POS; // Get the number of children of root, then increment the position - int childCount = Dictionary::getCount(DICT_ROOT, &rootPosition); + int childCount = BinaryFormat::getGroupCountAndForwardPointer(DICT_ROOT, &rootPosition); int outputIndex = 0; correction->initCorrectionState(rootPosition, childCount, (inputLength <= 0)); |