diff options
author | 2010-12-01 21:22:15 +0900 | |
---|---|---|
committer | 2010-12-02 01:16:44 +0900 | |
commit | 30088259480130e5bac5c2028e2c7c3e6d4c51a2 (patch) | |
tree | 337c99eb89f527efb2f6a3648a49292a3e84cbb7 /native/src/bigram_dictionary.cpp | |
parent | d4952c8fe9e71c2b313a68077e03d64c8b5196db (diff) | |
download | latinime-30088259480130e5bac5c2028e2c7c3e6d4c51a2.tar.gz latinime-30088259480130e5bac5c2028e2c7c3e6d4c51a2.tar.xz latinime-30088259480130e5bac5c2028e2c7c3e6d4c51a2.zip |
Fix parameters of native functions and refactor Dictionary
- created bigram/unigram dictionary classes
Change-Id: I233a28ed8d611870db3f4cf8f25fc45b5d41529b
Diffstat (limited to 'native/src/bigram_dictionary.cpp')
-rw-r--r-- | native/src/bigram_dictionary.cpp | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/native/src/bigram_dictionary.cpp b/native/src/bigram_dictionary.cpp new file mode 100644 index 000000000..4d9a612a5 --- /dev/null +++ b/native/src/bigram_dictionary.cpp @@ -0,0 +1,31 @@ +/* +** +** Copyright 2010, The Android Open Source Project +** +** Licensed under the Apache License, Version 2.0 (the "License"); +** you may not use this file except in compliance with the License. +** You may obtain a copy of the License at +** +** http://www.apache.org/licenses/LICENSE-2.0 +** +** Unless required by applicable law or agreed to in writing, software +** distributed under the License is distributed on an "AS IS" BASIS, +** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +** See the License for the specific language governing permissions and +** limitations under the License. +*/ + +#include "bigram_dictionary.h" + +namespace latinime { + +BigramDictionary::BigramDictionary(void *dict, int typedLetterMultiplier, int fullWordMultiplier, + int maxWordLength, int maxWords, int maxAlternatives, Dictionary *parentDictionary) +{ +} + +BigramDictionary::~BigramDictionary() +{ +} +// TODO: Move functions related to bigram to here +} // namespace latinime |