aboutsummaryrefslogtreecommitdiffstats
path: root/native/jni/src/suggest/policyimpl/dictionary/header/header_policy.cpp
diff options
context:
space:
mode:
authorKeisuke Kuroyanagi <ksk@google.com>2013-09-26 12:59:02 +0900
committerKeisuke Kuroyanagi <ksk@google.com>2013-09-26 12:59:02 +0900
commit5ef6209656c51df0f0542d2a75c2df93c8d0f027 (patch)
tree44d7fc0eb3a5e8fabe57b7a309a2e4b13b7482b0 /native/jni/src/suggest/policyimpl/dictionary/header/header_policy.cpp
parent10b56df486826bdfa86a3e58496db5a9d2a73d0f (diff)
downloadlatinime-5ef6209656c51df0f0542d2a75c2df93c8d0f027.tar.gz
latinime-5ef6209656c51df0f0542d2a75c2df93c8d0f027.tar.xz
latinime-5ef6209656c51df0f0542d2a75c2df93c8d0f027.zip
Create empty dictionary file in native code.
Bug: 6669677 Change-Id: I46d23deee1fd091678f4593561cb8687eb815212
Diffstat (limited to 'native/jni/src/suggest/policyimpl/dictionary/header/header_policy.cpp')
-rw-r--r--native/jni/src/suggest/policyimpl/dictionary/header/header_policy.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/native/jni/src/suggest/policyimpl/dictionary/header/header_policy.cpp b/native/jni/src/suggest/policyimpl/dictionary/header/header_policy.cpp
index 9a32f64d4..7bbeacaa0 100644
--- a/native/jni/src/suggest/policyimpl/dictionary/header/header_policy.cpp
+++ b/native/jni/src/suggest/policyimpl/dictionary/header/header_policy.cpp
@@ -22,6 +22,8 @@
namespace latinime {
+
+// Note that these are corresponding definitions in Java side in FormatSpec.FileHeader.
const char *const HeaderPolicy::MULTIPLE_WORDS_DEMOTION_RATE_KEY = "MULTIPLE_WORDS_DEMOTION_RATE";
const char *const HeaderPolicy::USES_FORGETTING_CURVE_KEY = "USES_FORGETTING_CURVE";
const char *const HeaderPolicy::LAST_UPDATED_TIME_KEY = "date";