summaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorPeng Huang <shawn.p.huang@gmail.com>2011-03-21 13:00:05 -0400
committerPeng Huang <shawn.p.huang@gmail.com>2011-03-21 13:00:05 -0400
commitd85a24507314194f1597c4c5d6c460408fcd3a9e (patch)
tree8e39c9f0ac426050b594712ba59468b0d52b1bcb /data
parent5d68b85c32049841ad1ac6220c6b03a528da7662 (diff)
downloadibus-libpinyin-d85a24507314194f1597c4c5d6c460408fcd3a9e.tar.gz
ibus-libpinyin-d85a24507314194f1597c4c5d6c460408fcd3a9e.tar.xz
ibus-libpinyin-d85a24507314194f1597c4c5d6c460408fcd3a9e.zip
Add auto correct "on" => "ong", and combine some fuzzy pinyin options to save flag bits.
BUG=none TEST=Linux desktop Review URL: http://codereview.appspot.com/4273085
Diffstat (limited to 'data')
-rw-r--r--data/db/android/Makefile.am3
-rw-r--r--data/db/open-phrase/Makefile.am4
2 files changed, 5 insertions, 2 deletions
diff --git a/data/db/android/Makefile.am b/data/db/android/Makefile.am
index 76f4e33..7574596 100644
--- a/data/db/android/Makefile.am
+++ b/data/db/android/Makefile.am
@@ -39,7 +39,8 @@ endif
android.db: $(android_raw_data) $(create_scripts)
$(AM_V_GEN) \
$(RM) $@; \
- $(srcdir)/create_db.py $(srcdir)/rawdict_utf16_65105_freq.txt | @SQLITE3@ $@
+ $(srcdir)/create_db.py $(srcdir)/rawdict_utf16_65105_freq.txt | @SQLITE3@ $@ || \
+ ( $(RM) $@ ; exit 1 )
EXTRA_DIST = \
$(data_files) \
diff --git a/data/db/open-phrase/Makefile.am b/data/db/open-phrase/Makefile.am
index 32bc052..f343ec5 100644
--- a/data/db/open-phrase/Makefile.am
+++ b/data/db/open-phrase/Makefile.am
@@ -30,7 +30,9 @@ DBVER = 1.2.99
DBTAR = pinyin-database-$(DBVER).tar.bz2
$(DBTAR):
- wget http://ibus.googlecode.com/files/$(DBTAR)
+ $(AM_V_GEN) \
+ wget http://ibus.googlecode.com/files/$(DBTAR) && \
+ ( $(RM) $@; exit 1)
stamp-db: $(DBTAR)
$(AM_V_GEN) \