diff --git a/native/jni/Android.mk b/native/jni/Android.mk index f56223f74..1518dad17 100644 --- a/native/jni/Android.mk +++ b/native/jni/Android.mk @@ -46,7 +46,6 @@ LATIN_IME_JNI_SRC_FILES := \ jni_common.cpp LATIN_IME_CORE_SRC_FILES := \ - bigram_dictionary.cpp \ correction.cpp \ dic_traverse_wrapper.cpp \ unigram_dictionary.cpp \ @@ -57,6 +56,7 @@ LATIN_IME_CORE_SRC_FILES := \ dic_node_utils.cpp \ dic_nodes_cache.cpp) \ $(addprefix suggest/core/dictionary/, \ + bigram_dictionary.cpp \ binary_dictionary_format.cpp \ byte_array_utils.cpp \ dictionary.cpp \ diff --git a/native/jni/src/bigram_dictionary.cpp b/native/jni/src/suggest/core/dictionary/bigram_dictionary.cpp similarity index 100% rename from native/jni/src/bigram_dictionary.cpp rename to native/jni/src/suggest/core/dictionary/bigram_dictionary.cpp diff --git a/native/jni/src/bigram_dictionary.h b/native/jni/src/suggest/core/dictionary/bigram_dictionary.h similarity index 100% rename from native/jni/src/bigram_dictionary.h rename to native/jni/src/suggest/core/dictionary/bigram_dictionary.h diff --git a/native/jni/src/suggest/core/dictionary/dictionary.cpp b/native/jni/src/suggest/core/dictionary/dictionary.cpp index dcb83cb51..6fd755dfe 100644 --- a/native/jni/src/suggest/core/dictionary/dictionary.cpp +++ b/native/jni/src/suggest/core/dictionary/dictionary.cpp @@ -21,9 +21,9 @@ #include // TODO: remove #include -#include "bigram_dictionary.h" #include "defines.h" #include "dic_traverse_wrapper.h" +#include "suggest/core/dictionary/bigram_dictionary.h" #include "suggest/core/dictionary/binary_format.h" #include "suggest/core/suggest.h" #include "suggest/core/suggest_options.h"