summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2013-02-27 11:43:31 +0800
committerPeng Wu <alexepico@gmail.com>2013-02-27 11:43:31 +0800
commit13491ff484f8fb34b7c06efd41a97cf87c65bd3d (patch)
tree317ad2998e1d0a157584ba4dc227e9d608ee7852
parent70b71f0ac41e98674e9c35b5ff770b8ed4128d4e (diff)
downloadlibpinyin-13491ff484f8fb34b7c06efd41a97cf87c65bd3d.tar.gz
libpinyin-13491ff484f8fb34b7c06efd41a97cf87c65bd3d.tar.xz
libpinyin-13491ff484f8fb34b7c06efd41a97cf87c65bd3d.zip
update lambda parameter
-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 7b35dcd..6a5a949 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.330642/#define LAMBDA_PARAMETER $(LAMBDA_PARAMETER)/" ../src/include/novel_types.h
+ sed -i -e "s/#define LAMBDA_PARAMETER 0.332769/#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 428b67e..808d311 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.330642
+#define LAMBDA_PARAMETER 0.332769
/* Array of ChewingKey/ChewingKeyRest */
typedef GArray * ChewingKeyVector;