summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
-rw-r--r--src/lookup/Makefile.am2
-rw-r--r--src/lookup/pinyin_lookup.cpp2
-rw-r--r--src/lookup/pinyin_lookup.h2
-rw-r--r--src/lookup/winner_tree.cpp2
-rw-r--r--src/lookup/winner_tree.h1
-rw-r--r--tests/lookup/test_simple_lookup.cpp2
7 files changed, 6 insertions, 7 deletions
diff --git a/Makefile.am b/Makefile.am
index 7c82a74..4762363 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -15,7 +15,7 @@
## along with this program; if not, write to the Free Software
## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-EXTRA_DIST = config.rpath COPYING
+EXTRA_DIST = COPYING
AUTOMAKE_OPTIONS = gnu
SUBDIRS = src utils tests
diff --git a/src/lookup/Makefile.am b/src/lookup/Makefile.am
index 7ad7ac3..724c450 100644
--- a/src/lookup/Makefile.am
+++ b/src/lookup/Makefile.am
@@ -21,7 +21,7 @@ INCLUDES = -I$(top_srcdir)/src/include \
-I$(top_srcdir)/src/storage \
@GLIB2_CPPFLAGS@
-noinst_HEADERS = lookup.h winner_tree.h
+noinst_HEADERS = pinyin_lookup.h winner_tree.h
noinst_PROGRAMS =
diff --git a/src/lookup/pinyin_lookup.cpp b/src/lookup/pinyin_lookup.cpp
index 0b5cf4d..4e45a72 100644
--- a/src/lookup/pinyin_lookup.cpp
+++ b/src/lookup/pinyin_lookup.cpp
@@ -29,7 +29,7 @@
#include "pinyin_large_table.h"
#include "phrase_index.h"
#include "ngram.h"
-#include "lookup.h"
+#include "pinyin_lookup.h"
#include "winner_tree.h"
const gfloat PinyinLookup::bigram_lambda;
diff --git a/src/lookup/pinyin_lookup.h b/src/lookup/pinyin_lookup.h
index b15ea91..e880680 100644
--- a/src/lookup/pinyin_lookup.h
+++ b/src/lookup/pinyin_lookup.h
@@ -29,7 +29,7 @@
class WinnerTree;
-/** @file lookup.h
+/** @file pinyin_lookup.h
* @brief the definitions of lookup related classes and structs.
* Currently only contains pinyin lookup.
*/
diff --git a/src/lookup/winner_tree.cpp b/src/lookup/winner_tree.cpp
index d6fd5e0..da87951 100644
--- a/src/lookup/winner_tree.cpp
+++ b/src/lookup/winner_tree.cpp
@@ -24,7 +24,7 @@
#include <stdio.h>
#include "memory_chunk.h"
#include "phrase_index.h"
-#include "lookup.h"
+#include "pinyin_lookup.h"
#include "winner_tree.h"
WinnerTreeBranchIterator::WinnerTreeBranchIterator(WinnerTree & tree)
diff --git a/src/lookup/winner_tree.h b/src/lookup/winner_tree.h
index ec54623..0d9bfa2 100644
--- a/src/lookup/winner_tree.h
+++ b/src/lookup/winner_tree.h
@@ -23,7 +23,6 @@
#define LOOKUP_WINNER_TREE_H
#include <assert.h>
-#include "lookup.h"
const int nbranch = 32;
diff --git a/tests/lookup/test_simple_lookup.cpp b/tests/lookup/test_simple_lookup.cpp
index 04f4dce..be90316 100644
--- a/tests/lookup/test_simple_lookup.cpp
+++ b/tests/lookup/test_simple_lookup.cpp
@@ -8,7 +8,7 @@
#include "pinyin_large_table.h"
#include "phrase_index.h"
#include "ngram.h"
-#include "lookup.h"
+#include "pinyin_lookup.h"
size_t bench_times = 1000;