summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2014-09-03 11:09:44 +0800
committerPeng Wu <alexepico@gmail.com>2014-09-03 11:09:44 +0800
commitd8ea75b2af390b6d6105f2562b4460b8b1836930 (patch)
treef3988761f1a94c32b5044caf18e9ff5071bcb8f9
parentc2ce3560f701aede519e51f4f70f97a015984efa (diff)
downloadlibpinyin-d8ea75b2af390b6d6105f2562b4460b8b1836930.tar.gz
libpinyin-d8ea75b2af390b6d6105f2562b4460b8b1836930.tar.xz
libpinyin-d8ea75b2af390b6d6105f2562b4460b8b1836930.zip
do not install binary tools
-rw-r--r--doc/libpinyin.14
-rw-r--r--utils/storage/Makefile.am7
-rw-r--r--utils/training/Makefile.am3
3 files changed, 5 insertions, 9 deletions
diff --git a/doc/libpinyin.1 b/doc/libpinyin.1
index 419ef90..0dae23c 100644
--- a/doc/libpinyin.1
+++ b/doc/libpinyin.1
@@ -25,11 +25,9 @@ import_interpolation \< <MODELFILE>
gen_unigram
.SH EXAMPLE
-Download the model.text.tar.gz, and extracts all files into a folder, then run the commands below to generate the binary model data.
+Download the model.text.tar.gz, and extracts all files into the data sub-directory, then run the commands below to generate the binary model data.
.RS
-rm gb_char.bin gbk_char.bin phrase_index.bin pinyin_index.bin bigram.db
-
gen_binary_files --table-dir ../data
import_interpolation < ../data/interpolation.text
diff --git a/utils/storage/Makefile.am b/utils/storage/Makefile.am
index 376c0e7..3ca611d 100644
--- a/utils/storage/Makefile.am
+++ b/utils/storage/Makefile.am
@@ -24,10 +24,9 @@ INCLUDES = -I$(top_srcdir)/src \
LDADD = ../../src/libpinyin_internal.la @GLIB2_LIBS@
-bin_PROGRAMS = gen_binary_files \
- import_interpolation
-
-noinst_PROGRAMS = export_interpolation \
+noinst_PROGRAMS = gen_binary_files \
+ import_interpolation \
+ export_interpolation \
gen_pinyin_table
gen_binary_files_SOURCES = gen_binary_files.cpp
diff --git a/utils/training/Makefile.am b/utils/training/Makefile.am
index 8ed4806..2db1f20 100644
--- a/utils/training/Makefile.am
+++ b/utils/training/Makefile.am
@@ -28,9 +28,8 @@ LDADD = ../../src/libpinyin_internal.la @GLIB2_LIBS@
noinst_HEADERS = k_mixture_model.h
-bin_PROGRAMS = gen_unigram
-
noinst_PROGRAMS = gen_ngram \
+ gen_unigram \
gen_deleted_ngram \
gen_k_mixture_model \
estimate_interpolation \