summaryrefslogtreecommitdiffstats
path: root/src/lookup
diff options
context:
space:
mode:
Diffstat (limited to 'src/lookup')
-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
5 files changed, 4 insertions, 5 deletions
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;