summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2013-03-04 11:11:02 +0800
committerPeng Wu <alexepico@gmail.com>2013-03-04 11:11:02 +0800
commit5db769c9b4dd8eeccc3ec39aea6e615b3fa57f31 (patch)
tree8268cf928828f087e6a6e97ce8eef9c4ab62ad4b
parentb7c510534852e86e1bc7e86af652d5a3899a5682 (diff)
downloadlibpinyin-5db769c9b4dd8eeccc3ec39aea6e615b3fa57f31.tar.gz
libpinyin-5db769c9b4dd8eeccc3ec39aea6e615b3fa57f31.tar.xz
libpinyin-5db769c9b4dd8eeccc3ec39aea6e615b3fa57f31.zip
update lambda
-rw-r--r--data/Makefile.am2
-rw-r--r--src/include/novel_types.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index a9fcb30..107c52b 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -62,5 +62,5 @@ phrase_index.bin pinyin_index.bin $(binfiles): bigram.db
rebuild:
git reset --hard
- sed -i -e "s/#define LAMBDA_PARAMETER 0.332769/#define LAMBDA_PARAMETER $(LAMBDA_PARAMETER)/" ../src/include/novel_types.h
+ sed -i -e "s/#define LAMBDA_PARAMETER 0.351972/#define LAMBDA_PARAMETER $(LAMBDA_PARAMETER)/" ../src/include/novel_types.h
make -C .. >/dev/null 2>/dev/null
diff --git a/src/include/novel_types.h b/src/include/novel_types.h
index 808d311..65b684d 100644
--- a/src/include/novel_types.h
+++ b/src/include/novel_types.h
@@ -130,7 +130,7 @@ typedef guint32 table_offset_t;
typedef double parameter_t;
-#define LAMBDA_PARAMETER 0.332769
+#define LAMBDA_PARAMETER 0.351972
/* Array of ChewingKey/ChewingKeyRest */
typedef GArray * ChewingKeyVector;