From d8ea75b2af390b6d6105f2562b4460b8b1836930 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Wed, 3 Sep 2014 11:09:44 +0800 Subject: do not install binary tools --- doc/libpinyin.1 | 4 +--- utils/storage/Makefile.am | 7 +++---- utils/training/Makefile.am | 3 +-- 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 \< 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 \ -- cgit