From a5f86a37cd4cf98b5f857a23c90805214602a2eb Mon Sep 17 00:00:00 2001 From: Kenneth Heafield Date: Mon, 7 Jun 2021 22:53:22 +0100 Subject: [PATCH] Use relative header paths --- CMakeLists.txt | 5 +-- lm/bhiksha.cc | 10 +++--- lm/bhiksha.hh | 8 ++--- lm/binary_format.cc | 8 ++--- lm/binary_format.hh | 12 +++---- lm/build_binary_main.cc | 10 +++--- lm/builder/adjust_counts.cc | 6 ++-- lm/builder/adjust_counts.hh | 6 ++-- lm/builder/adjust_counts_test.cc | 8 ++--- lm/builder/combine_counts.hh | 10 +++--- lm/builder/corpus_count.cc | 30 ++++++++-------- lm/builder/corpus_count.hh | 6 ++-- lm/builder/corpus_count_test.cc | 18 +++++----- lm/builder/count_ngrams_main.cc | 18 +++++----- lm/builder/debug_print.hh | 10 +++--- lm/builder/dump_counts_main.cc | 8 ++--- lm/builder/initial_probabilities.cc | 24 ++++++------- lm/builder/initial_probabilities.hh | 6 ++-- lm/builder/interpolate.cc | 20 +++++------ lm/builder/interpolate.hh | 6 ++-- lm/builder/lmplz_main.cc | 14 ++++---- lm/builder/output.cc | 10 +++--- lm/builder/output.hh | 6 ++-- lm/builder/payload.hh | 4 +-- lm/builder/pipeline.cc | 36 +++++++++---------- lm/builder/pipeline.hh | 14 ++++---- lm/common/compare.hh | 4 +-- lm/common/joint_order.hh | 6 ++-- lm/common/model_buffer.cc | 22 ++++++------ lm/common/model_buffer.hh | 8 ++--- lm/common/model_buffer_test.cc | 6 ++-- lm/common/ngram.hh | 4 +-- lm/common/ngram_stream.hh | 8 ++--- lm/common/print.cc | 12 +++---- lm/common/print.hh | 6 ++-- lm/common/renumber.cc | 6 ++-- lm/common/renumber.hh | 2 +- lm/common/size_option.cc | 2 +- lm/common/special.hh | 2 +- lm/config.cc | 2 +- lm/config.hh | 4 +-- lm/enumerate_vocab.hh | 4 +-- lm/facade.hh | 4 +-- lm/filter/arpa_io.cc | 6 ++-- lm/filter/arpa_io.hh | 10 +++--- lm/filter/count_io.hh | 6 ++-- lm/filter/filter_main.cc | 16 ++++----- lm/filter/format.hh | 4 +-- lm/filter/phrase.cc | 4 +-- lm/filter/phrase.hh | 6 ++-- lm/filter/phrase_table_vocab_main.cc | 14 ++++---- lm/filter/thread.hh | 2 +- lm/filter/vocab.cc | 2 +- lm/filter/vocab.hh | 8 ++--- lm/filter/wrapper.hh | 2 +- lm/fragment_main.cc | 8 ++--- lm/interpolate/backoff_reunification.cc | 10 +++--- lm/interpolate/backoff_reunification.hh | 4 +-- lm/interpolate/backoff_reunification_test.cc | 4 +-- lm/interpolate/bounded_sequence_encoding.cc | 2 +- lm/interpolate/bounded_sequence_encoding.hh | 4 +-- .../bounded_sequence_encoding_test.cc | 4 +-- lm/interpolate/interpolate_main.cc | 14 ++++---- lm/interpolate/merge_probabilities.cc | 8 ++--- lm/interpolate/merge_probabilities.hh | 8 ++--- lm/interpolate/merge_vocab.cc | 12 +++---- lm/interpolate/merge_vocab.hh | 6 ++-- lm/interpolate/merge_vocab_test.cc | 20 +++++------ lm/interpolate/normalize.cc | 28 +++++++-------- lm/interpolate/normalize.hh | 2 +- lm/interpolate/normalize_test.cc | 12 +++---- lm/interpolate/pipeline.cc | 36 +++++++++---------- lm/interpolate/pipeline.hh | 6 ++-- lm/interpolate/split_worker.cc | 4 +-- lm/interpolate/split_worker.hh | 4 +-- lm/interpolate/streaming_example_main.cc | 14 ++++---- lm/interpolate/tune_derivatives.cc | 10 +++--- lm/interpolate/tune_derivatives.hh | 2 +- lm/interpolate/tune_derivatives_test.cc | 12 +++---- lm/interpolate/tune_instances.cc | 34 +++++++++--------- lm/interpolate/tune_instances.hh | 10 +++--- lm/interpolate/tune_instances_test.cc | 16 ++++----- lm/interpolate/tune_weights.cc | 6 ++-- lm/interpolate/tune_weights.hh | 2 +- lm/interpolate/universal_vocab.cc | 2 +- lm/interpolate/universal_vocab.hh | 2 +- lm/kenlm_benchmark_main.cc | 12 +++---- lm/left.hh | 8 ++--- lm/left_test.cc | 6 ++-- lm/lm_exception.cc | 2 +- lm/lm_exception.hh | 4 +-- lm/model.cc | 18 +++++----- lm/model.hh | 26 +++++++------- lm/model_test.cc | 2 +- lm/ngram_query.hh | 10 +++--- lm/partial.hh | 4 +-- lm/partial_test.cc | 8 ++--- lm/quantize.cc | 8 ++--- lm/quantize.hh | 10 +++--- lm/query_main.cc | 6 ++-- lm/read_arpa.cc | 6 ++-- lm/read_arpa.hh | 8 ++--- lm/search_hashed.cc | 24 ++++++------- lm/search_hashed.hh | 16 ++++----- lm/search_trie.cc | 36 +++++++++---------- lm/search_trie.hh | 16 ++++----- lm/sizes.cc | 6 ++-- lm/state.hh | 6 ++-- lm/trie.cc | 10 +++--- lm/trie.hh | 6 ++-- lm/trie_sort.cc | 26 +++++++------- lm/trie_sort.hh | 8 ++--- lm/value.hh | 10 +++--- lm/value_build.cc | 6 ++-- lm/value_build.hh | 6 ++-- lm/virtual_interface.cc | 4 +-- lm/virtual_interface.hh | 6 ++-- lm/vocab.cc | 26 +++++++------- lm/vocab.hh | 18 +++++----- lm/wrappers/nplm.cc | 6 ++-- lm/wrappers/nplm.hh | 6 ++-- util/bit_packing.cc | 4 +-- util/bit_packing_test.cc | 2 +- util/cat_compressed_main.cc | 4 +-- util/ersatz_progress.cc | 2 +- util/exception.cc | 2 +- util/exception.hh | 2 +- util/fake_ostream.hh | 6 ++-- util/file.cc | 4 +-- util/file.hh | 6 ++-- util/file_piece.cc | 10 +++--- util/file_piece.hh | 14 ++++---- util/file_piece_test.cc | 8 ++--- util/file_stream.hh | 6 ++-- util/fixed_array.hh | 2 +- util/float_to_string.cc | 6 ++-- util/float_to_string.hh | 2 +- util/integer_to_string.cc | 2 +- util/integer_to_string_test.cc | 4 +-- util/joint_sort.hh | 2 +- util/joint_sort_test.cc | 2 +- util/mmap.cc | 8 ++--- util/multi_intersection_test.cc | 2 +- util/murmur_hash.cc | 2 +- util/parallel_read.cc | 6 ++-- util/pcqueue.hh | 2 +- util/pcqueue_test.cc | 2 +- util/pool.cc | 4 +-- util/probing_hash_table.hh | 4 +-- util/probing_hash_table_benchmark_main.cc | 10 +++--- util/probing_hash_table_test.cc | 6 ++-- util/read_compressed.cc | 8 ++--- util/read_compressed.hh | 4 +-- util/read_compressed_test.cc | 6 ++-- util/scoped.cc | 2 +- util/scoped.hh | 2 +- util/sized_iterator.hh | 4 +-- util/sized_iterator_test.cc | 2 +- util/sorted_uniform_test.cc | 2 +- util/spaces.cc | 2 +- util/stream/chain.cc | 8 ++--- util/stream/chain.hh | 8 ++--- util/stream/count_records.cc | 4 +-- util/stream/io.cc | 6 ++-- util/stream/io.hh | 4 +-- util/stream/io_test.cc | 6 ++-- util/stream/line_input.cc | 10 +++--- util/stream/multi_progress.cc | 4 +-- util/stream/multi_stream.hh | 8 ++--- util/stream/rewindable_stream.cc | 4 +-- util/stream/rewindable_stream.hh | 2 +- util/stream/rewindable_stream_test.cc | 6 ++-- util/stream/sort.hh | 18 +++++----- util/stream/sort_test.cc | 2 +- util/stream/stream.hh | 2 +- util/stream/stream_test.cc | 6 ++-- util/stream/typed_stream.hh | 2 +- util/string_piece.cc | 2 +- util/string_piece.hh | 2 +- util/string_piece_hash.hh | 4 +-- util/string_stream.hh | 2 +- util/string_stream_test.cc | 2 +- util/thread_pool.hh | 2 +- util/tokenize_piece.hh | 6 ++-- util/tokenize_piece_test.cc | 4 +-- util/usage.cc | 4 +-- 186 files changed, 737 insertions(+), 740 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e303872b3..b482c5038 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -90,10 +90,7 @@ find_package(Boost 1.41.0 REQUIRED COMPONENTS ) # Define where include files live -include_directories( - ${PROJECT_SOURCE_DIR} - ${Boost_INCLUDE_DIRS} -) +include_directories(${Boost_INCLUDE_DIRS}) set(THREADS_PREFER_PTHREAD_FLAG ON) find_package(Threads REQUIRED) diff --git a/lm/bhiksha.cc b/lm/bhiksha.cc index 4262b615e..21be0cb7c 100644 --- a/lm/bhiksha.cc +++ b/lm/bhiksha.cc @@ -1,9 +1,9 @@ -#include "lm/bhiksha.hh" +#include "bhiksha.hh" -#include "lm/binary_format.hh" -#include "lm/config.hh" -#include "util/file.hh" -#include "util/exception.hh" +#include "binary_format.hh" +#include "config.hh" +#include "../util/file.hh" +#include "../util/exception.hh" #include diff --git a/lm/bhiksha.hh b/lm/bhiksha.hh index 36438f1d2..808b6d0b8 100644 --- a/lm/bhiksha.hh +++ b/lm/bhiksha.hh @@ -13,10 +13,10 @@ #ifndef LM_BHIKSHA_H #define LM_BHIKSHA_H -#include "lm/model_type.hh" -#include "lm/trie.hh" -#include "util/bit_packing.hh" -#include "util/sorted_uniform.hh" +#include "model_type.hh" +#include "trie.hh" +#include "../util/bit_packing.hh" +#include "../util/sorted_uniform.hh" #include #include diff --git a/lm/binary_format.cc b/lm/binary_format.cc index 802943f57..0ae0e5350 100644 --- a/lm/binary_format.cc +++ b/lm/binary_format.cc @@ -1,8 +1,8 @@ -#include "lm/binary_format.hh" +#include "binary_format.hh" -#include "lm/lm_exception.hh" -#include "util/file.hh" -#include "util/file_piece.hh" +#include "lm_exception.hh" +#include "../util/file.hh" +#include "../util/file_piece.hh" #include #include diff --git a/lm/binary_format.hh b/lm/binary_format.hh index ff99b9574..73d9fccdd 100644 --- a/lm/binary_format.hh +++ b/lm/binary_format.hh @@ -1,13 +1,13 @@ #ifndef LM_BINARY_FORMAT_H #define LM_BINARY_FORMAT_H -#include "lm/config.hh" -#include "lm/model_type.hh" -#include "lm/read_arpa.hh" +#include "config.hh" +#include "model_type.hh" +#include "read_arpa.hh" -#include "util/file_piece.hh" -#include "util/mmap.hh" -#include "util/scoped.hh" +#include "../util/file_piece.hh" +#include "../util/mmap.hh" +#include "../util/scoped.hh" #include #include diff --git a/lm/build_binary_main.cc b/lm/build_binary_main.cc index cd377b030..e39ffa79b 100644 --- a/lm/build_binary_main.cc +++ b/lm/build_binary_main.cc @@ -1,7 +1,7 @@ -#include "lm/model.hh" -#include "lm/sizes.hh" -#include "util/file_piece.hh" -#include "util/usage.hh" +#include "model.hh" +#include "sizes.hh" +#include "../util/file_piece.hh" +#include "../util/usage.hh" #include #include @@ -12,7 +12,7 @@ #include #ifdef WIN32 -#include "util/getopt.hh" +#include "../util/getopt.hh" #else #include #endif diff --git a/lm/builder/adjust_counts.cc b/lm/builder/adjust_counts.cc index c02e64821..b3ae11924 100644 --- a/lm/builder/adjust_counts.cc +++ b/lm/builder/adjust_counts.cc @@ -1,6 +1,6 @@ -#include "lm/builder/adjust_counts.hh" -#include "lm/common/ngram_stream.hh" -#include "lm/builder/payload.hh" +#include "adjust_counts.hh" +#include "../common/ngram_stream.hh" +#include "payload.hh" #include #include diff --git a/lm/builder/adjust_counts.hh b/lm/builder/adjust_counts.hh index 29319ba06..cd8adab51 100644 --- a/lm/builder/adjust_counts.hh +++ b/lm/builder/adjust_counts.hh @@ -1,9 +1,9 @@ #ifndef LM_BUILDER_ADJUST_COUNTS_H #define LM_BUILDER_ADJUST_COUNTS_H -#include "lm/builder/discount.hh" -#include "lm/lm_exception.hh" -#include "util/exception.hh" +#include "discount.hh" +#include "../lm_exception.hh" +#include "../../util/exception.hh" #include diff --git a/lm/builder/adjust_counts_test.cc b/lm/builder/adjust_counts_test.cc index fff551f7c..47134c24a 100644 --- a/lm/builder/adjust_counts_test.cc +++ b/lm/builder/adjust_counts_test.cc @@ -1,8 +1,8 @@ -#include "lm/builder/adjust_counts.hh" +#include "adjust_counts.hh" -#include "lm/common/ngram_stream.hh" -#include "lm/builder/payload.hh" -#include "util/scoped.hh" +#include "../common/ngram_stream.hh" +#include "payload.hh" +#include "../../util/scoped.hh" #include #define BOOST_TEST_MODULE AdjustCounts diff --git a/lm/builder/combine_counts.hh b/lm/builder/combine_counts.hh index 2eda51704..e8e81f9f7 100644 --- a/lm/builder/combine_counts.hh +++ b/lm/builder/combine_counts.hh @@ -1,11 +1,11 @@ #ifndef LM_BUILDER_COMBINE_COUNTS_H #define LM_BUILDER_COMBINE_COUNTS_H -#include "lm/builder/payload.hh" -#include "lm/common/ngram.hh" -#include "lm/common/compare.hh" -#include "lm/word_index.hh" -#include "util/stream/sort.hh" +#include "payload.hh" +#include "../common/ngram.hh" +#include "../common/compare.hh" +#include "../word_index.hh" +#include "../../util/stream/sort.hh" #include #include diff --git a/lm/builder/corpus_count.cc b/lm/builder/corpus_count.cc index 0761cdfd6..814a4d63f 100644 --- a/lm/builder/corpus_count.cc +++ b/lm/builder/corpus_count.cc @@ -1,18 +1,18 @@ -#include "lm/builder/corpus_count.hh" - -#include "lm/builder/payload.hh" -#include "lm/common/ngram.hh" -#include "lm/lm_exception.hh" -#include "lm/vocab.hh" -#include "lm/word_index.hh" -#include "util/file_stream.hh" -#include "util/file.hh" -#include "util/file_piece.hh" -#include "util/murmur_hash.hh" -#include "util/probing_hash_table.hh" -#include "util/scoped.hh" -#include "util/stream/chain.hh" -#include "util/tokenize_piece.hh" +#include "corpus_count.hh" + +#include "payload.hh" +#include "../common/ngram.hh" +#include "../lm_exception.hh" +#include "../vocab.hh" +#include "../word_index.hh" +#include "../../util/file_stream.hh" +#include "../../util/file.hh" +#include "../../util/file_piece.hh" +#include "../../util/murmur_hash.hh" +#include "../../util/probing_hash_table.hh" +#include "../../util/scoped.hh" +#include "../../util/stream/chain.hh" +#include "../../util/tokenize_piece.hh" #include diff --git a/lm/builder/corpus_count.hh b/lm/builder/corpus_count.hh index 951bf5309..417f09783 100644 --- a/lm/builder/corpus_count.hh +++ b/lm/builder/corpus_count.hh @@ -1,9 +1,9 @@ #ifndef LM_BUILDER_CORPUS_COUNT_H #define LM_BUILDER_CORPUS_COUNT_H -#include "lm/lm_exception.hh" -#include "lm/word_index.hh" -#include "util/scoped.hh" +#include "../lm_exception.hh" +#include "../word_index.hh" +#include "../../util/scoped.hh" #include #include diff --git a/lm/builder/corpus_count_test.cc b/lm/builder/corpus_count_test.cc index 36262221d..eabaaaa6a 100644 --- a/lm/builder/corpus_count_test.cc +++ b/lm/builder/corpus_count_test.cc @@ -1,14 +1,14 @@ -#include "lm/builder/corpus_count.hh" +#include "corpus_count.hh" -#include "lm/builder/payload.hh" -#include "lm/common/ngram_stream.hh" -#include "lm/common/ngram.hh" +#include "payload.hh" +#include "../common/ngram_stream.hh" +#include "../common/ngram.hh" -#include "util/file.hh" -#include "util/file_piece.hh" -#include "util/tokenize_piece.hh" -#include "util/stream/chain.hh" -#include "util/stream/stream.hh" +#include "../../util/file.hh" +#include "../../util/file_piece.hh" +#include "../../util/tokenize_piece.hh" +#include "../../util/stream/chain.hh" +#include "../../util/stream/stream.hh" #define BOOST_TEST_MODULE CorpusCountTest #include diff --git a/lm/builder/count_ngrams_main.cc b/lm/builder/count_ngrams_main.cc index 066be774d..b20f68f98 100644 --- a/lm/builder/count_ngrams_main.cc +++ b/lm/builder/count_ngrams_main.cc @@ -1,12 +1,12 @@ -#include "lm/builder/combine_counts.hh" -#include "lm/builder/corpus_count.hh" -#include "lm/common/compare.hh" -#include "util/stream/chain.hh" -#include "util/stream/io.hh" -#include "util/stream/sort.hh" -#include "util/file.hh" -#include "util/file_piece.hh" -#include "util/usage.hh" +#include "combine_counts.hh" +#include "corpus_count.hh" +#include "../common/compare.hh" +#include "../../util/stream/chain.hh" +#include "../../util/stream/io.hh" +#include "../../util/stream/sort.hh" +#include "../../util/file.hh" +#include "../../util/file_piece.hh" +#include "../../util/usage.hh" #include diff --git a/lm/builder/debug_print.hh b/lm/builder/debug_print.hh index 4b9f306d8..cbb0def60 100644 --- a/lm/builder/debug_print.hh +++ b/lm/builder/debug_print.hh @@ -1,11 +1,11 @@ #ifndef LM_BUILDER_DEBUG_PRINT_H #define LM_BUILDER_DEBUG_PRINT_H -#include "lm/builder/payload.hh" -#include "lm/common/print.hh" -#include "lm/common/ngram_stream.hh" -#include "util/file_stream.hh" -#include "util/file.hh" +#include "payload.hh" +#include "../common/print.hh" +#include "../common/ngram_stream.hh" +#include "../../util/file_stream.hh" +#include "../../util/file.hh" #include diff --git a/lm/builder/dump_counts_main.cc b/lm/builder/dump_counts_main.cc index 26078d0e7..709e2ee81 100644 --- a/lm/builder/dump_counts_main.cc +++ b/lm/builder/dump_counts_main.cc @@ -1,7 +1,7 @@ -#include "lm/common/print.hh" -#include "lm/word_index.hh" -#include "util/file.hh" -#include "util/read_compressed.hh" +#include "../common/print.hh" +#include "../word_index.hh" +#include "../../util/file.hh" +#include "../../util/read_compressed.hh" #include diff --git a/lm/builder/initial_probabilities.cc b/lm/builder/initial_probabilities.cc index 5b8d86d33..969608633 100644 --- a/lm/builder/initial_probabilities.cc +++ b/lm/builder/initial_probabilities.cc @@ -1,15 +1,15 @@ -#include "lm/builder/initial_probabilities.hh" - -#include "lm/builder/discount.hh" -#include "lm/builder/hash_gamma.hh" -#include "lm/builder/payload.hh" -#include "lm/common/special.hh" -#include "lm/common/ngram_stream.hh" -#include "util/murmur_hash.hh" -#include "util/file.hh" -#include "util/stream/chain.hh" -#include "util/stream/io.hh" -#include "util/stream/stream.hh" +#include "initial_probabilities.hh" + +#include "discount.hh" +#include "hash_gamma.hh" +#include "payload.hh" +#include "../common/special.hh" +#include "../common/ngram_stream.hh" +#include "../../util/murmur_hash.hh" +#include "../../util/file.hh" +#include "../../util/stream/chain.hh" +#include "../../util/stream/io.hh" +#include "../../util/stream/stream.hh" #include diff --git a/lm/builder/initial_probabilities.hh b/lm/builder/initial_probabilities.hh index caeea58c5..34c23ae83 100644 --- a/lm/builder/initial_probabilities.hh +++ b/lm/builder/initial_probabilities.hh @@ -1,9 +1,9 @@ #ifndef LM_BUILDER_INITIAL_PROBABILITIES_H #define LM_BUILDER_INITIAL_PROBABILITIES_H -#include "lm/builder/discount.hh" -#include "lm/word_index.hh" -#include "util/stream/config.hh" +#include "discount.hh" +#include "../word_index.hh" +#include "../../util/stream/config.hh" #include diff --git a/lm/builder/interpolate.cc b/lm/builder/interpolate.cc index a62ef43d2..285e669ed 100644 --- a/lm/builder/interpolate.cc +++ b/lm/builder/interpolate.cc @@ -1,13 +1,13 @@ -#include "lm/builder/interpolate.hh" - -#include "lm/builder/hash_gamma.hh" -#include "lm/builder/payload.hh" -#include "lm/common/compare.hh" -#include "lm/common/joint_order.hh" -#include "lm/common/ngram_stream.hh" -#include "lm/lm_exception.hh" -#include "util/fixed_array.hh" -#include "util/murmur_hash.hh" +#include "interpolate.hh" + +#include "hash_gamma.hh" +#include "payload.hh" +#include "../common/compare.hh" +#include "../common/joint_order.hh" +#include "../common/ngram_stream.hh" +#include "../lm_exception.hh" +#include "../../util/fixed_array.hh" +#include "../../util/murmur_hash.hh" #include #include diff --git a/lm/builder/interpolate.hh b/lm/builder/interpolate.hh index d20cd545c..a0c99058a 100644 --- a/lm/builder/interpolate.hh +++ b/lm/builder/interpolate.hh @@ -1,9 +1,9 @@ #ifndef LM_BUILDER_INTERPOLATE_H #define LM_BUILDER_INTERPOLATE_H -#include "lm/common/special.hh" -#include "lm/word_index.hh" -#include "util/stream/multi_stream.hh" +#include "../common/special.hh" +#include "../word_index.hh" +#include "../../util/stream/multi_stream.hh" #include diff --git a/lm/builder/lmplz_main.cc b/lm/builder/lmplz_main.cc index 3c2dff8be..e87a236f5 100644 --- a/lm/builder/lmplz_main.cc +++ b/lm/builder/lmplz_main.cc @@ -1,10 +1,10 @@ -#include "lm/builder/output.hh" -#include "lm/builder/pipeline.hh" -#include "lm/common/size_option.hh" -#include "lm/lm_exception.hh" -#include "util/file.hh" -#include "util/file_piece.hh" -#include "util/usage.hh" +#include "output.hh" +#include "pipeline.hh" +#include "../common/size_option.hh" +#include "../lm_exception.hh" +#include "../../util/file.hh" +#include "../../util/file_piece.hh" +#include "../../util/usage.hh" #include diff --git a/lm/builder/output.cc b/lm/builder/output.cc index 604fa22e6..1aa15225d 100644 --- a/lm/builder/output.cc +++ b/lm/builder/output.cc @@ -1,9 +1,9 @@ -#include "lm/builder/output.hh" +#include "output.hh" -#include "lm/common/model_buffer.hh" -#include "lm/common/print.hh" -#include "util/file_stream.hh" -#include "util/stream/multi_stream.hh" +#include "../common/model_buffer.hh" +#include "../common/print.hh" +#include "../../util/file_stream.hh" +#include "../../util/stream/multi_stream.hh" #include diff --git a/lm/builder/output.hh b/lm/builder/output.hh index 69d6c6dac..490dd338a 100644 --- a/lm/builder/output.hh +++ b/lm/builder/output.hh @@ -1,9 +1,9 @@ #ifndef LM_BUILDER_OUTPUT_H #define LM_BUILDER_OUTPUT_H -#include "lm/builder/header_info.hh" -#include "lm/common/model_buffer.hh" -#include "util/file.hh" +#include "header_info.hh" +#include "../common/model_buffer.hh" +#include "../../util/file.hh" #include #include diff --git a/lm/builder/payload.hh b/lm/builder/payload.hh index 1f1fa88e3..86a657ef2 100644 --- a/lm/builder/payload.hh +++ b/lm/builder/payload.hh @@ -1,8 +1,8 @@ #ifndef LM_BUILDER_PAYLOAD_H #define LM_BUILDER_PAYLOAD_H -#include "lm/weights.hh" -#include "lm/word_index.hh" +#include "../weights.hh" +#include "../word_index.hh" #include namespace lm { namespace builder { diff --git a/lm/builder/pipeline.cc b/lm/builder/pipeline.cc index d1316366c..783119674 100644 --- a/lm/builder/pipeline.cc +++ b/lm/builder/pipeline.cc @@ -1,21 +1,21 @@ -#include "lm/builder/pipeline.hh" - -#include "lm/builder/adjust_counts.hh" -#include "lm/builder/combine_counts.hh" -#include "lm/builder/corpus_count.hh" -#include "lm/builder/hash_gamma.hh" -#include "lm/builder/initial_probabilities.hh" -#include "lm/builder/interpolate.hh" -#include "lm/builder/output.hh" -#include "lm/common/compare.hh" -#include "lm/common/renumber.hh" - -#include "lm/sizes.hh" -#include "lm/vocab.hh" - -#include "util/exception.hh" -#include "util/file.hh" -#include "util/stream/io.hh" +#include "pipeline.hh" + +#include "adjust_counts.hh" +#include "combine_counts.hh" +#include "corpus_count.hh" +#include "hash_gamma.hh" +#include "initial_probabilities.hh" +#include "interpolate.hh" +#include "output.hh" +#include "../common/compare.hh" +#include "../common/renumber.hh" + +#include "../sizes.hh" +#include "../vocab.hh" + +#include "../../util/exception.hh" +#include "../../util/file.hh" +#include "../../util/stream/io.hh" #include #include diff --git a/lm/builder/pipeline.hh b/lm/builder/pipeline.hh index 66f1fd9a8..c8bdde1ec 100644 --- a/lm/builder/pipeline.hh +++ b/lm/builder/pipeline.hh @@ -1,13 +1,13 @@ #ifndef LM_BUILDER_PIPELINE_H #define LM_BUILDER_PIPELINE_H -#include "lm/builder/adjust_counts.hh" -#include "lm/builder/initial_probabilities.hh" -#include "lm/builder/header_info.hh" -#include "lm/lm_exception.hh" -#include "lm/word_index.hh" -#include "util/stream/config.hh" -#include "util/file_piece.hh" +#include "adjust_counts.hh" +#include "initial_probabilities.hh" +#include "header_info.hh" +#include "../lm_exception.hh" +#include "../word_index.hh" +#include "../../util/stream/config.hh" +#include "../../util/file_piece.hh" #include #include diff --git a/lm/common/compare.hh b/lm/common/compare.hh index 2adaba47a..bae4362f6 100644 --- a/lm/common/compare.hh +++ b/lm/common/compare.hh @@ -1,8 +1,8 @@ #ifndef LM_COMMON_COMPARE_H #define LM_COMMON_COMPARE_H -#include "lm/common/ngram.hh" -#include "lm/word_index.hh" +#include "ngram.hh" +#include "../word_index.hh" #include #include diff --git a/lm/common/joint_order.hh b/lm/common/joint_order.hh index 6113bb8f1..dce0b1c40 100644 --- a/lm/common/joint_order.hh +++ b/lm/common/joint_order.hh @@ -1,11 +1,11 @@ #ifndef LM_COMMON_JOINT_ORDER_H #define LM_COMMON_JOINT_ORDER_H -#include "lm/common/ngram_stream.hh" -#include "lm/lm_exception.hh" +#include "ngram_stream.hh" +#include "../lm_exception.hh" #ifdef DEBUG -#include "util/fixed_array.hh" +#include "../../util/fixed_array.hh" #include #endif diff --git a/lm/common/model_buffer.cc b/lm/common/model_buffer.cc index 82d28afd2..d1fcdb12c 100644 --- a/lm/common/model_buffer.cc +++ b/lm/common/model_buffer.cc @@ -1,14 +1,14 @@ -#include "lm/common/model_buffer.hh" - -#include "lm/common/compare.hh" -#include "lm/state.hh" -#include "lm/weights.hh" -#include "util/exception.hh" -#include "util/file_stream.hh" -#include "util/file.hh" -#include "util/file_piece.hh" -#include "util/stream/io.hh" -#include "util/stream/multi_stream.hh" +#include "model_buffer.hh" + +#include "compare.hh" +#include "../state.hh" +#include "../weights.hh" +#include "../../util/exception.hh" +#include "../../util/file_stream.hh" +#include "../../util/file.hh" +#include "../../util/file_piece.hh" +#include "../../util/stream/io.hh" +#include "../../util/stream/multi_stream.hh" #include diff --git a/lm/common/model_buffer.hh b/lm/common/model_buffer.hh index f7674af72..b80864213 100644 --- a/lm/common/model_buffer.hh +++ b/lm/common/model_buffer.hh @@ -4,10 +4,10 @@ /* Format with separate files in suffix order. Each file contains * n-grams of the same order. */ -#include "lm/word_index.hh" -#include "util/file.hh" -#include "util/fixed_array.hh" -#include "util/string_piece.hh" +#include "../word_index.hh" +#include "../../util/file.hh" +#include "../../util/fixed_array.hh" +#include "../../util/string_piece.hh" #include #include diff --git a/lm/common/model_buffer_test.cc b/lm/common/model_buffer_test.cc index ce103a1a1..396b3963d 100644 --- a/lm/common/model_buffer_test.cc +++ b/lm/common/model_buffer_test.cc @@ -1,6 +1,6 @@ -#include "lm/common/model_buffer.hh" -#include "lm/model.hh" -#include "lm/state.hh" +#include "model_buffer.hh" +#include "../model.hh" +#include "../state.hh" #define BOOST_TEST_MODULE ModelBufferTest #include diff --git a/lm/common/ngram.hh b/lm/common/ngram.hh index 7a6d1c358..c6013163a 100644 --- a/lm/common/ngram.hh +++ b/lm/common/ngram.hh @@ -1,8 +1,8 @@ #ifndef LM_COMMON_NGRAM_H #define LM_COMMON_NGRAM_H -#include "lm/weights.hh" -#include "lm/word_index.hh" +#include "../weights.hh" +#include "../word_index.hh" #include #include diff --git a/lm/common/ngram_stream.hh b/lm/common/ngram_stream.hh index 8bdf36e3c..0ce701cd6 100644 --- a/lm/common/ngram_stream.hh +++ b/lm/common/ngram_stream.hh @@ -1,10 +1,10 @@ #ifndef LM_BUILDER_NGRAM_STREAM_H #define LM_BUILDER_NGRAM_STREAM_H -#include "lm/common/ngram.hh" -#include "util/stream/chain.hh" -#include "util/stream/multi_stream.hh" -#include "util/stream/stream.hh" +#include "ngram.hh" +#include "../../util/stream/chain.hh" +#include "../../util/stream/multi_stream.hh" +#include "../../util/stream/stream.hh" #include diff --git a/lm/common/print.cc b/lm/common/print.cc index 518b62f51..91a56d77c 100644 --- a/lm/common/print.cc +++ b/lm/common/print.cc @@ -1,10 +1,10 @@ -#include "lm/common/print.hh" +#include "print.hh" -#include "lm/common/ngram_stream.hh" -#include "util/file_stream.hh" -#include "util/file.hh" -#include "util/mmap.hh" -#include "util/scoped.hh" +#include "ngram_stream.hh" +#include "../../util/file_stream.hh" +#include "../../util/file.hh" +#include "../../util/mmap.hh" +#include "../../util/scoped.hh" #include #include diff --git a/lm/common/print.hh b/lm/common/print.hh index 6aa08b32a..cfd980063 100644 --- a/lm/common/print.hh +++ b/lm/common/print.hh @@ -1,9 +1,9 @@ #ifndef LM_COMMON_PRINT_H #define LM_COMMON_PRINT_H -#include "lm/word_index.hh" -#include "util/mmap.hh" -#include "util/string_piece.hh" +#include "../word_index.hh" +#include "../../util/mmap.hh" +#include "../../util/string_piece.hh" #include #include diff --git a/lm/common/renumber.cc b/lm/common/renumber.cc index 0632a149b..20295b306 100644 --- a/lm/common/renumber.cc +++ b/lm/common/renumber.cc @@ -1,7 +1,7 @@ -#include "lm/common/renumber.hh" -#include "lm/common/ngram.hh" +#include "renumber.hh" +#include "ngram.hh" -#include "util/stream/stream.hh" +#include "../../util/stream/stream.hh" namespace lm { diff --git a/lm/common/renumber.hh b/lm/common/renumber.hh index ca25c4dc6..03e7d48dc 100644 --- a/lm/common/renumber.hh +++ b/lm/common/renumber.hh @@ -4,7 +4,7 @@ #ifndef LM_COMMON_RENUMBER_H #define LM_COMMON_RENUMBER_H -#include "lm/word_index.hh" +#include "../word_index.hh" #include diff --git a/lm/common/size_option.cc b/lm/common/size_option.cc index 46a920e69..af108b870 100644 --- a/lm/common/size_option.cc +++ b/lm/common/size_option.cc @@ -1,5 +1,5 @@ #include -#include "util/usage.hh" +#include "../../util/usage.hh" namespace lm { diff --git a/lm/common/special.hh b/lm/common/special.hh index 0677cd71b..c10fde5fc 100644 --- a/lm/common/special.hh +++ b/lm/common/special.hh @@ -1,7 +1,7 @@ #ifndef LM_COMMON_SPECIAL_H #define LM_COMMON_SPECIAL_H -#include "lm/word_index.hh" +#include "../word_index.hh" namespace lm { diff --git a/lm/config.cc b/lm/config.cc index 6c695edfb..d2c2d1a7e 100644 --- a/lm/config.cc +++ b/lm/config.cc @@ -1,4 +1,4 @@ -#include "lm/config.hh" +#include "config.hh" #include diff --git a/lm/config.hh b/lm/config.hh index 21b9e7eeb..0d16b797a 100644 --- a/lm/config.hh +++ b/lm/config.hh @@ -1,8 +1,8 @@ #ifndef LM_CONFIG_H #define LM_CONFIG_H -#include "lm/lm_exception.hh" -#include "util/mmap.hh" +#include "lm_exception.hh" +#include "../util/mmap.hh" #include #include diff --git a/lm/enumerate_vocab.hh b/lm/enumerate_vocab.hh index f4c94cd26..47709dfdc 100644 --- a/lm/enumerate_vocab.hh +++ b/lm/enumerate_vocab.hh @@ -1,8 +1,8 @@ #ifndef LM_ENUMERATE_VOCAB_H #define LM_ENUMERATE_VOCAB_H -#include "lm/word_index.hh" -#include "util/string_piece.hh" +#include "word_index.hh" +#include "../util/string_piece.hh" namespace lm { diff --git a/lm/facade.hh b/lm/facade.hh index 325ef159a..b2b83f630 100644 --- a/lm/facade.hh +++ b/lm/facade.hh @@ -1,8 +1,8 @@ #ifndef LM_FACADE_H #define LM_FACADE_H -#include "lm/virtual_interface.hh" -#include "util/string_piece.hh" +#include "virtual_interface.hh" +#include "../util/string_piece.hh" #include diff --git a/lm/filter/arpa_io.cc b/lm/filter/arpa_io.cc index 54c1fccf7..add610aab 100644 --- a/lm/filter/arpa_io.cc +++ b/lm/filter/arpa_io.cc @@ -1,6 +1,6 @@ -#include "lm/filter/arpa_io.hh" -#include "util/file_piece.hh" -#include "util/string_stream.hh" +#include "arpa_io.hh" +#include "../../util/file_piece.hh" +#include "../../util/string_stream.hh" #include #include diff --git a/lm/filter/arpa_io.hh b/lm/filter/arpa_io.hh index 4756af512..bb39c6aee 100644 --- a/lm/filter/arpa_io.hh +++ b/lm/filter/arpa_io.hh @@ -2,11 +2,11 @@ #define LM_FILTER_ARPA_IO_H /* Input and output for ARPA format language model files. */ -#include "lm/read_arpa.hh" -#include "util/exception.hh" -#include "util/file_stream.hh" -#include "util/string_piece.hh" -#include "util/tokenize_piece.hh" +#include "../read_arpa.hh" +#include "../../util/exception.hh" +#include "../../util/file_stream.hh" +#include "../../util/string_piece.hh" +#include "../../util/tokenize_piece.hh" #include #include diff --git a/lm/filter/count_io.hh b/lm/filter/count_io.hh index 143ed25e0..a350f477f 100644 --- a/lm/filter/count_io.hh +++ b/lm/filter/count_io.hh @@ -5,9 +5,9 @@ #include #include -#include "util/file_stream.hh" -#include "util/file.hh" -#include "util/file_piece.hh" +#include "../../util/file_stream.hh" +#include "../../util/file.hh" +#include "../../util/file_piece.hh" namespace lm { diff --git a/lm/filter/filter_main.cc b/lm/filter/filter_main.cc index 6e89d1fa3..ec083dac0 100644 --- a/lm/filter/filter_main.cc +++ b/lm/filter/filter_main.cc @@ -1,13 +1,13 @@ -#include "lm/filter/arpa_io.hh" -#include "lm/filter/format.hh" -#include "lm/filter/phrase.hh" +#include "arpa_io.hh" +#include "format.hh" +#include "phrase.hh" #ifndef NTHREAD -#include "lm/filter/thread.hh" +#include "thread.hh" #endif -#include "lm/filter/vocab.hh" -#include "lm/filter/wrapper.hh" -#include "util/exception.hh" -#include "util/file_piece.hh" +#include "vocab.hh" +#include "wrapper.hh" +#include "../../util/exception.hh" +#include "../../util/file_piece.hh" #include diff --git a/lm/filter/format.hh b/lm/filter/format.hh index d453f05b8..38b494f0f 100644 --- a/lm/filter/format.hh +++ b/lm/filter/format.hh @@ -1,8 +1,8 @@ #ifndef LM_FILTER_FORMAT_H #define LM_FILTER_FORMAT_H -#include "lm/filter/arpa_io.hh" -#include "lm/filter/count_io.hh" +#include "arpa_io.hh" +#include "count_io.hh" #include #include diff --git a/lm/filter/phrase.cc b/lm/filter/phrase.cc index d8260d54e..ce82bf2a8 100644 --- a/lm/filter/phrase.cc +++ b/lm/filter/phrase.cc @@ -1,6 +1,6 @@ -#include "lm/filter/phrase.hh" +#include "phrase.hh" -#include "lm/filter/format.hh" +#include "format.hh" #include #include diff --git a/lm/filter/phrase.hh b/lm/filter/phrase.hh index 5227ab246..bfc32084e 100644 --- a/lm/filter/phrase.hh +++ b/lm/filter/phrase.hh @@ -1,9 +1,9 @@ #ifndef LM_FILTER_PHRASE_H #define LM_FILTER_PHRASE_H -#include "util/murmur_hash.hh" -#include "util/string_piece.hh" -#include "util/tokenize_piece.hh" +#include "../../util/murmur_hash.hh" +#include "../../util/string_piece.hh" +#include "../../util/tokenize_piece.hh" #include diff --git a/lm/filter/phrase_table_vocab_main.cc b/lm/filter/phrase_table_vocab_main.cc index 9ffa35f93..c11b046a9 100644 --- a/lm/filter/phrase_table_vocab_main.cc +++ b/lm/filter/phrase_table_vocab_main.cc @@ -1,10 +1,10 @@ -#include "util/file_stream.hh" -#include "util/file_piece.hh" -#include "util/murmur_hash.hh" -#include "util/pool.hh" -#include "util/string_piece.hh" -#include "util/string_piece_hash.hh" -#include "util/tokenize_piece.hh" +#include "../../util/file_stream.hh" +#include "../../util/file_piece.hh" +#include "../../util/murmur_hash.hh" +#include "../../util/pool.hh" +#include "../../util/string_piece.hh" +#include "../../util/string_piece_hash.hh" +#include "../../util/tokenize_piece.hh" #include #include diff --git a/lm/filter/thread.hh b/lm/filter/thread.hh index 88e069cb1..9bbc8e8a7 100644 --- a/lm/filter/thread.hh +++ b/lm/filter/thread.hh @@ -1,7 +1,7 @@ #ifndef LM_FILTER_THREAD_H #define LM_FILTER_THREAD_H -#include "util/thread_pool.hh" +#include "../../util/thread_pool.hh" #include diff --git a/lm/filter/vocab.cc b/lm/filter/vocab.cc index 2aca4fc60..e0b97c7cb 100644 --- a/lm/filter/vocab.cc +++ b/lm/filter/vocab.cc @@ -1,4 +1,4 @@ -#include "lm/filter/vocab.hh" +#include "vocab.hh" #include #include diff --git a/lm/filter/vocab.hh b/lm/filter/vocab.hh index 397a93237..4bb1d1984 100644 --- a/lm/filter/vocab.hh +++ b/lm/filter/vocab.hh @@ -3,10 +3,10 @@ // Vocabulary-based filters for language models. -#include "util/multi_intersection.hh" -#include "util/string_piece.hh" -#include "util/string_piece_hash.hh" -#include "util/tokenize_piece.hh" +#include "../../util/multi_intersection.hh" +#include "../../util/string_piece.hh" +#include "../../util/string_piece_hash.hh" +#include "../../util/tokenize_piece.hh" #include #include diff --git a/lm/filter/wrapper.hh b/lm/filter/wrapper.hh index 227ec8e45..ef292e6db 100644 --- a/lm/filter/wrapper.hh +++ b/lm/filter/wrapper.hh @@ -1,7 +1,7 @@ #ifndef LM_FILTER_WRAPPER_H #define LM_FILTER_WRAPPER_H -#include "util/string_piece.hh" +#include "../../util/string_piece.hh" #include #include diff --git a/lm/fragment_main.cc b/lm/fragment_main.cc index 0267cd4eb..cc4d4c265 100644 --- a/lm/fragment_main.cc +++ b/lm/fragment_main.cc @@ -1,7 +1,7 @@ -#include "lm/binary_format.hh" -#include "lm/model.hh" -#include "lm/left.hh" -#include "util/tokenize_piece.hh" +#include "binary_format.hh" +#include "model.hh" +#include "left.hh" +#include "../util/tokenize_piece.hh" template void Query(const char *name) { Model model(name); diff --git a/lm/interpolate/backoff_reunification.cc b/lm/interpolate/backoff_reunification.cc index 348c73df7..7885f9aa8 100644 --- a/lm/interpolate/backoff_reunification.cc +++ b/lm/interpolate/backoff_reunification.cc @@ -1,8 +1,8 @@ -#include "lm/interpolate/backoff_reunification.hh" -#include "lm/common/model_buffer.hh" -#include "lm/common/ngram_stream.hh" -#include "lm/common/ngram.hh" -#include "lm/common/compare.hh" +#include "backoff_reunification.hh" +#include "../common/model_buffer.hh" +#include "../common/ngram_stream.hh" +#include "../common/ngram.hh" +#include "../common/compare.hh" #include #include diff --git a/lm/interpolate/backoff_reunification.hh b/lm/interpolate/backoff_reunification.hh index 327db65e4..1c70d74a2 100644 --- a/lm/interpolate/backoff_reunification.hh +++ b/lm/interpolate/backoff_reunification.hh @@ -1,8 +1,8 @@ #ifndef KENLM_INTERPOLATE_BACKOFF_REUNIFICATION_ #define KENLM_INTERPOLATE_BACKOFF_REUNIFICATION_ -#include "util/stream/stream.hh" -#include "util/stream/multi_stream.hh" +#include "../../util/stream/stream.hh" +#include "../../util/stream/multi_stream.hh" namespace lm { namespace interpolate { diff --git a/lm/interpolate/backoff_reunification_test.cc b/lm/interpolate/backoff_reunification_test.cc index e1ec5178b..9b66740b8 100644 --- a/lm/interpolate/backoff_reunification_test.cc +++ b/lm/interpolate/backoff_reunification_test.cc @@ -1,5 +1,5 @@ -#include "lm/interpolate/backoff_reunification.hh" -#include "lm/common/ngram_stream.hh" +#include "backoff_reunification.hh" +#include "../common/ngram_stream.hh" #define BOOST_TEST_MODULE InterpolateBackoffReunificationTest #include diff --git a/lm/interpolate/bounded_sequence_encoding.cc b/lm/interpolate/bounded_sequence_encoding.cc index aca8ed7b6..17d382332 100644 --- a/lm/interpolate/bounded_sequence_encoding.cc +++ b/lm/interpolate/bounded_sequence_encoding.cc @@ -1,4 +1,4 @@ -#include "lm/interpolate/bounded_sequence_encoding.hh" +#include "bounded_sequence_encoding.hh" #include diff --git a/lm/interpolate/bounded_sequence_encoding.hh b/lm/interpolate/bounded_sequence_encoding.hh index 8ae803a2c..5b6f21b9f 100644 --- a/lm/interpolate/bounded_sequence_encoding.hh +++ b/lm/interpolate/bounded_sequence_encoding.hh @@ -7,8 +7,8 @@ * add. */ -#include "util/exception.hh" -#include "util/fixed_array.hh" +#include "../../util/exception.hh" +#include "../../util/fixed_array.hh" #include #include diff --git a/lm/interpolate/bounded_sequence_encoding_test.cc b/lm/interpolate/bounded_sequence_encoding_test.cc index d608b716a..1a5be9ecd 100644 --- a/lm/interpolate/bounded_sequence_encoding_test.cc +++ b/lm/interpolate/bounded_sequence_encoding_test.cc @@ -1,6 +1,6 @@ -#include "lm/interpolate/bounded_sequence_encoding.hh" +#include "bounded_sequence_encoding.hh" -#include "util/scoped.hh" +#include "../../util/scoped.hh" #define BOOST_TEST_MODULE BoundedSequenceEncodingTest #include diff --git a/lm/interpolate/interpolate_main.cc b/lm/interpolate/interpolate_main.cc index 06161c5aa..a8c938341 100644 --- a/lm/interpolate/interpolate_main.cc +++ b/lm/interpolate/interpolate_main.cc @@ -1,10 +1,10 @@ -#include "lm/common/model_buffer.hh" -#include "lm/common/size_option.hh" -#include "lm/interpolate/pipeline.hh" -#include "lm/interpolate/tune_instances.hh" -#include "lm/interpolate/tune_weights.hh" -#include "util/fixed_array.hh" -#include "util/usage.hh" +#include "../common/model_buffer.hh" +#include "../common/size_option.hh" +#include "pipeline.hh" +#include "tune_instances.hh" +#include "tune_weights.hh" +#include "../../util/fixed_array.hh" +#include "../../util/usage.hh" #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wpragmas" // Older gcc doesn't have "-Wunused-local-typedefs" and complains. diff --git a/lm/interpolate/merge_probabilities.cc b/lm/interpolate/merge_probabilities.cc index 1351079e3..491810dc2 100644 --- a/lm/interpolate/merge_probabilities.cc +++ b/lm/interpolate/merge_probabilities.cc @@ -1,7 +1,7 @@ -#include "lm/interpolate/merge_probabilities.hh" -#include "lm/common/ngram_stream.hh" -#include "lm/interpolate/bounded_sequence_encoding.hh" -#include "lm/interpolate/interpolate_info.hh" +#include "merge_probabilities.hh" +#include "../common/ngram_stream.hh" +#include "bounded_sequence_encoding.hh" +#include "interpolate_info.hh" #include #include diff --git a/lm/interpolate/merge_probabilities.hh b/lm/interpolate/merge_probabilities.hh index 61940e332..33a4c236b 100644 --- a/lm/interpolate/merge_probabilities.hh +++ b/lm/interpolate/merge_probabilities.hh @@ -1,10 +1,10 @@ #ifndef LM_INTERPOLATE_MERGE_PROBABILITIES_H #define LM_INTERPOLATE_MERGE_PROBABILITIES_H -#include "lm/common/ngram.hh" -#include "lm/interpolate/bounded_sequence_encoding.hh" -#include "util/fixed_array.hh" -#include "util/stream/multi_stream.hh" +#include "../common/ngram.hh" +#include "bounded_sequence_encoding.hh" +#include "../../util/fixed_array.hh" +#include "../../util/stream/multi_stream.hh" #include diff --git a/lm/interpolate/merge_vocab.cc b/lm/interpolate/merge_vocab.cc index 077403f38..1b6c876fd 100644 --- a/lm/interpolate/merge_vocab.cc +++ b/lm/interpolate/merge_vocab.cc @@ -1,10 +1,10 @@ -#include "lm/interpolate/merge_vocab.hh" +#include "merge_vocab.hh" -#include "lm/enumerate_vocab.hh" -#include "lm/interpolate/universal_vocab.hh" -#include "lm/lm_exception.hh" -#include "lm/vocab.hh" -#include "util/file_piece.hh" +#include "../enumerate_vocab.hh" +#include "universal_vocab.hh" +#include "../lm_exception.hh" +#include "../vocab.hh" +#include "../../util/file_piece.hh" #include #include diff --git a/lm/interpolate/merge_vocab.hh b/lm/interpolate/merge_vocab.hh index 88075688b..fa6135aab 100644 --- a/lm/interpolate/merge_vocab.hh +++ b/lm/interpolate/merge_vocab.hh @@ -1,9 +1,9 @@ #ifndef LM_INTERPOLATE_MERGE_VOCAB_H #define LM_INTERPOLATE_MERGE_VOCAB_H -#include "lm/word_index.hh" -#include "util/file.hh" -#include "util/fixed_array.hh" +#include "../word_index.hh" +#include "../../util/file.hh" +#include "../../util/fixed_array.hh" namespace lm { diff --git a/lm/interpolate/merge_vocab_test.cc b/lm/interpolate/merge_vocab_test.cc index c2642a482..b9b7d49f2 100644 --- a/lm/interpolate/merge_vocab_test.cc +++ b/lm/interpolate/merge_vocab_test.cc @@ -1,16 +1,16 @@ #define BOOST_TEST_MODULE InterpolateMergeVocabTest #include -#include "lm/enumerate_vocab.hh" -#include "lm/interpolate/merge_vocab.hh" -#include "lm/interpolate/universal_vocab.hh" -#include "lm/lm_exception.hh" -#include "lm/vocab.hh" -#include "lm/word_index.hh" -#include "util/file.hh" -#include "util/file_piece.hh" -#include "util/file_stream.hh" -#include "util/tokenize_piece.hh" +#include "../enumerate_vocab.hh" +#include "merge_vocab.hh" +#include "universal_vocab.hh" +#include "../lm_exception.hh" +#include "../vocab.hh" +#include "../word_index.hh" +#include "../../util/file.hh" +#include "../../util/file_piece.hh" +#include "../../util/file_stream.hh" +#include "../../util/tokenize_piece.hh" #include #include diff --git a/lm/interpolate/normalize.cc b/lm/interpolate/normalize.cc index ceeb6c2e9..3be18b851 100644 --- a/lm/interpolate/normalize.cc +++ b/lm/interpolate/normalize.cc @@ -1,17 +1,17 @@ -#include "lm/interpolate/normalize.hh" - -#include "lm/common/compare.hh" -#include "lm/common/ngram_stream.hh" -#include "lm/interpolate/backoff_matrix.hh" -#include "lm/interpolate/bounded_sequence_encoding.hh" -#include "lm/interpolate/interpolate_info.hh" -#include "lm/interpolate/merge_probabilities.hh" -#include "lm/weights.hh" -#include "lm/word_index.hh" -#include "util/fixed_array.hh" -#include "util/scoped.hh" -#include "util/stream/stream.hh" -#include "util/stream/rewindable_stream.hh" +#include "normalize.hh" + +#include "../common/compare.hh" +#include "../common/ngram_stream.hh" +#include "backoff_matrix.hh" +#include "bounded_sequence_encoding.hh" +#include "interpolate_info.hh" +#include "merge_probabilities.hh" +#include "../weights.hh" +#include "../word_index.hh" +#include "../../util/fixed_array.hh" +#include "../../util/scoped.hh" +#include "../../util/stream/stream.hh" +#include "../../util/stream/rewindable_stream.hh" #include #include diff --git a/lm/interpolate/normalize.hh b/lm/interpolate/normalize.hh index dd26b25d2..335bc5d19 100644 --- a/lm/interpolate/normalize.hh +++ b/lm/interpolate/normalize.hh @@ -1,7 +1,7 @@ #ifndef LM_INTERPOLATE_NORMALIZE_H #define LM_INTERPOLATE_NORMALIZE_H -#include "util/fixed_array.hh" +#include "../../util/fixed_array.hh" /* Pass 2: * - Multiply backoff weights by the backed off probabilities from pass 1. diff --git a/lm/interpolate/normalize_test.cc b/lm/interpolate/normalize_test.cc index fe220f362..bec2549a5 100644 --- a/lm/interpolate/normalize_test.cc +++ b/lm/interpolate/normalize_test.cc @@ -1,10 +1,10 @@ -#include "lm/interpolate/normalize.hh" +#include "normalize.hh" -#include "lm/interpolate/interpolate_info.hh" -#include "lm/interpolate/merge_probabilities.hh" -#include "lm/common/ngram_stream.hh" -#include "util/stream/chain.hh" -#include "util/stream/multi_stream.hh" +#include "interpolate_info.hh" +#include "merge_probabilities.hh" +#include "../common/ngram_stream.hh" +#include "../../util/stream/chain.hh" +#include "../../util/stream/multi_stream.hh" #define BOOST_TEST_MODULE NormalizeTest #include diff --git a/lm/interpolate/pipeline.cc b/lm/interpolate/pipeline.cc index da7f857ed..c96f6e54d 100644 --- a/lm/interpolate/pipeline.cc +++ b/lm/interpolate/pipeline.cc @@ -1,21 +1,21 @@ -#include "lm/interpolate/pipeline.hh" - -#include "lm/common/compare.hh" -#include "lm/common/print.hh" -#include "lm/common/renumber.hh" -#include "lm/vocab.hh" -#include "lm/interpolate/backoff_reunification.hh" -#include "lm/interpolate/interpolate_info.hh" -#include "lm/interpolate/merge_probabilities.hh" -#include "lm/interpolate/merge_vocab.hh" -#include "lm/interpolate/normalize.hh" -#include "lm/interpolate/universal_vocab.hh" -#include "util/stream/chain.hh" -#include "util/stream/count_records.hh" -#include "util/stream/io.hh" -#include "util/stream/multi_stream.hh" -#include "util/stream/sort.hh" -#include "util/fixed_array.hh" +#include "pipeline.hh" + +#include "../common/compare.hh" +#include "../common/print.hh" +#include "../common/renumber.hh" +#include "../vocab.hh" +#include "backoff_reunification.hh" +#include "interpolate_info.hh" +#include "merge_probabilities.hh" +#include "merge_vocab.hh" +#include "normalize.hh" +#include "universal_vocab.hh" +#include "../../util/stream/chain.hh" +#include "../../util/stream/count_records.hh" +#include "../../util/stream/io.hh" +#include "../../util/stream/multi_stream.hh" +#include "../../util/stream/sort.hh" +#include "../../util/fixed_array.hh" namespace lm { namespace interpolate { namespace { diff --git a/lm/interpolate/pipeline.hh b/lm/interpolate/pipeline.hh index b20024820..a2b8e1c87 100644 --- a/lm/interpolate/pipeline.hh +++ b/lm/interpolate/pipeline.hh @@ -1,9 +1,9 @@ #ifndef LM_INTERPOLATE_PIPELINE_H #define LM_INTERPOLATE_PIPELINE_H -#include "lm/common/model_buffer.hh" -#include "util/fixed_array.hh" -#include "util/stream/config.hh" +#include "../common/model_buffer.hh" +#include "../../util/fixed_array.hh" +#include "../../util/stream/config.hh" #include #include diff --git a/lm/interpolate/split_worker.cc b/lm/interpolate/split_worker.cc index e777bf098..01291e110 100644 --- a/lm/interpolate/split_worker.cc +++ b/lm/interpolate/split_worker.cc @@ -1,5 +1,5 @@ -#include "lm/interpolate/split_worker.hh" -#include "lm/common/ngram.hh" +#include "split_worker.hh" +#include "../common/ngram.hh" namespace lm { namespace interpolate { diff --git a/lm/interpolate/split_worker.hh b/lm/interpolate/split_worker.hh index 15fae6850..89db3724e 100644 --- a/lm/interpolate/split_worker.hh +++ b/lm/interpolate/split_worker.hh @@ -1,8 +1,8 @@ #ifndef KENLM_INTERPOLATE_SPLIT_WORKER_H_ #define KENLM_INTERPOLATE_SPLIT_WORKER_H_ -#include "util/stream/chain.hh" -#include "util/stream/stream.hh" +#include "../../util/stream/chain.hh" +#include "../../util/stream/stream.hh" namespace lm { namespace interpolate { diff --git a/lm/interpolate/streaming_example_main.cc b/lm/interpolate/streaming_example_main.cc index 1f543cbe6..274c9f54a 100644 --- a/lm/interpolate/streaming_example_main.cc +++ b/lm/interpolate/streaming_example_main.cc @@ -1,10 +1,10 @@ -#include "lm/common/compare.hh" -#include "lm/common/model_buffer.hh" -#include "lm/common/ngram.hh" -#include "util/stream/chain.hh" -#include "util/stream/multi_stream.hh" -#include "util/stream/sort.hh" -#include "lm/interpolate/split_worker.hh" +#include "../common/compare.hh" +#include "../common/model_buffer.hh" +#include "../common/ngram.hh" +#include "../../util/stream/chain.hh" +#include "../../util/stream/multi_stream.hh" +#include "../../util/stream/sort.hh" +#include "split_worker.hh" #include #include diff --git a/lm/interpolate/tune_derivatives.cc b/lm/interpolate/tune_derivatives.cc index 7cd915a67..cddcc8f21 100644 --- a/lm/interpolate/tune_derivatives.cc +++ b/lm/interpolate/tune_derivatives.cc @@ -1,9 +1,9 @@ -#include "lm/interpolate/tune_derivatives.hh" +#include "tune_derivatives.hh" -#include "lm/interpolate/tune_instances.hh" -#include "lm/interpolate/tune_matrix.hh" -#include "util/stream/chain.hh" -#include "util/stream/typed_stream.hh" +#include "tune_instances.hh" +#include "tune_matrix.hh" +#include "../../util/stream/chain.hh" +#include "../../util/stream/typed_stream.hh" #include diff --git a/lm/interpolate/tune_derivatives.hh b/lm/interpolate/tune_derivatives.hh index e3bedd3da..af874d4c0 100644 --- a/lm/interpolate/tune_derivatives.hh +++ b/lm/interpolate/tune_derivatives.hh @@ -1,7 +1,7 @@ #ifndef LM_INTERPOLATE_TUNE_DERIVATIVES_H #define LM_INTERPOLATE_TUNE_DERIVATIVES_H -#include "lm/interpolate/tune_matrix.hh" +#include "tune_matrix.hh" #include #include diff --git a/lm/interpolate/tune_derivatives_test.cc b/lm/interpolate/tune_derivatives_test.cc index 2a43abfcd..cfa69ecd5 100644 --- a/lm/interpolate/tune_derivatives_test.cc +++ b/lm/interpolate/tune_derivatives_test.cc @@ -1,11 +1,11 @@ -#include "lm/interpolate/tune_derivatives.hh" +#include "tune_derivatives.hh" -#include "lm/interpolate/tune_instances.hh" +#include "tune_instances.hh" -#include "util/stream/config.hh" -#include "util/stream/chain.hh" -#include "util/stream/io.hh" -#include "util/stream/typed_stream.hh" +#include "../../util/stream/config.hh" +#include "../../util/stream/chain.hh" +#include "../../util/stream/io.hh" +#include "../../util/stream/typed_stream.hh" #define BOOST_TEST_MODULE DerivativeTest #include diff --git a/lm/interpolate/tune_instances.cc b/lm/interpolate/tune_instances.cc index 6f41bd214..240c46fed 100644 --- a/lm/interpolate/tune_instances.cc +++ b/lm/interpolate/tune_instances.cc @@ -15,23 +15,23 @@ * (tune_derivatives.hh) takes a stream of extensions ordered by tuning * instance, the word v, and the model the extension came from. */ -#include "lm/interpolate/tune_instances.hh" - -#include "lm/common/compare.hh" -#include "lm/common/joint_order.hh" -#include "lm/common/model_buffer.hh" -#include "lm/common/ngram_stream.hh" -#include "lm/common/renumber.hh" -#include "lm/enumerate_vocab.hh" -#include "lm/interpolate/merge_vocab.hh" -#include "lm/interpolate/universal_vocab.hh" -#include "lm/lm_exception.hh" -#include "util/file_piece.hh" -#include "util/murmur_hash.hh" -#include "util/stream/chain.hh" -#include "util/stream/io.hh" -#include "util/stream/sort.hh" -#include "util/tokenize_piece.hh" +#include "tune_instances.hh" + +#include "../common/compare.hh" +#include "../common/joint_order.hh" +#include "../common/model_buffer.hh" +#include "../common/ngram_stream.hh" +#include "../common/renumber.hh" +#include "../enumerate_vocab.hh" +#include "merge_vocab.hh" +#include "universal_vocab.hh" +#include "../lm_exception.hh" +#include "../../util/file_piece.hh" +#include "../../util/murmur_hash.hh" +#include "../../util/stream/chain.hh" +#include "../../util/stream/io.hh" +#include "../../util/stream/sort.hh" +#include "../../util/tokenize_piece.hh" #include #include diff --git a/lm/interpolate/tune_instances.hh b/lm/interpolate/tune_instances.hh index 3ecde6b36..7d80327b1 100644 --- a/lm/interpolate/tune_instances.hh +++ b/lm/interpolate/tune_instances.hh @@ -1,11 +1,11 @@ #ifndef LM_INTERPOLATE_TUNE_INSTANCE_H #define LM_INTERPOLATE_TUNE_INSTANCE_H -#include "lm/interpolate/tune_matrix.hh" -#include "lm/word_index.hh" -#include "util/scoped.hh" -#include "util/stream/config.hh" -#include "util/string_piece.hh" +#include "tune_matrix.hh" +#include "../word_index.hh" +#include "../../util/scoped.hh" +#include "../../util/stream/config.hh" +#include "../../util/string_piece.hh" #include diff --git a/lm/interpolate/tune_instances_test.cc b/lm/interpolate/tune_instances_test.cc index 73a4620fa..8bce84cbf 100644 --- a/lm/interpolate/tune_instances_test.cc +++ b/lm/interpolate/tune_instances_test.cc @@ -1,11 +1,11 @@ -#include "lm/interpolate/tune_instances.hh" - -#include "util/file.hh" -#include "util/file_stream.hh" -#include "util/stream/chain.hh" -#include "util/stream/config.hh" -#include "util/stream/typed_stream.hh" -#include "util/string_piece.hh" +#include "tune_instances.hh" + +#include "../../util/file.hh" +#include "../../util/file_stream.hh" +#include "../../util/stream/chain.hh" +#include "../../util/stream/config.hh" +#include "../../util/stream/typed_stream.hh" +#include "../../util/string_piece.hh" #define BOOST_TEST_MODULE InstanceTest #include diff --git a/lm/interpolate/tune_weights.cc b/lm/interpolate/tune_weights.cc index 72c93da19..0d1667ef3 100644 --- a/lm/interpolate/tune_weights.cc +++ b/lm/interpolate/tune_weights.cc @@ -1,7 +1,7 @@ -#include "lm/interpolate/tune_weights.hh" +#include "tune_weights.hh" -#include "lm/interpolate/tune_derivatives.hh" -#include "lm/interpolate/tune_instances.hh" +#include "tune_derivatives.hh" +#include "tune_instances.hh" #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wpragmas" // Older gcc doesn't have "-Wunused-local-typedefs" and complains. diff --git a/lm/interpolate/tune_weights.hh b/lm/interpolate/tune_weights.hh index 43e7e1a12..3c435ef46 100644 --- a/lm/interpolate/tune_weights.hh +++ b/lm/interpolate/tune_weights.hh @@ -1,7 +1,7 @@ #ifndef LM_INTERPOLATE_TUNE_WEIGHTS_H #define LM_INTERPOLATE_TUNE_WEIGHTS_H -#include "util/string_piece.hh" +#include "../../util/string_piece.hh" #include diff --git a/lm/interpolate/universal_vocab.cc b/lm/interpolate/universal_vocab.cc index 5cdf41ea4..fcf323f98 100644 --- a/lm/interpolate/universal_vocab.cc +++ b/lm/interpolate/universal_vocab.cc @@ -1,4 +1,4 @@ -#include "lm/interpolate/universal_vocab.hh" +#include "universal_vocab.hh" namespace lm { namespace interpolate { diff --git a/lm/interpolate/universal_vocab.hh b/lm/interpolate/universal_vocab.hh index 61af27ad6..8386fdaf3 100644 --- a/lm/interpolate/universal_vocab.hh +++ b/lm/interpolate/universal_vocab.hh @@ -1,7 +1,7 @@ #ifndef LM_INTERPOLATE_UNIVERSAL_VOCAB_H #define LM_INTERPOLATE_UNIVERSAL_VOCAB_H -#include "lm/word_index.hh" +#include "../word_index.hh" #include #include diff --git a/lm/kenlm_benchmark_main.cc b/lm/kenlm_benchmark_main.cc index 3b048e30b..93196ece2 100644 --- a/lm/kenlm_benchmark_main.cc +++ b/lm/kenlm_benchmark_main.cc @@ -1,9 +1,9 @@ -#include "lm/model.hh" -#include "util/file_stream.hh" -#include "util/file.hh" -#include "util/file_piece.hh" -#include "util/usage.hh" -#include "util/thread_pool.hh" +#include "model.hh" +#include "../util/file_stream.hh" +#include "../util/file.hh" +#include "../util/file_piece.hh" +#include "../util/usage.hh" +#include "../util/thread_pool.hh" #include #include diff --git a/lm/left.hh b/lm/left.hh index 4d496863c..c66d4dea9 100644 --- a/lm/left.hh +++ b/lm/left.hh @@ -38,11 +38,11 @@ #ifndef LM_LEFT_H #define LM_LEFT_H -#include "lm/max_order.hh" -#include "lm/state.hh" -#include "lm/return.hh" +#include "max_order.hh" +#include "state.hh" +#include "return.hh" -#include "util/murmur_hash.hh" +#include "../util/murmur_hash.hh" #include diff --git a/lm/left_test.cc b/lm/left_test.cc index fdb641627..6272715f1 100644 --- a/lm/left_test.cc +++ b/lm/left_test.cc @@ -1,7 +1,7 @@ -#include "lm/left.hh" -#include "lm/model.hh" +#include "left.hh" +#include "model.hh" -#include "util/tokenize_piece.hh" +#include "../util/tokenize_piece.hh" #include diff --git a/lm/lm_exception.cc b/lm/lm_exception.cc index 58d468f30..8a82aa821 100644 --- a/lm/lm_exception.cc +++ b/lm/lm_exception.cc @@ -1,4 +1,4 @@ -#include "lm/lm_exception.hh" +#include "lm_exception.hh" #include #include diff --git a/lm/lm_exception.hh b/lm/lm_exception.hh index 85a5738eb..0081b0596 100644 --- a/lm/lm_exception.hh +++ b/lm/lm_exception.hh @@ -3,8 +3,8 @@ // Named to avoid conflict with util/exception.hh. -#include "util/exception.hh" -#include "util/string_piece.hh" +#include "../util/exception.hh" +#include "../util/string_piece.hh" #include #include diff --git a/lm/model.cc b/lm/model.cc index a5a16bf8e..b968edd9c 100644 --- a/lm/model.cc +++ b/lm/model.cc @@ -1,12 +1,12 @@ -#include "lm/model.hh" - -#include "lm/blank.hh" -#include "lm/lm_exception.hh" -#include "lm/search_hashed.hh" -#include "lm/search_trie.hh" -#include "lm/read_arpa.hh" -#include "util/have.hh" -#include "util/murmur_hash.hh" +#include "model.hh" + +#include "blank.hh" +#include "lm_exception.hh" +#include "search_hashed.hh" +#include "search_trie.hh" +#include "read_arpa.hh" +#include "../util/have.hh" +#include "../util/murmur_hash.hh" #include #include diff --git a/lm/model.hh b/lm/model.hh index b2bbe3999..db43d8b5e 100644 --- a/lm/model.hh +++ b/lm/model.hh @@ -1,19 +1,19 @@ #ifndef LM_MODEL_H #define LM_MODEL_H -#include "lm/bhiksha.hh" -#include "lm/binary_format.hh" -#include "lm/config.hh" -#include "lm/facade.hh" -#include "lm/quantize.hh" -#include "lm/search_hashed.hh" -#include "lm/search_trie.hh" -#include "lm/state.hh" -#include "lm/value.hh" -#include "lm/vocab.hh" -#include "lm/weights.hh" - -#include "util/murmur_hash.hh" +#include "bhiksha.hh" +#include "binary_format.hh" +#include "config.hh" +#include "facade.hh" +#include "quantize.hh" +#include "search_hashed.hh" +#include "search_trie.hh" +#include "state.hh" +#include "value.hh" +#include "vocab.hh" +#include "weights.hh" + +#include "../util/murmur_hash.hh" #include #include diff --git a/lm/model_test.cc b/lm/model_test.cc index d408d6fe4..9eb219d64 100644 --- a/lm/model_test.cc +++ b/lm/model_test.cc @@ -1,4 +1,4 @@ -#include "lm/model.hh" +#include "model.hh" #include #include diff --git a/lm/ngram_query.hh b/lm/ngram_query.hh index 4430841c9..431a67fee 100644 --- a/lm/ngram_query.hh +++ b/lm/ngram_query.hh @@ -1,11 +1,11 @@ #ifndef LM_NGRAM_QUERY_H #define LM_NGRAM_QUERY_H -#include "lm/enumerate_vocab.hh" -#include "lm/model.hh" -#include "util/file_stream.hh" -#include "util/file_piece.hh" -#include "util/usage.hh" +#include "enumerate_vocab.hh" +#include "model.hh" +#include "../util/file_stream.hh" +#include "../util/file_piece.hh" +#include "../util/usage.hh" #include #include diff --git a/lm/partial.hh b/lm/partial.hh index 9e4e3522e..2fda17b44 100644 --- a/lm/partial.hh +++ b/lm/partial.hh @@ -1,8 +1,8 @@ #ifndef LM_PARTIAL_H #define LM_PARTIAL_H -#include "lm/return.hh" -#include "lm/state.hh" +#include "return.hh" +#include "state.hh" #include #include diff --git a/lm/partial_test.cc b/lm/partial_test.cc index adb644fa6..5d06c6d4f 100644 --- a/lm/partial_test.cc +++ b/lm/partial_test.cc @@ -1,8 +1,8 @@ -#include "lm/partial.hh" +#include "partial.hh" -#include "lm/left.hh" -#include "lm/model.hh" -#include "util/tokenize_piece.hh" +#include "left.hh" +#include "model.hh" +#include "../util/tokenize_piece.hh" #define BOOST_TEST_MODULE PartialTest #include diff --git a/lm/quantize.cc b/lm/quantize.cc index 02b5dbc0e..75d3ce568 100644 --- a/lm/quantize.cc +++ b/lm/quantize.cc @@ -6,11 +6,11 @@ * tional Linguistics. */ -#include "lm/quantize.hh" +#include "quantize.hh" -#include "lm/binary_format.hh" -#include "lm/lm_exception.hh" -#include "util/file.hh" +#include "binary_format.hh" +#include "lm_exception.hh" +#include "../util/file.hh" #include #include diff --git a/lm/quantize.hh b/lm/quantize.hh index 1faac37ee..2754f5cdc 100644 --- a/lm/quantize.hh +++ b/lm/quantize.hh @@ -1,11 +1,11 @@ #ifndef LM_QUANTIZE_H #define LM_QUANTIZE_H -#include "lm/blank.hh" -#include "lm/config.hh" -#include "lm/max_order.hh" -#include "lm/model_type.hh" -#include "util/bit_packing.hh" +#include "blank.hh" +#include "config.hh" +#include "max_order.hh" +#include "model_type.hh" +#include "../util/bit_packing.hh" #include #include diff --git a/lm/query_main.cc b/lm/query_main.cc index d8de84f20..4941128b0 100644 --- a/lm/query_main.cc +++ b/lm/query_main.cc @@ -1,8 +1,8 @@ -#include "lm/ngram_query.hh" -#include "util/getopt.hh" +#include "ngram_query.hh" +#include "../util/getopt.hh" #ifdef WITH_NPLM -#include "lm/wrappers/nplm.hh" +#include "wrappers/nplm.hh" #endif #include diff --git a/lm/read_arpa.cc b/lm/read_arpa.cc index 51a3a61b2..2825cddfe 100644 --- a/lm/read_arpa.cc +++ b/lm/read_arpa.cc @@ -1,7 +1,7 @@ -#include "lm/read_arpa.hh" +#include "read_arpa.hh" -#include "lm/blank.hh" -#include "util/file.hh" +#include "blank.hh" +#include "../util/file.hh" #include #include diff --git a/lm/read_arpa.hh b/lm/read_arpa.hh index 64eeef306..84022d963 100644 --- a/lm/read_arpa.hh +++ b/lm/read_arpa.hh @@ -1,10 +1,10 @@ #ifndef LM_READ_ARPA_H #define LM_READ_ARPA_H -#include "lm/lm_exception.hh" -#include "lm/word_index.hh" -#include "lm/weights.hh" -#include "util/file_piece.hh" +#include "lm_exception.hh" +#include "word_index.hh" +#include "weights.hh" +#include "../util/file_piece.hh" #include #include diff --git a/lm/search_hashed.cc b/lm/search_hashed.cc index 7e63e0066..e53bf3033 100644 --- a/lm/search_hashed.cc +++ b/lm/search_hashed.cc @@ -1,15 +1,15 @@ -#include "lm/search_hashed.hh" - -#include "lm/binary_format.hh" -#include "lm/blank.hh" -#include "lm/lm_exception.hh" -#include "lm/model.hh" -#include "lm/read_arpa.hh" -#include "lm/value.hh" -#include "lm/vocab.hh" - -#include "util/bit_packing.hh" -#include "util/file_piece.hh" +#include "search_hashed.hh" + +#include "binary_format.hh" +#include "blank.hh" +#include "lm_exception.hh" +#include "model.hh" +#include "read_arpa.hh" +#include "value.hh" +#include "vocab.hh" + +#include "../util/bit_packing.hh" +#include "../util/file_piece.hh" #include diff --git a/lm/search_hashed.hh b/lm/search_hashed.hh index 9dc84454c..787774444 100644 --- a/lm/search_hashed.hh +++ b/lm/search_hashed.hh @@ -1,14 +1,14 @@ #ifndef LM_SEARCH_HASHED_H #define LM_SEARCH_HASHED_H -#include "lm/model_type.hh" -#include "lm/config.hh" -#include "lm/read_arpa.hh" -#include "lm/return.hh" -#include "lm/weights.hh" - -#include "util/bit_packing.hh" -#include "util/probing_hash_table.hh" +#include "model_type.hh" +#include "config.hh" +#include "read_arpa.hh" +#include "return.hh" +#include "weights.hh" + +#include "../util/bit_packing.hh" +#include "../util/probing_hash_table.hh" #include #include diff --git a/lm/search_trie.cc b/lm/search_trie.cc index 3d3f5d574..d4d28c981 100644 --- a/lm/search_trie.cc +++ b/lm/search_trie.cc @@ -1,22 +1,22 @@ /* This is where the trie is built. It's on-disk. */ -#include "lm/search_trie.hh" - -#include "lm/bhiksha.hh" -#include "lm/binary_format.hh" -#include "lm/blank.hh" -#include "lm/lm_exception.hh" -#include "lm/max_order.hh" -#include "lm/quantize.hh" -#include "lm/trie.hh" -#include "lm/trie_sort.hh" -#include "lm/vocab.hh" -#include "lm/weights.hh" -#include "lm/word_index.hh" -#include "util/ersatz_progress.hh" -#include "util/mmap.hh" -#include "util/proxy_iterator.hh" -#include "util/scoped.hh" -#include "util/sized_iterator.hh" +#include "search_trie.hh" + +#include "bhiksha.hh" +#include "binary_format.hh" +#include "blank.hh" +#include "lm_exception.hh" +#include "max_order.hh" +#include "quantize.hh" +#include "trie.hh" +#include "trie_sort.hh" +#include "vocab.hh" +#include "weights.hh" +#include "word_index.hh" +#include "../util/ersatz_progress.hh" +#include "../util/mmap.hh" +#include "../util/proxy_iterator.hh" +#include "../util/scoped.hh" +#include "../util/sized_iterator.hh" #include #include diff --git a/lm/search_trie.hh b/lm/search_trie.hh index 1adba6e5e..4e44f34ff 100644 --- a/lm/search_trie.hh +++ b/lm/search_trie.hh @@ -1,14 +1,14 @@ #ifndef LM_SEARCH_TRIE_H #define LM_SEARCH_TRIE_H -#include "lm/config.hh" -#include "lm/model_type.hh" -#include "lm/return.hh" -#include "lm/trie.hh" -#include "lm/weights.hh" - -#include "util/file.hh" -#include "util/file_piece.hh" +#include "config.hh" +#include "model_type.hh" +#include "return.hh" +#include "trie.hh" +#include "weights.hh" + +#include "../util/file.hh" +#include "../util/file_piece.hh" #include #include diff --git a/lm/sizes.cc b/lm/sizes.cc index dd831c505..f0f514a10 100644 --- a/lm/sizes.cc +++ b/lm/sizes.cc @@ -1,6 +1,6 @@ -#include "lm/sizes.hh" -#include "lm/model.hh" -#include "util/file_piece.hh" +#include "sizes.hh" +#include "model.hh" +#include "../util/file_piece.hh" #include #include diff --git a/lm/state.hh b/lm/state.hh index 2195dee73..249a83447 100644 --- a/lm/state.hh +++ b/lm/state.hh @@ -1,9 +1,9 @@ #ifndef LM_STATE_H #define LM_STATE_H -#include "lm/max_order.hh" -#include "lm/word_index.hh" -#include "util/murmur_hash.hh" +#include "max_order.hh" +#include "word_index.hh" +#include "../util/murmur_hash.hh" #include diff --git a/lm/trie.cc b/lm/trie.cc index 72ad54484..a9c58f2ed 100644 --- a/lm/trie.cc +++ b/lm/trie.cc @@ -1,9 +1,9 @@ -#include "lm/trie.hh" +#include "trie.hh" -#include "lm/bhiksha.hh" -#include "util/bit_packing.hh" -#include "util/exception.hh" -#include "util/sorted_uniform.hh" +#include "bhiksha.hh" +#include "../util/bit_packing.hh" +#include "../util/exception.hh" +#include "../util/sorted_uniform.hh" #include diff --git a/lm/trie.hh b/lm/trie.hh index b7f0458bf..1aa8adeed 100644 --- a/lm/trie.hh +++ b/lm/trie.hh @@ -1,9 +1,9 @@ #ifndef LM_TRIE_H #define LM_TRIE_H -#include "lm/weights.hh" -#include "lm/word_index.hh" -#include "util/bit_packing.hh" +#include "weights.hh" +#include "word_index.hh" +#include "../util/bit_packing.hh" #include diff --git a/lm/trie_sort.cc b/lm/trie_sort.cc index 73728c168..8972bda5c 100644 --- a/lm/trie_sort.cc +++ b/lm/trie_sort.cc @@ -1,16 +1,16 @@ -#include "lm/trie_sort.hh" - -#include "lm/config.hh" -#include "lm/lm_exception.hh" -#include "lm/read_arpa.hh" -#include "lm/vocab.hh" -#include "lm/weights.hh" -#include "lm/word_index.hh" -#include "util/file_piece.hh" -#include "util/mmap.hh" -#include "util/pool.hh" -#include "util/proxy_iterator.hh" -#include "util/sized_iterator.hh" +#include "trie_sort.hh" + +#include "config.hh" +#include "lm_exception.hh" +#include "read_arpa.hh" +#include "vocab.hh" +#include "weights.hh" +#include "word_index.hh" +#include "../util/file_piece.hh" +#include "../util/mmap.hh" +#include "../util/pool.hh" +#include "../util/proxy_iterator.hh" +#include "../util/sized_iterator.hh" #include #include diff --git a/lm/trie_sort.hh b/lm/trie_sort.hh index 594efee51..162564394 100644 --- a/lm/trie_sort.hh +++ b/lm/trie_sort.hh @@ -3,11 +3,11 @@ #ifndef LM_TRIE_SORT_H #define LM_TRIE_SORT_H -#include "lm/max_order.hh" -#include "lm/word_index.hh" +#include "max_order.hh" +#include "word_index.hh" -#include "util/file.hh" -#include "util/scoped.hh" +#include "../util/file.hh" +#include "../util/scoped.hh" #include #include diff --git a/lm/value.hh b/lm/value.hh index d2425cc13..675883452 100644 --- a/lm/value.hh +++ b/lm/value.hh @@ -1,11 +1,11 @@ #ifndef LM_VALUE_H #define LM_VALUE_H -#include "lm/config.hh" -#include "lm/model_type.hh" -#include "lm/value_build.hh" -#include "lm/weights.hh" -#include "util/bit_packing.hh" +#include "config.hh" +#include "model_type.hh" +#include "value_build.hh" +#include "weights.hh" +#include "../util/bit_packing.hh" #include diff --git a/lm/value_build.cc b/lm/value_build.cc index ac623a6d9..9b06c9e6f 100644 --- a/lm/value_build.cc +++ b/lm/value_build.cc @@ -1,7 +1,7 @@ -#include "lm/value_build.hh" +#include "value_build.hh" -#include "lm/model.hh" -#include "lm/read_arpa.hh" +#include "model.hh" +#include "read_arpa.hh" namespace lm { namespace ngram { diff --git a/lm/value_build.hh b/lm/value_build.hh index 49989ab42..d92578b7d 100644 --- a/lm/value_build.hh +++ b/lm/value_build.hh @@ -1,9 +1,9 @@ #ifndef LM_VALUE_BUILD_H #define LM_VALUE_BUILD_H -#include "lm/weights.hh" -#include "lm/word_index.hh" -#include "util/bit_packing.hh" +#include "weights.hh" +#include "word_index.hh" +#include "../util/bit_packing.hh" #include diff --git a/lm/virtual_interface.cc b/lm/virtual_interface.cc index 17a74c3c1..75ef8d9b4 100644 --- a/lm/virtual_interface.cc +++ b/lm/virtual_interface.cc @@ -1,6 +1,6 @@ -#include "lm/virtual_interface.hh" +#include "virtual_interface.hh" -#include "lm/lm_exception.hh" +#include "lm_exception.hh" namespace lm { namespace base { diff --git a/lm/virtual_interface.hh b/lm/virtual_interface.hh index ea491fbf7..886065386 100644 --- a/lm/virtual_interface.hh +++ b/lm/virtual_interface.hh @@ -1,9 +1,9 @@ #ifndef LM_VIRTUAL_INTERFACE_H #define LM_VIRTUAL_INTERFACE_H -#include "lm/return.hh" -#include "lm/word_index.hh" -#include "util/string_piece.hh" +#include "return.hh" +#include "word_index.hh" +#include "../util/string_piece.hh" #include #include diff --git a/lm/vocab.cc b/lm/vocab.cc index 7996ec7e2..93d223ad4 100644 --- a/lm/vocab.cc +++ b/lm/vocab.cc @@ -1,16 +1,16 @@ -#include "lm/vocab.hh" - -#include "lm/binary_format.hh" -#include "lm/enumerate_vocab.hh" -#include "lm/lm_exception.hh" -#include "lm/config.hh" -#include "lm/weights.hh" -#include "util/exception.hh" -#include "util/file_stream.hh" -#include "util/file.hh" -#include "util/joint_sort.hh" -#include "util/murmur_hash.hh" -#include "util/probing_hash_table.hh" +#include "vocab.hh" + +#include "binary_format.hh" +#include "enumerate_vocab.hh" +#include "lm_exception.hh" +#include "config.hh" +#include "weights.hh" +#include "../util/exception.hh" +#include "../util/file_stream.hh" +#include "../util/file.hh" +#include "../util/joint_sort.hh" +#include "../util/murmur_hash.hh" +#include "../util/probing_hash_table.hh" #include #include diff --git a/lm/vocab.hh b/lm/vocab.hh index f36e62ca2..66eda3a21 100644 --- a/lm/vocab.hh +++ b/lm/vocab.hh @@ -1,15 +1,15 @@ #ifndef LM_VOCAB_H #define LM_VOCAB_H -#include "lm/enumerate_vocab.hh" -#include "lm/lm_exception.hh" -#include "lm/virtual_interface.hh" -#include "util/file_stream.hh" -#include "util/murmur_hash.hh" -#include "util/pool.hh" -#include "util/probing_hash_table.hh" -#include "util/sorted_uniform.hh" -#include "util/string_piece.hh" +#include "enumerate_vocab.hh" +#include "lm_exception.hh" +#include "virtual_interface.hh" +#include "../util/file_stream.hh" +#include "../util/murmur_hash.hh" +#include "../util/pool.hh" +#include "../util/probing_hash_table.hh" +#include "../util/sorted_uniform.hh" +#include "../util/string_piece.hh" #include #include diff --git a/lm/wrappers/nplm.cc b/lm/wrappers/nplm.cc index 9bd7c1ed8..41ee612a2 100644 --- a/lm/wrappers/nplm.cc +++ b/lm/wrappers/nplm.cc @@ -1,6 +1,6 @@ -#include "lm/wrappers/nplm.hh" -#include "util/exception.hh" -#include "util/file.hh" +#include "nplm.hh" +#include "../../util/exception.hh" +#include "../../util/file.hh" #include #include diff --git a/lm/wrappers/nplm.hh b/lm/wrappers/nplm.hh index 82b38fdd7..5d3b3c112 100644 --- a/lm/wrappers/nplm.hh +++ b/lm/wrappers/nplm.hh @@ -1,9 +1,9 @@ #ifndef LM_WRAPPERS_NPLM_H #define LM_WRAPPERS_NPLM_H -#include "lm/facade.hh" -#include "lm/max_order.hh" -#include "util/string_piece.hh" +#include "../facade.hh" +#include "../max_order.hh" +#include "../../util/string_piece.hh" #include #include diff --git a/util/bit_packing.cc b/util/bit_packing.cc index cffd9cf62..043a80175 100644 --- a/util/bit_packing.cc +++ b/util/bit_packing.cc @@ -1,5 +1,5 @@ -#include "util/bit_packing.hh" -#include "util/exception.hh" +#include "bit_packing.hh" +#include "exception.hh" #include diff --git a/util/bit_packing_test.cc b/util/bit_packing_test.cc index c4494b69f..9ab5616b0 100644 --- a/util/bit_packing_test.cc +++ b/util/bit_packing_test.cc @@ -1,4 +1,4 @@ -#include "util/bit_packing.hh" +#include "bit_packing.hh" #define BOOST_TEST_MODULE BitPackingTest #include diff --git a/util/cat_compressed_main.cc b/util/cat_compressed_main.cc index 0c7cda936..eb4d23c3a 100644 --- a/util/cat_compressed_main.cc +++ b/util/cat_compressed_main.cc @@ -1,6 +1,6 @@ // Like cat but interprets compressed files. -#include "util/file.hh" -#include "util/read_compressed.hh" +#include "file.hh" +#include "read_compressed.hh" #include #include diff --git a/util/ersatz_progress.cc b/util/ersatz_progress.cc index 55c82e7af..1d6dbcf29 100644 --- a/util/ersatz_progress.cc +++ b/util/ersatz_progress.cc @@ -1,4 +1,4 @@ -#include "util/ersatz_progress.hh" +#include "ersatz_progress.hh" #include #include diff --git a/util/exception.cc b/util/exception.cc index 01ff9a672..fa2620b4e 100644 --- a/util/exception.cc +++ b/util/exception.cc @@ -1,4 +1,4 @@ -#include "util/exception.hh" +#include "exception.hh" #ifdef __GXX_RTTI #include diff --git a/util/exception.hh b/util/exception.hh index 614a88fa6..b765ae368 100644 --- a/util/exception.hh +++ b/util/exception.hh @@ -1,7 +1,7 @@ #ifndef UTIL_EXCEPTION_H #define UTIL_EXCEPTION_H -#include "util/string_stream.hh" +#include "string_stream.hh" #include #include diff --git a/util/fake_ostream.hh b/util/fake_ostream.hh index 203edf4a1..0f33654b5 100644 --- a/util/fake_ostream.hh +++ b/util/fake_ostream.hh @@ -1,9 +1,9 @@ #ifndef UTIL_FAKE_OSTREAM_H #define UTIL_FAKE_OSTREAM_H -#include "util/float_to_string.hh" -#include "util/integer_to_string.hh" -#include "util/string_piece.hh" +#include "float_to_string.hh" +#include "integer_to_string.hh" +#include "string_piece.hh" #include #include diff --git a/util/file.cc b/util/file.cc index 1a70387e4..ea122ef88 100644 --- a/util/file.cc +++ b/util/file.cc @@ -1,9 +1,9 @@ #define _LARGEFILE64_SOURCE #define _FILE_OFFSET_BITS 64 -#include "util/file.hh" +#include "file.hh" -#include "util/exception.hh" +#include "exception.hh" #include #include diff --git a/util/file.hh b/util/file.hh index 4a50e7306..155149dca 100644 --- a/util/file.hh +++ b/util/file.hh @@ -1,9 +1,9 @@ #ifndef UTIL_FILE_H #define UTIL_FILE_H -#include "util/exception.hh" -#include "util/scoped.hh" -#include "util/string_piece.hh" +#include "exception.hh" +#include "scoped.hh" +#include "string_piece.hh" #include #include diff --git a/util/file_piece.cc b/util/file_piece.cc index 24284656a..45bba9dd4 100644 --- a/util/file_piece.cc +++ b/util/file_piece.cc @@ -1,9 +1,9 @@ -#include "util/file_piece.hh" +#include "file_piece.hh" -#include "util/double-conversion/double-conversion.h" -#include "util/exception.hh" -#include "util/file.hh" -#include "util/mmap.hh" +#include "double-conversion/double-conversion.h" +#include "exception.hh" +#include "file.hh" +#include "mmap.hh" #if defined(_WIN32) || defined(_WIN64) #include diff --git a/util/file_piece.hh b/util/file_piece.hh index fc60dd1b0..b5b10319c 100644 --- a/util/file_piece.hh +++ b/util/file_piece.hh @@ -1,13 +1,13 @@ #ifndef UTIL_FILE_PIECE_H #define UTIL_FILE_PIECE_H -#include "util/ersatz_progress.hh" -#include "util/exception.hh" -#include "util/file.hh" -#include "util/mmap.hh" -#include "util/read_compressed.hh" -#include "util/spaces.hh" -#include "util/string_piece.hh" +#include "ersatz_progress.hh" +#include "exception.hh" +#include "file.hh" +#include "mmap.hh" +#include "read_compressed.hh" +#include "spaces.hh" +#include "string_piece.hh" #include #include diff --git a/util/file_piece_test.cc b/util/file_piece_test.cc index 952eb59c5..8fb67c004 100644 --- a/util/file_piece_test.cc +++ b/util/file_piece_test.cc @@ -1,9 +1,9 @@ // Tests might fail if you have creative characters in your path. Sue me. -#include "util/file_piece.hh" +#include "file_piece.hh" -#include "util/file_stream.hh" -#include "util/file.hh" -#include "util/scoped.hh" +#include "file_stream.hh" +#include "file.hh" +#include "scoped.hh" #define BOOST_TEST_MODULE FilePieceTest #include diff --git a/util/file_stream.hh b/util/file_stream.hh index 8b97171a7..cc23786e6 100644 --- a/util/file_stream.hh +++ b/util/file_stream.hh @@ -4,9 +4,9 @@ #ifndef UTIL_FILE_STREAM_H #define UTIL_FILE_STREAM_H -#include "util/fake_ostream.hh" -#include "util/file.hh" -#include "util/scoped.hh" +#include "fake_ostream.hh" +#include "file.hh" +#include "scoped.hh" #include #include diff --git a/util/fixed_array.hh b/util/fixed_array.hh index 3da9d13be..bab87f50e 100644 --- a/util/fixed_array.hh +++ b/util/fixed_array.hh @@ -1,7 +1,7 @@ #ifndef UTIL_FIXED_ARRAY_H #define UTIL_FIXED_ARRAY_H -#include "util/scoped.hh" +#include "scoped.hh" #include diff --git a/util/float_to_string.cc b/util/float_to_string.cc index 1e16d6f99..76f1b8b07 100644 --- a/util/float_to_string.cc +++ b/util/float_to_string.cc @@ -1,7 +1,7 @@ -#include "util/float_to_string.hh" +#include "float_to_string.hh" -#include "util/double-conversion/double-conversion.h" -#include "util/double-conversion/utils.h" +#include "double-conversion/double-conversion.h" +#include "double-conversion/utils.h" namespace util { namespace { diff --git a/util/float_to_string.hh b/util/float_to_string.hh index 930532734..c5fe74c2d 100644 --- a/util/float_to_string.hh +++ b/util/float_to_string.hh @@ -2,7 +2,7 @@ #define UTIL_FLOAT_TO_STRING_H // Just for ToStringBuf -#include "util/integer_to_string.hh" +#include "integer_to_string.hh" namespace util { diff --git a/util/integer_to_string.cc b/util/integer_to_string.cc index 19fd794e6..4a0d700c5 100644 --- a/util/integer_to_string.cc +++ b/util/integer_to_string.cc @@ -44,7 +44,7 @@ Which is based on: http://0x80.pl/snippets/asm/sse-utoa.c $Id$ */ -#include "util/integer_to_string.hh" +#include "integer_to_string.hh" #include #include diff --git a/util/integer_to_string_test.cc b/util/integer_to_string_test.cc index 136c88f62..973d8e5c4 100644 --- a/util/integer_to_string_test.cc +++ b/util/integer_to_string_test.cc @@ -1,6 +1,6 @@ #define BOOST_LEXICAL_CAST_ASSUME_C_LOCALE -#include "util/integer_to_string.hh" -#include "util/string_piece.hh" +#include "integer_to_string.hh" +#include "string_piece.hh" #define BOOST_TEST_MODULE IntegerToStringTest #include diff --git a/util/joint_sort.hh b/util/joint_sort.hh index de4b554ff..f43f862a3 100644 --- a/util/joint_sort.hh +++ b/util/joint_sort.hh @@ -5,7 +5,7 @@ * also permuting another range the same way. */ -#include "util/proxy_iterator.hh" +#include "proxy_iterator.hh" #include #include diff --git a/util/joint_sort_test.cc b/util/joint_sort_test.cc index b24c602c9..2d8574c97 100644 --- a/util/joint_sort_test.cc +++ b/util/joint_sort_test.cc @@ -1,4 +1,4 @@ -#include "util/joint_sort.hh" +#include "joint_sort.hh" #define BOOST_TEST_MODULE JointSortTest #include diff --git a/util/mmap.cc b/util/mmap.cc index 35bf38263..5171cb6eb 100644 --- a/util/mmap.cc +++ b/util/mmap.cc @@ -2,11 +2,11 @@ * ARM and MinGW ports contributed by Hideo Okuma and Tomoyuki Yoshimura at * NICT. */ -#include "util/mmap.hh" +#include "mmap.hh" -#include "util/exception.hh" -#include "util/file.hh" -#include "util/scoped.hh" +#include "exception.hh" +#include "file.hh" +#include "scoped.hh" #include diff --git a/util/multi_intersection_test.cc b/util/multi_intersection_test.cc index ee5af7d61..f1fdb3c11 100644 --- a/util/multi_intersection_test.cc +++ b/util/multi_intersection_test.cc @@ -1,4 +1,4 @@ -#include "util/multi_intersection.hh" +#include "multi_intersection.hh" #define BOOST_TEST_MODULE MultiIntersectionTest #include diff --git a/util/murmur_hash.cc b/util/murmur_hash.cc index bf3249869..c22507e0c 100644 --- a/util/murmur_hash.cc +++ b/util/murmur_hash.cc @@ -10,7 +10,7 @@ * ARM port from NICT */ -#include "util/murmur_hash.hh" +#include "murmur_hash.hh" #include namespace util { diff --git a/util/parallel_read.cc b/util/parallel_read.cc index 6435eb843..5c6a2ead3 100644 --- a/util/parallel_read.cc +++ b/util/parallel_read.cc @@ -1,9 +1,9 @@ -#include "util/parallel_read.hh" +#include "parallel_read.hh" -#include "util/file.hh" +#include "file.hh" #ifdef WITH_THREADS -#include "util/thread_pool.hh" +#include "thread_pool.hh" namespace util { namespace { diff --git a/util/pcqueue.hh b/util/pcqueue.hh index 05c868fba..7f2e46060 100644 --- a/util/pcqueue.hh +++ b/util/pcqueue.hh @@ -1,7 +1,7 @@ #ifndef UTIL_PCQUEUE_H #define UTIL_PCQUEUE_H -#include "util/exception.hh" +#include "exception.hh" #include #include diff --git a/util/pcqueue_test.cc b/util/pcqueue_test.cc index 22ed2c6f3..37b494eec 100644 --- a/util/pcqueue_test.cc +++ b/util/pcqueue_test.cc @@ -1,4 +1,4 @@ -#include "util/pcqueue.hh" +#include "pcqueue.hh" #define BOOST_TEST_MODULE PCQueueTest #include diff --git a/util/pool.cc b/util/pool.cc index 246417c16..270f021bf 100644 --- a/util/pool.cc +++ b/util/pool.cc @@ -1,6 +1,6 @@ -#include "util/pool.hh" +#include "pool.hh" -#include "util/scoped.hh" +#include "scoped.hh" #include diff --git a/util/probing_hash_table.hh b/util/probing_hash_table.hh index 1d45b6199..20c67e261 100644 --- a/util/probing_hash_table.hh +++ b/util/probing_hash_table.hh @@ -1,8 +1,8 @@ #ifndef UTIL_PROBING_HASH_TABLE_H #define UTIL_PROBING_HASH_TABLE_H -#include "util/exception.hh" -#include "util/mmap.hh" +#include "exception.hh" +#include "mmap.hh" #include #include diff --git a/util/probing_hash_table_benchmark_main.cc b/util/probing_hash_table_benchmark_main.cc index 5b64e94b1..def1caf10 100644 --- a/util/probing_hash_table_benchmark_main.cc +++ b/util/probing_hash_table_benchmark_main.cc @@ -1,8 +1,8 @@ -#include "util/file.hh" -#include "util/probing_hash_table.hh" -#include "util/mmap.hh" -#include "util/usage.hh" -#include "util/thread_pool.hh" +#include "file.hh" +#include "probing_hash_table.hh" +#include "mmap.hh" +#include "usage.hh" +#include "thread_pool.hh" #include #include diff --git a/util/probing_hash_table_test.cc b/util/probing_hash_table_test.cc index 6ed541431..19fd6c9f1 100644 --- a/util/probing_hash_table_test.cc +++ b/util/probing_hash_table_test.cc @@ -1,7 +1,7 @@ -#include "util/probing_hash_table.hh" +#include "probing_hash_table.hh" -#include "util/murmur_hash.hh" -#include "util/scoped.hh" +#include "murmur_hash.hh" +#include "scoped.hh" #define BOOST_TEST_MODULE ProbingHashTableTest #include diff --git a/util/read_compressed.cc b/util/read_compressed.cc index 15480309a..c70f91a59 100644 --- a/util/read_compressed.cc +++ b/util/read_compressed.cc @@ -1,8 +1,8 @@ -#include "util/read_compressed.hh" +#include "read_compressed.hh" -#include "util/file.hh" -#include "util/have.hh" -#include "util/scoped.hh" +#include "file.hh" +#include "have.hh" +#include "scoped.hh" #include #include diff --git a/util/read_compressed.hh b/util/read_compressed.hh index abc6f0403..51d6b0763 100644 --- a/util/read_compressed.hh +++ b/util/read_compressed.hh @@ -1,8 +1,8 @@ #ifndef UTIL_READ_COMPRESSED_H #define UTIL_READ_COMPRESSED_H -#include "util/exception.hh" -#include "util/scoped.hh" +#include "exception.hh" +#include "scoped.hh" #include #include diff --git a/util/read_compressed_test.cc b/util/read_compressed_test.cc index a983ca720..7199ff90e 100644 --- a/util/read_compressed_test.cc +++ b/util/read_compressed_test.cc @@ -1,7 +1,7 @@ -#include "util/read_compressed.hh" +#include "read_compressed.hh" -#include "util/file.hh" -#include "util/have.hh" +#include "file.hh" +#include "have.hh" #define BOOST_TEST_MODULE ReadCompressedTest #include diff --git a/util/scoped.cc b/util/scoped.cc index 817aa2424..f877b2351 100644 --- a/util/scoped.cc +++ b/util/scoped.cc @@ -1,4 +1,4 @@ -#include "util/scoped.hh" +#include "scoped.hh" #include #if !defined(_WIN32) && !defined(_WIN64) diff --git a/util/scoped.hh b/util/scoped.hh index 23782b626..936015f13 100644 --- a/util/scoped.hh +++ b/util/scoped.hh @@ -2,7 +2,7 @@ #define UTIL_SCOPED_H /* Other scoped objects in the style of scoped_ptr. */ -#include "util/exception.hh" +#include "exception.hh" #include #include diff --git a/util/sized_iterator.hh b/util/sized_iterator.hh index e9fd7bfd8..8946322b7 100644 --- a/util/sized_iterator.hh +++ b/util/sized_iterator.hh @@ -1,8 +1,8 @@ #ifndef UTIL_SIZED_ITERATOR_H #define UTIL_SIZED_ITERATOR_H -#include "util/pool.hh" -#include "util/proxy_iterator.hh" +#include "pool.hh" +#include "proxy_iterator.hh" #include #include diff --git a/util/sized_iterator_test.cc b/util/sized_iterator_test.cc index 4db015d41..45125d962 100644 --- a/util/sized_iterator_test.cc +++ b/util/sized_iterator_test.cc @@ -1,4 +1,4 @@ -#include "util/sized_iterator.hh" +#include "sized_iterator.hh" #define BOOST_TEST_MODULE SizedIteratorTest #include diff --git a/util/sorted_uniform_test.cc b/util/sorted_uniform_test.cc index 39f05e57e..a501dc41e 100644 --- a/util/sorted_uniform_test.cc +++ b/util/sorted_uniform_test.cc @@ -1,4 +1,4 @@ -#include "util/sorted_uniform.hh" +#include "sorted_uniform.hh" #include #include diff --git a/util/spaces.cc b/util/spaces.cc index 7bc25bf36..18eee9064 100644 --- a/util/spaces.cc +++ b/util/spaces.cc @@ -1,4 +1,4 @@ -#include "util/spaces.hh" +#include "spaces.hh" namespace util { diff --git a/util/stream/chain.cc b/util/stream/chain.cc index 7d859cbb3..7c46819cc 100644 --- a/util/stream/chain.cc +++ b/util/stream/chain.cc @@ -1,9 +1,9 @@ -#include "util/stream/chain.hh" +#include "chain.hh" -#include "util/stream/io.hh" +#include "io.hh" -#include "util/exception.hh" -#include "util/pcqueue.hh" +#include "../exception.hh" +#include "../pcqueue.hh" #include #include diff --git a/util/stream/chain.hh b/util/stream/chain.hh index 5e3b4b92d..5b231d325 100644 --- a/util/stream/chain.hh +++ b/util/stream/chain.hh @@ -1,10 +1,10 @@ #ifndef UTIL_STREAM_CHAIN_H #define UTIL_STREAM_CHAIN_H -#include "util/stream/block.hh" -#include "util/stream/config.hh" -#include "util/stream/multi_progress.hh" -#include "util/scoped.hh" +#include "block.hh" +#include "config.hh" +#include "multi_progress.hh" +#include "../scoped.hh" #include #include diff --git a/util/stream/count_records.cc b/util/stream/count_records.cc index bdadad713..e6938f205 100644 --- a/util/stream/count_records.cc +++ b/util/stream/count_records.cc @@ -1,5 +1,5 @@ -#include "util/stream/count_records.hh" -#include "util/stream/chain.hh" +#include "count_records.hh" +#include "chain.hh" namespace util { namespace stream { diff --git a/util/stream/io.cc b/util/stream/io.cc index 53b3babc0..1d771f50d 100644 --- a/util/stream/io.cc +++ b/util/stream/io.cc @@ -1,7 +1,7 @@ -#include "util/stream/io.hh" +#include "io.hh" -#include "util/file.hh" -#include "util/stream/chain.hh" +#include "../file.hh" +#include "chain.hh" #include diff --git a/util/stream/io.hh b/util/stream/io.hh index d29b37ca1..bfbfacca4 100644 --- a/util/stream/io.hh +++ b/util/stream/io.hh @@ -1,8 +1,8 @@ #ifndef UTIL_STREAM_IO_H #define UTIL_STREAM_IO_H -#include "util/exception.hh" -#include "util/file.hh" +#include "../exception.hh" +#include "../file.hh" namespace util { namespace stream { diff --git a/util/stream/io_test.cc b/util/stream/io_test.cc index 82108335a..3d92a8d37 100644 --- a/util/stream/io_test.cc +++ b/util/stream/io_test.cc @@ -1,7 +1,7 @@ -#include "util/stream/io.hh" +#include "io.hh" -#include "util/stream/chain.hh" -#include "util/file.hh" +#include "chain.hh" +#include "../file.hh" #define BOOST_TEST_MODULE IOTest #include diff --git a/util/stream/line_input.cc b/util/stream/line_input.cc index 0ad8800f6..21775ab08 100644 --- a/util/stream/line_input.cc +++ b/util/stream/line_input.cc @@ -1,9 +1,9 @@ -#include "util/stream/line_input.hh" +#include "line_input.hh" -#include "util/exception.hh" -#include "util/file.hh" -#include "util/read_compressed.hh" -#include "util/stream/chain.hh" +#include "../exception.hh" +#include "../file.hh" +#include "../read_compressed.hh" +#include "chain.hh" #include #include diff --git a/util/stream/multi_progress.cc b/util/stream/multi_progress.cc index 59750f516..5d2e477bf 100644 --- a/util/stream/multi_progress.cc +++ b/util/stream/multi_progress.cc @@ -1,7 +1,7 @@ -#include "util/stream/multi_progress.hh" +#include "multi_progress.hh" // TODO: merge some functionality with the simple progress bar? -#include "util/ersatz_progress.hh" +#include "../ersatz_progress.hh" #include #include diff --git a/util/stream/multi_stream.hh b/util/stream/multi_stream.hh index 6381fc2ed..d860e145b 100644 --- a/util/stream/multi_stream.hh +++ b/util/stream/multi_stream.hh @@ -1,10 +1,10 @@ #ifndef UTIL_STREAM_MULTI_STREAM_H #define UTIL_STREAM_MULTI_STREAM_H -#include "util/fixed_array.hh" -#include "util/scoped.hh" -#include "util/stream/chain.hh" -#include "util/stream/stream.hh" +#include "../fixed_array.hh" +#include "../scoped.hh" +#include "chain.hh" +#include "stream.hh" #include #include diff --git a/util/stream/rewindable_stream.cc b/util/stream/rewindable_stream.cc index 726e2a72d..811c62681 100644 --- a/util/stream/rewindable_stream.cc +++ b/util/stream/rewindable_stream.cc @@ -1,5 +1,5 @@ -#include "util/stream/rewindable_stream.hh" -#include "util/pcqueue.hh" +#include "rewindable_stream.hh" +#include "../pcqueue.hh" #include diff --git a/util/stream/rewindable_stream.hh b/util/stream/rewindable_stream.hh index 560825cde..6a297589a 100644 --- a/util/stream/rewindable_stream.hh +++ b/util/stream/rewindable_stream.hh @@ -1,7 +1,7 @@ #ifndef UTIL_STREAM_REWINDABLE_STREAM_H #define UTIL_STREAM_REWINDABLE_STREAM_H -#include "util/stream/chain.hh" +#include "chain.hh" #include diff --git a/util/stream/rewindable_stream_test.cc b/util/stream/rewindable_stream_test.cc index f8924c3c7..ece1db554 100644 --- a/util/stream/rewindable_stream_test.cc +++ b/util/stream/rewindable_stream_test.cc @@ -1,7 +1,7 @@ -#include "util/stream/io.hh" +#include "io.hh" -#include "util/stream/rewindable_stream.hh" -#include "util/file.hh" +#include "rewindable_stream.hh" +#include "../file.hh" #define BOOST_TEST_MODULE RewindableStreamTest #include diff --git a/util/stream/sort.hh b/util/stream/sort.hh index 17b3839e2..c029676ba 100644 --- a/util/stream/sort.hh +++ b/util/stream/sort.hh @@ -18,15 +18,15 @@ #ifndef UTIL_STREAM_SORT_H #define UTIL_STREAM_SORT_H -#include "util/stream/chain.hh" -#include "util/stream/config.hh" -#include "util/stream/io.hh" -#include "util/stream/stream.hh" - -#include "util/file.hh" -#include "util/fixed_array.hh" -#include "util/scoped.hh" -#include "util/sized_iterator.hh" +#include "chain.hh" +#include "config.hh" +#include "io.hh" +#include "stream.hh" + +#include "../file.hh" +#include "../fixed_array.hh" +#include "../scoped.hh" +#include "../sized_iterator.hh" #include #include diff --git a/util/stream/sort_test.cc b/util/stream/sort_test.cc index fc97ffdbf..a945cb082 100644 --- a/util/stream/sort_test.cc +++ b/util/stream/sort_test.cc @@ -1,4 +1,4 @@ -#include "util/stream/sort.hh" +#include "sort.hh" #define BOOST_TEST_MODULE SortTest #include diff --git a/util/stream/stream.hh b/util/stream/stream.hh index ee1e9fa83..9f14ef2dc 100644 --- a/util/stream/stream.hh +++ b/util/stream/stream.hh @@ -1,7 +1,7 @@ #ifndef UTIL_STREAM_STREAM_H #define UTIL_STREAM_STREAM_H -#include "util/stream/chain.hh" +#include "chain.hh" #include diff --git a/util/stream/stream_test.cc b/util/stream/stream_test.cc index 6575d50d0..07eb3fe0d 100644 --- a/util/stream/stream_test.cc +++ b/util/stream/stream_test.cc @@ -1,7 +1,7 @@ -#include "util/stream/io.hh" +#include "io.hh" -#include "util/stream/stream.hh" -#include "util/file.hh" +#include "stream.hh" +#include "../file.hh" #define BOOST_TEST_MODULE StreamTest #include diff --git a/util/stream/typed_stream.hh b/util/stream/typed_stream.hh index 2da5b7643..3f59bca00 100644 --- a/util/stream/typed_stream.hh +++ b/util/stream/typed_stream.hh @@ -2,7 +2,7 @@ #define UTIL_STREAM_TYPED_STREAM_H // A typed wrapper to Stream for POD types. -#include "util/stream/stream.hh" +#include "stream.hh" namespace util { namespace stream { diff --git a/util/string_piece.cc b/util/string_piece.cc index 180b4e434..1f5892936 100644 --- a/util/string_piece.cc +++ b/util/string_piece.cc @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in string_piece.hh. -#include "util/string_piece.hh" +#include "string_piece.hh" #include #include diff --git a/util/string_piece.hh b/util/string_piece.hh index 9c4798217..372c2092e 100644 --- a/util/string_piece.hh +++ b/util/string_piece.hh @@ -48,7 +48,7 @@ #ifndef UTIL_STRING_PIECE_H #define UTIL_STRING_PIECE_H -#include "util/have.hh" +#include "have.hh" #include #include diff --git a/util/string_piece_hash.hh b/util/string_piece_hash.hh index 6ff6f88ca..2da545695 100644 --- a/util/string_piece_hash.hh +++ b/util/string_piece_hash.hh @@ -1,8 +1,8 @@ #ifndef UTIL_STRING_PIECE_HASH_H #define UTIL_STRING_PIECE_HASH_H -#include "util/have.hh" -#include "util/string_piece.hh" +#include "have.hh" +#include "string_piece.hh" #include #include diff --git a/util/string_stream.hh b/util/string_stream.hh index 28fdd4219..1bdf7acbe 100644 --- a/util/string_stream.hh +++ b/util/string_stream.hh @@ -1,7 +1,7 @@ #ifndef UTIL_STRING_STREAM_H #define UTIL_STRING_STREAM_H -#include "util/fake_ostream.hh" +#include "fake_ostream.hh" #include #include diff --git a/util/string_stream_test.cc b/util/string_stream_test.cc index ad996550c..8be25d7d1 100644 --- a/util/string_stream_test.cc +++ b/util/string_stream_test.cc @@ -1,7 +1,7 @@ #define BOOST_LEXICAL_CAST_ASSUME_C_LOCALE #define BOOST_TEST_MODULE FakeOStreamTest -#include "util/string_stream.hh" +#include "string_stream.hh" #include #include diff --git a/util/thread_pool.hh b/util/thread_pool.hh index 082fbf875..00731b801 100644 --- a/util/thread_pool.hh +++ b/util/thread_pool.hh @@ -1,7 +1,7 @@ #ifndef UTIL_THREAD_POOL_H #define UTIL_THREAD_POOL_H -#include "util/pcqueue.hh" +#include "pcqueue.hh" #include #include diff --git a/util/tokenize_piece.hh b/util/tokenize_piece.hh index 7064336ef..704d84daa 100644 --- a/util/tokenize_piece.hh +++ b/util/tokenize_piece.hh @@ -1,9 +1,9 @@ #ifndef UTIL_TOKENIZE_PIECE_H #define UTIL_TOKENIZE_PIECE_H -#include "util/exception.hh" -#include "util/spaces.hh" -#include "util/string_piece.hh" +#include "exception.hh" +#include "spaces.hh" +#include "string_piece.hh" #include #include diff --git a/util/tokenize_piece_test.cc b/util/tokenize_piece_test.cc index d856018fb..38aa31cfa 100644 --- a/util/tokenize_piece_test.cc +++ b/util/tokenize_piece_test.cc @@ -1,5 +1,5 @@ -#include "util/tokenize_piece.hh" -#include "util/string_piece.hh" +#include "tokenize_piece.hh" +#include "string_piece.hh" #define BOOST_TEST_MODULE TokenIteratorTest #include diff --git a/util/usage.cc b/util/usage.cc index fdb5cda74..ccc62850d 100644 --- a/util/usage.cc +++ b/util/usage.cc @@ -1,6 +1,6 @@ -#include "util/usage.hh" +#include "usage.hh" -#include "util/exception.hh" +#include "exception.hh" #include #include