Move dictionary code to top level dictionary dir.

Bug: 18725954
Change-Id: Ia442ba4b5d84311057d83edf6e7aeb151d6a820b
main
Keisuke Kuroyanagi 2014-12-17 16:02:09 +09:00
parent 0bb038a19d
commit 88bc312ad3
164 changed files with 546 additions and 546 deletions

View File

@ -20,6 +20,52 @@ LATIN_IME_JNI_SRC_FILES := \
jni_common.cpp jni_common.cpp
LATIN_IME_CORE_SRC_FILES := \ LATIN_IME_CORE_SRC_FILES := \
$(addprefix dictionary/header/, \
header_policy.cpp \
header_read_write_utils.cpp) \
dictionary/property/ngram_context.cpp \
dictionary/structure/dictionary_structure_with_buffer_policy_factory.cpp \
$(addprefix dictionary/structure/pt_common/, \
bigram/bigram_list_read_write_utils.cpp \
dynamic_pt_gc_event_listeners.cpp \
dynamic_pt_reading_helper.cpp \
dynamic_pt_reading_utils.cpp \
dynamic_pt_updating_helper.cpp \
dynamic_pt_writing_utils.cpp \
patricia_trie_reading_utils.cpp \
shortcut/shortcut_list_reading_utils.cpp) \
$(addprefix dictionary/structure/v2/, \
patricia_trie_policy.cpp \
ver2_patricia_trie_node_reader.cpp \
ver2_pt_node_array_reader.cpp) \
$(addprefix dictionary/structure/v4/, \
ver4_dict_buffers.cpp \
ver4_dict_constants.cpp \
ver4_patricia_trie_node_reader.cpp \
ver4_patricia_trie_node_writer.cpp \
ver4_patricia_trie_policy.cpp \
ver4_patricia_trie_reading_utils.cpp \
ver4_patricia_trie_writing_helper.cpp \
ver4_pt_node_array_reader.cpp) \
$(addprefix dictionary/structure/v4/content/, \
dynamic_language_model_probability_utils.cpp \
language_model_dict_content.cpp \
language_model_dict_content_global_counters.cpp \
shortcut_dict_content.cpp \
sparse_table_dict_content.cpp \
terminal_position_lookup_table.cpp) \
$(addprefix dictionary/utils/, \
buffer_with_extendable_buffer.cpp \
byte_array_utils.cpp \
dict_file_writing_utils.cpp \
file_utils.cpp \
forgetting_curve_utils.cpp \
format_utils.cpp \
mmapped_buffer.cpp \
multi_bigram_map.cpp \
probability_utils.cpp \
sparse_table.cpp \
trie_map.cpp ) \
suggest/core/suggest.cpp \ suggest/core/suggest.cpp \
$(addprefix suggest/core/dicnode/, \ $(addprefix suggest/core/dicnode/, \
dic_node.cpp \ dic_node.cpp \
@ -29,8 +75,7 @@ LATIN_IME_CORE_SRC_FILES := \
dictionary.cpp \ dictionary.cpp \
dictionary_utils.cpp \ dictionary_utils.cpp \
digraph_utils.cpp \ digraph_utils.cpp \
error_type_utils.cpp \ error_type_utils.cpp ) \
multi_bigram_map.cpp) \
$(addprefix suggest/core/layout/, \ $(addprefix suggest/core/layout/, \
additional_proximity_chars.cpp \ additional_proximity_chars.cpp \
proximity_info.cpp \ proximity_info.cpp \
@ -39,54 +84,9 @@ LATIN_IME_CORE_SRC_FILES := \
proximity_info_state_utils.cpp) \ proximity_info_state_utils.cpp) \
suggest/core/policy/weighting.cpp \ suggest/core/policy/weighting.cpp \
suggest/core/session/dic_traverse_session.cpp \ suggest/core/session/dic_traverse_session.cpp \
suggest/core/session/ngram_context.cpp \
$(addprefix suggest/core/result/, \ $(addprefix suggest/core/result/, \
suggestion_results.cpp \ suggestion_results.cpp \
suggestions_output_utils.cpp) \ suggestions_output_utils.cpp) \
$(addprefix suggest/policyimpl/dictionary/, \
header/header_policy.cpp \
header/header_read_write_utils.cpp \
structure/dictionary_structure_with_buffer_policy_factory.cpp) \
$(addprefix suggest/policyimpl/dictionary/structure/pt_common/, \
bigram/bigram_list_read_write_utils.cpp \
dynamic_pt_gc_event_listeners.cpp \
dynamic_pt_reading_helper.cpp \
dynamic_pt_reading_utils.cpp \
dynamic_pt_updating_helper.cpp \
dynamic_pt_writing_utils.cpp \
patricia_trie_reading_utils.cpp \
shortcut/shortcut_list_reading_utils.cpp) \
$(addprefix suggest/policyimpl/dictionary/structure/v2/, \
patricia_trie_policy.cpp \
ver2_patricia_trie_node_reader.cpp \
ver2_pt_node_array_reader.cpp) \
$(addprefix suggest/policyimpl/dictionary/structure/v4/, \
ver4_dict_buffers.cpp \
ver4_dict_constants.cpp \
ver4_patricia_trie_node_reader.cpp \
ver4_patricia_trie_node_writer.cpp \
ver4_patricia_trie_policy.cpp \
ver4_patricia_trie_reading_utils.cpp \
ver4_patricia_trie_writing_helper.cpp \
ver4_pt_node_array_reader.cpp) \
$(addprefix suggest/policyimpl/dictionary/structure/v4/content/, \
dynamic_language_model_probability_utils.cpp \
language_model_dict_content.cpp \
language_model_dict_content_global_counters.cpp \
shortcut_dict_content.cpp \
sparse_table_dict_content.cpp \
terminal_position_lookup_table.cpp) \
$(addprefix suggest/policyimpl/dictionary/utils/, \
buffer_with_extendable_buffer.cpp \
byte_array_utils.cpp \
dict_file_writing_utils.cpp \
file_utils.cpp \
forgetting_curve_utils.cpp \
format_utils.cpp \
mmapped_buffer.cpp \
probability_utils.cpp \
sparse_table.cpp \
trie_map.cpp ) \
suggest/policyimpl/gesture/gesture_suggest_policy_factory.cpp \ suggest/policyimpl/gesture/gesture_suggest_policy_factory.cpp \
$(addprefix suggest/policyimpl/typing/, \ $(addprefix suggest/policyimpl/typing/, \
scoring_params.cpp \ scoring_params.cpp \
@ -102,7 +102,7 @@ LATIN_IME_CORE_SRC_FILES := \
time_keeper.cpp) time_keeper.cpp)
LATIN_IME_CORE_SRC_FILES_BACKWARD_V402 := \ LATIN_IME_CORE_SRC_FILES_BACKWARD_V402 := \
$(addprefix suggest/policyimpl/dictionary/structure/backward/v402/, \ $(addprefix dictionary/structure/backward/v402/, \
ver4_dict_buffers.cpp \ ver4_dict_buffers.cpp \
ver4_dict_constants.cpp \ ver4_dict_constants.cpp \
ver4_patricia_trie_node_reader.cpp \ ver4_patricia_trie_node_reader.cpp \
@ -111,34 +111,34 @@ LATIN_IME_CORE_SRC_FILES_BACKWARD_V402 := \
ver4_patricia_trie_reading_utils.cpp \ ver4_patricia_trie_reading_utils.cpp \
ver4_patricia_trie_writing_helper.cpp \ ver4_patricia_trie_writing_helper.cpp \
ver4_pt_node_array_reader.cpp) \ ver4_pt_node_array_reader.cpp) \
$(addprefix suggest/policyimpl/dictionary/structure/backward/v402/content/, \ $(addprefix dictionary/structure/backward/v402/content/, \
bigram_dict_content.cpp \ bigram_dict_content.cpp \
probability_dict_content.cpp \ probability_dict_content.cpp \
shortcut_dict_content.cpp \ shortcut_dict_content.cpp \
sparse_table_dict_content.cpp \ sparse_table_dict_content.cpp \
terminal_position_lookup_table.cpp) \ terminal_position_lookup_table.cpp) \
$(addprefix suggest/policyimpl/dictionary/structure/backward/v402/bigram/, \ $(addprefix dictionary/structure/backward/v402/bigram/, \
ver4_bigram_list_policy.cpp) ver4_bigram_list_policy.cpp)
LATIN_IME_CORE_SRC_FILES += $(LATIN_IME_CORE_SRC_FILES_BACKWARD_V402) LATIN_IME_CORE_SRC_FILES += $(LATIN_IME_CORE_SRC_FILES_BACKWARD_V402)
LATIN_IME_CORE_TEST_FILES := \ LATIN_IME_CORE_TEST_FILES := \
defines_test.cpp \ defines_test.cpp \
dictionary/header/header_read_write_utils_test.cpp \
dictionary/structure/v4/content/language_model_dict_content_test.cpp \
dictionary/structure/v4/content/language_model_dict_content_global_counters_test.cpp \
dictionary/structure/v4/content/probability_entry_test.cpp \
dictionary/structure/v4/content/terminal_position_lookup_table_test.cpp \
dictionary/utils/bloom_filter_test.cpp \
dictionary/utils/buffer_with_extendable_buffer_test.cpp \
dictionary/utils/byte_array_utils_test.cpp \
dictionary/utils/format_utils_test.cpp \
dictionary/utils/probability_utils_test.cpp \
dictionary/utils/sparse_table_test.cpp \
dictionary/utils/trie_map_test.cpp \
suggest/core/dicnode/dic_node_pool_test.cpp \ suggest/core/dicnode/dic_node_pool_test.cpp \
suggest/core/dictionary/bloom_filter_test.cpp \
suggest/core/layout/geometry_utils_test.cpp \ suggest/core/layout/geometry_utils_test.cpp \
suggest/core/layout/normal_distribution_2d_test.cpp \ suggest/core/layout/normal_distribution_2d_test.cpp \
suggest/policyimpl/dictionary/header/header_read_write_utils_test.cpp \
suggest/policyimpl/dictionary/structure/v4/content/language_model_dict_content_test.cpp \
suggest/policyimpl/dictionary/structure/v4/content/language_model_dict_content_global_counters_test.cpp \
suggest/policyimpl/dictionary/structure/v4/content/probability_entry_test.cpp \
suggest/policyimpl/dictionary/structure/v4/content/terminal_position_lookup_table_test.cpp \
suggest/policyimpl/dictionary/utils/buffer_with_extendable_buffer_test.cpp \
suggest/policyimpl/dictionary/utils/byte_array_utils_test.cpp \
suggest/policyimpl/dictionary/utils/format_utils_test.cpp \
suggest/policyimpl/dictionary/utils/probability_utils_test.cpp \
suggest/policyimpl/dictionary/utils/sparse_table_test.cpp \
suggest/policyimpl/dictionary/utils/trie_map_test.cpp \
suggest/policyimpl/utils/damerau_levenshtein_edit_distance_policy_test.cpp \ suggest/policyimpl/utils/damerau_levenshtein_edit_distance_policy_test.cpp \
utils/autocorrection_threshold_utils_test.cpp \ utils/autocorrection_threshold_utils_test.cpp \
utils/char_utils_test.cpp \ utils/char_utils_test.cpp \

View File

@ -22,15 +22,15 @@
#include <vector> #include <vector>
#include "defines.h" #include "defines.h"
#include "dictionary/property/unigram_property.h"
#include "dictionary/property/ngram_context.h"
#include "dictionary/property/word_property.h"
#include "dictionary/structure/dictionary_structure_with_buffer_policy_factory.h"
#include "jni.h" #include "jni.h"
#include "jni_common.h" #include "jni_common.h"
#include "suggest/core/dictionary/dictionary.h" #include "suggest/core/dictionary/dictionary.h"
#include "suggest/core/dictionary/property/unigram_property.h"
#include "suggest/core/dictionary/property/word_property.h"
#include "suggest/core/result/suggestion_results.h" #include "suggest/core/result/suggestion_results.h"
#include "suggest/core/session/ngram_context.h"
#include "suggest/core/suggest_options.h" #include "suggest/core/suggest_options.h"
#include "suggest/policyimpl/dictionary/structure/dictionary_structure_with_buffer_policy_factory.h"
#include "utils/char_utils.h" #include "utils/char_utils.h"
#include "utils/int_array_view.h" #include "utils/int_array_view.h"
#include "utils/jni_data_utils.h" #include "utils/jni_data_utils.h"

View File

@ -19,9 +19,9 @@
#include "com_android_inputmethod_latin_BinaryDictionaryUtils.h" #include "com_android_inputmethod_latin_BinaryDictionaryUtils.h"
#include "defines.h" #include "defines.h"
#include "dictionary/utils/dict_file_writing_utils.h"
#include "jni.h" #include "jni.h"
#include "jni_common.h" #include "jni_common.h"
#include "suggest/policyimpl/dictionary/utils/dict_file_writing_utils.h"
#include "utils/autocorrection_threshold_utils.h" #include "utils/autocorrection_threshold_utils.h"
#include "utils/char_utils.h" #include "utils/char_utils.h"
#include "utils/jni_data_utils.h" #include "utils/jni_data_utils.h"

View File

@ -19,10 +19,10 @@
#include "com_android_inputmethod_latin_DicTraverseSession.h" #include "com_android_inputmethod_latin_DicTraverseSession.h"
#include "defines.h" #include "defines.h"
#include "dictionary/property/ngram_context.h"
#include "jni.h" #include "jni.h"
#include "jni_common.h" #include "jni_common.h"
#include "suggest/core/session/dic_traverse_session.h" #include "suggest/core/session/dic_traverse_session.h"
#include "suggest/core/session/ngram_context.h"
namespace latinime { namespace latinime {
class Dictionary; class Dictionary;

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
#include "suggest/policyimpl/dictionary/header/header_policy.h" #include "dictionary/header/header_policy.h"
#include <algorithm> #include <algorithm>

View File

@ -20,10 +20,10 @@
#include <cstdint> #include <cstdint>
#include "defines.h" #include "defines.h"
#include "suggest/core/policy/dictionary_header_structure_policy.h" #include "dictionary/header/header_read_write_utils.h"
#include "suggest/policyimpl/dictionary/header/header_read_write_utils.h" #include "dictionary/interface/dictionary_header_structure_policy.h"
#include "suggest/policyimpl/dictionary/utils/entry_counters.h" #include "dictionary/utils/entry_counters.h"
#include "suggest/policyimpl/dictionary/utils/format_utils.h" #include "dictionary/utils/format_utils.h"
#include "utils/char_utils.h" #include "utils/char_utils.h"
#include "utils/time_keeper.h" #include "utils/time_keeper.h"

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
#include "suggest/policyimpl/dictionary/header/header_read_write_utils.h" #include "dictionary/header/header_read_write_utils.h"
#include <cctype> #include <cctype>
#include <cstdio> #include <cstdio>
@ -22,8 +22,8 @@
#include <vector> #include <vector>
#include "defines.h" #include "defines.h"
#include "suggest/policyimpl/dictionary/utils/buffer_with_extendable_buffer.h" #include "dictionary/utils/buffer_with_extendable_buffer.h"
#include "suggest/policyimpl/dictionary/utils/byte_array_utils.h" #include "dictionary/utils/byte_array_utils.h"
namespace latinime { namespace latinime {

View File

@ -20,8 +20,8 @@
#include <cstdint> #include <cstdint>
#include "defines.h" #include "defines.h"
#include "suggest/core/policy/dictionary_header_structure_policy.h" #include "dictionary/interface/dictionary_header_structure_policy.h"
#include "suggest/policyimpl/dictionary/utils/format_utils.h" #include "dictionary/utils/format_utils.h"
namespace latinime { namespace latinime {

View File

@ -20,10 +20,10 @@
#include <memory> #include <memory>
#include "defines.h" #include "defines.h"
#include "suggest/core/dictionary/binary_dictionary_shortcut_iterator.h" #include "dictionary/property/historical_info.h"
#include "suggest/core/dictionary/property/historical_info.h" #include "dictionary/property/word_attributes.h"
#include "suggest/core/dictionary/property/word_property.h" #include "dictionary/property/word_property.h"
#include "suggest/core/dictionary/word_attributes.h" #include "dictionary/utils/binary_dictionary_shortcut_iterator.h"
#include "utils/int_array_view.h" #include "utils/int_array_view.h"
namespace latinime { namespace latinime {

View File

@ -14,9 +14,9 @@
* limitations under the License. * limitations under the License.
*/ */
#include "suggest/core/session/ngram_context.h" #include "dictionary/property/ngram_context.h"
#include "suggest/core/policy/dictionary_structure_with_buffer_policy.h" #include "dictionary/interface/dictionary_structure_with_buffer_policy.h"
#include "utils/char_utils.h" #include "utils/char_utils.h"
namespace latinime { namespace latinime {

View File

@ -20,8 +20,8 @@
#include <vector> #include <vector>
#include "defines.h" #include "defines.h"
#include "suggest/core/dictionary/property/historical_info.h" #include "dictionary/property/historical_info.h"
#include "suggest/core/session/ngram_context.h" #include "dictionary/property/ngram_context.h"
namespace latinime { namespace latinime {

View File

@ -20,7 +20,7 @@
#include <vector> #include <vector>
#include "defines.h" #include "defines.h"
#include "suggest/core/dictionary/property/historical_info.h" #include "dictionary/property/historical_info.h"
namespace latinime { namespace latinime {

View File

@ -20,8 +20,8 @@
#include <vector> #include <vector>
#include "defines.h" #include "defines.h"
#include "suggest/core/dictionary/property/ngram_property.h" #include "dictionary/property/ngram_property.h"
#include "suggest/core/dictionary/property/unigram_property.h" #include "dictionary/property/unigram_property.h"
#include "utils/int_array_view.h" #include "utils/int_array_view.h"
namespace latinime { namespace latinime {

View File

@ -19,18 +19,18 @@
* Do not edit this file other than updating policy's interface. * Do not edit this file other than updating policy's interface.
* *
* This file was generated from * This file was generated from
* suggest/policyimpl/dictionary/structure/v4/bigram/ver4_bigram_list_policy.cpp * dictionary/structure/v4/bigram/ver4_bigram_list_policy.cpp
*/ */
#include "suggest/policyimpl/dictionary/structure/backward/v402/bigram/ver4_bigram_list_policy.h" #include "dictionary/structure/backward/v402/bigram/ver4_bigram_list_policy.h"
#include "suggest/core/dictionary/property/ngram_property.h" #include "dictionary/header/header_policy.h"
#include "suggest/policyimpl/dictionary/header/header_policy.h" #include "dictionary/property/ngram_property.h"
#include "suggest/policyimpl/dictionary/structure/pt_common/bigram/bigram_list_read_write_utils.h" #include "dictionary/structure/pt_common/bigram/bigram_list_read_write_utils.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/content/bigram_dict_content.h" #include "dictionary/structure/backward/v402/content/bigram_dict_content.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/content/terminal_position_lookup_table.h" #include "dictionary/structure/backward/v402/content/terminal_position_lookup_table.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/ver4_dict_constants.h" #include "dictionary/structure/backward/v402/ver4_dict_constants.h"
#include "suggest/policyimpl/dictionary/utils/forgetting_curve_utils.h" #include "dictionary/utils/forgetting_curve_utils.h"
namespace latinime { namespace latinime {
namespace backward { namespace backward {

View File

@ -26,8 +26,8 @@
#define LATINIME_BACKWARD_V402_VER4_BIGRAM_LIST_POLICY_H #define LATINIME_BACKWARD_V402_VER4_BIGRAM_LIST_POLICY_H
#include "defines.h" #include "defines.h"
#include "suggest/core/policy/dictionary_bigrams_structure_policy.h" #include "dictionary/interface/dictionary_bigrams_structure_policy.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/content/bigram_entry.h" #include "dictionary/structure/backward/v402/content/bigram_entry.h"
namespace latinime { namespace latinime {
namespace backward { namespace backward {

View File

@ -18,12 +18,12 @@
* !!!!! DO NOT EDIT THIS FILE !!!!! * !!!!! DO NOT EDIT THIS FILE !!!!!
* *
* This file was generated from * This file was generated from
* suggest/policyimpl/dictionary/structure/v4/content/bigram_dict_content.cpp * dictionary/structure/v4/content/bigram_dict_content.cpp
*/ */
#include "suggest/policyimpl/dictionary/structure/backward/v402/content/bigram_dict_content.h" #include "dictionary/structure/backward/v402/content/bigram_dict_content.h"
#include "suggest/policyimpl/dictionary/utils/buffer_with_extendable_buffer.h" #include "dictionary/utils/buffer_with_extendable_buffer.h"
namespace latinime { namespace latinime {
namespace backward { namespace backward {

View File

@ -18,17 +18,17 @@
* !!!!! DO NOT EDIT THIS FILE !!!!! * !!!!! DO NOT EDIT THIS FILE !!!!!
* *
* This file was generated from * This file was generated from
* suggest/policyimpl/dictionary/structure/v4/content/bigram_dict_content.h * dictionary/structure/v4/content/bigram_dict_content.h
*/ */
#ifndef LATINIME_BACKWARD_V402_BIGRAM_DICT_CONTENT_H #ifndef LATINIME_BACKWARD_V402_BIGRAM_DICT_CONTENT_H
#define LATINIME_BACKWARD_V402_BIGRAM_DICT_CONTENT_H #define LATINIME_BACKWARD_V402_BIGRAM_DICT_CONTENT_H
#include "defines.h" #include "defines.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/content/bigram_entry.h" #include "dictionary/structure/backward/v402/content/bigram_entry.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/content/sparse_table_dict_content.h" #include "dictionary/structure/backward/v402/content/sparse_table_dict_content.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/content/terminal_position_lookup_table.h" #include "dictionary/structure/backward/v402/content/terminal_position_lookup_table.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/ver4_dict_constants.h" #include "dictionary/structure/backward/v402/ver4_dict_constants.h"
namespace latinime { namespace latinime {
namespace backward { namespace backward {

View File

@ -18,15 +18,15 @@
* !!!!! DO NOT EDIT THIS FILE !!!!! * !!!!! DO NOT EDIT THIS FILE !!!!!
* *
* This file was generated from * This file was generated from
* suggest/policyimpl/dictionary/structure/v4/content/bigram_entry.h * dictionary/structure/v4/content/bigram_entry.h
*/ */
#ifndef LATINIME_BACKWARD_V402_BIGRAM_ENTRY_H #ifndef LATINIME_BACKWARD_V402_BIGRAM_ENTRY_H
#define LATINIME_BACKWARD_V402_BIGRAM_ENTRY_H #define LATINIME_BACKWARD_V402_BIGRAM_ENTRY_H
#include "defines.h" #include "defines.h"
#include "suggest/core/dictionary/property/historical_info.h" #include "dictionary/property/historical_info.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/ver4_dict_constants.h" #include "dictionary/structure/backward/v402/ver4_dict_constants.h"
namespace latinime { namespace latinime {
namespace backward { namespace backward {

View File

@ -18,7 +18,7 @@
* !!!!! DO NOT EDIT THIS FILE !!!!! * !!!!! DO NOT EDIT THIS FILE !!!!!
* *
* This file was generated from * This file was generated from
* suggest/policyimpl/dictionary/structure/v4/content/dict_content.h * dictionary/structure/v4/content/dict_content.h
*/ */
#ifndef LATINIME_BACKWARD_V402_DICT_CONTENT_H #ifndef LATINIME_BACKWARD_V402_DICT_CONTENT_H

View File

@ -18,15 +18,15 @@
* !!!!! DO NOT EDIT THIS FILE !!!!! * !!!!! DO NOT EDIT THIS FILE !!!!!
* *
* This file was generated from * This file was generated from
* suggest/policyimpl/dictionary/structure/v4/content/probability_dict_content.cpp * dictionary/structure/v4/content/probability_dict_content.cpp
*/ */
#include "suggest/policyimpl/dictionary/structure/backward/v402/content/probability_dict_content.h" #include "dictionary/structure/backward/v402/content/probability_dict_content.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/content/probability_entry.h" #include "dictionary/structure/backward/v402/content/probability_entry.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/content/terminal_position_lookup_table.h" #include "dictionary/structure/backward/v402/content/terminal_position_lookup_table.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/ver4_dict_constants.h" #include "dictionary/structure/backward/v402/ver4_dict_constants.h"
#include "suggest/policyimpl/dictionary/utils/buffer_with_extendable_buffer.h" #include "dictionary/utils/buffer_with_extendable_buffer.h"
namespace latinime { namespace latinime {
namespace backward { namespace backward {

View File

@ -18,17 +18,17 @@
* !!!!! DO NOT EDIT THIS FILE !!!!! * !!!!! DO NOT EDIT THIS FILE !!!!!
* *
* This file was generated from * This file was generated from
* suggest/policyimpl/dictionary/structure/v4/content/probability_dict_content.h * dictionary/structure/v4/content/probability_dict_content.h
*/ */
#ifndef LATINIME_BACKWARD_V402_PROBABILITY_DICT_CONTENT_H #ifndef LATINIME_BACKWARD_V402_PROBABILITY_DICT_CONTENT_H
#define LATINIME_BACKWARD_V402_PROBABILITY_DICT_CONTENT_H #define LATINIME_BACKWARD_V402_PROBABILITY_DICT_CONTENT_H
#include "defines.h" #include "defines.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/content/single_dict_content.h" #include "dictionary/structure/backward/v402/content/single_dict_content.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/content/terminal_position_lookup_table.h" #include "dictionary/structure/backward/v402/content/terminal_position_lookup_table.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/ver4_dict_constants.h" #include "dictionary/structure/backward/v402/ver4_dict_constants.h"
#include "suggest/policyimpl/dictionary/utils/buffer_with_extendable_buffer.h" #include "dictionary/utils/buffer_with_extendable_buffer.h"
namespace latinime { namespace latinime {
namespace backward { namespace backward {

View File

@ -18,15 +18,15 @@
* !!!!! DO NOT EDIT THIS FILE !!!!! * !!!!! DO NOT EDIT THIS FILE !!!!!
* *
* This file was generated from * This file was generated from
* suggest/policyimpl/dictionary/structure/v4/content/probability_entry.h * dictionary/structure/v4/content/probability_entry.h
*/ */
#ifndef LATINIME_BACKWARD_V402_PROBABILITY_ENTRY_H #ifndef LATINIME_BACKWARD_V402_PROBABILITY_ENTRY_H
#define LATINIME_BACKWARD_V402_PROBABILITY_ENTRY_H #define LATINIME_BACKWARD_V402_PROBABILITY_ENTRY_H
#include "defines.h" #include "defines.h"
#include "suggest/core/dictionary/property/historical_info.h" #include "dictionary/property/historical_info.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/ver4_dict_constants.h" #include "dictionary/structure/backward/v402/ver4_dict_constants.h"
namespace latinime { namespace latinime {
namespace backward { namespace backward {

View File

@ -18,12 +18,12 @@
* !!!!! DO NOT EDIT THIS FILE !!!!! * !!!!! DO NOT EDIT THIS FILE !!!!!
* *
* This file was generated from * This file was generated from
* suggest/policyimpl/dictionary/structure/v4/content/shortcut_dict_content.cpp * dictionary/structure/v4/content/shortcut_dict_content.cpp
*/ */
#include "suggest/policyimpl/dictionary/structure/backward/v402/content/shortcut_dict_content.h" #include "dictionary/structure/backward/v402/content/shortcut_dict_content.h"
#include "suggest/policyimpl/dictionary/utils/buffer_with_extendable_buffer.h" #include "dictionary/utils/buffer_with_extendable_buffer.h"
namespace latinime { namespace latinime {
namespace backward { namespace backward {

View File

@ -18,16 +18,16 @@
* !!!!! DO NOT EDIT THIS FILE !!!!! * !!!!! DO NOT EDIT THIS FILE !!!!!
* *
* This file was generated from * This file was generated from
* suggest/policyimpl/dictionary/structure/v4/content/shortcut_dict_content.h * dictionary/structure/v4/content/shortcut_dict_content.h
*/ */
#ifndef LATINIME_BACKWARD_V402_SHORTCUT_DICT_CONTENT_H #ifndef LATINIME_BACKWARD_V402_SHORTCUT_DICT_CONTENT_H
#define LATINIME_BACKWARD_V402_SHORTCUT_DICT_CONTENT_H #define LATINIME_BACKWARD_V402_SHORTCUT_DICT_CONTENT_H
#include "defines.h" #include "defines.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/content/sparse_table_dict_content.h" #include "dictionary/structure/backward/v402/content/sparse_table_dict_content.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/content/terminal_position_lookup_table.h" #include "dictionary/structure/backward/v402/content/terminal_position_lookup_table.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/ver4_dict_constants.h" #include "dictionary/structure/backward/v402/ver4_dict_constants.h"
namespace latinime { namespace latinime {
namespace backward { namespace backward {

View File

@ -18,18 +18,18 @@
* !!!!! DO NOT EDIT THIS FILE !!!!! * !!!!! DO NOT EDIT THIS FILE !!!!!
* *
* This file was generated from * This file was generated from
* suggest/policyimpl/dictionary/structure/v4/content/single_dict_content.h * dictionary/structure/v4/content/single_dict_content.h
*/ */
#ifndef LATINIME_BACKWARD_V402_SINGLE_DICT_CONTENT_H #ifndef LATINIME_BACKWARD_V402_SINGLE_DICT_CONTENT_H
#define LATINIME_BACKWARD_V402_SINGLE_DICT_CONTENT_H #define LATINIME_BACKWARD_V402_SINGLE_DICT_CONTENT_H
#include "defines.h" #include "defines.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/content/dict_content.h" #include "dictionary/structure/backward/v402/content/dict_content.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/ver4_dict_constants.h" #include "dictionary/structure/backward/v402/ver4_dict_constants.h"
#include "suggest/policyimpl/dictionary/utils/buffer_with_extendable_buffer.h" #include "dictionary/utils/buffer_with_extendable_buffer.h"
#include "suggest/policyimpl/dictionary/utils/dict_file_writing_utils.h" #include "dictionary/utils/dict_file_writing_utils.h"
#include "suggest/policyimpl/dictionary/utils/mmapped_buffer.h" #include "dictionary/utils/mmapped_buffer.h"
#include "utils/byte_array_view.h" #include "utils/byte_array_view.h"
namespace latinime { namespace latinime {

View File

@ -18,10 +18,10 @@
* !!!!! DO NOT EDIT THIS FILE !!!!! * !!!!! DO NOT EDIT THIS FILE !!!!!
* *
* This file was generated from * This file was generated from
* suggest/policyimpl/dictionary/structure/v4/content/sparse_table_dict_content.cpp * dictionary/structure/v4/content/sparse_table_dict_content.cpp
*/ */
#include "suggest/policyimpl/dictionary/structure/backward/v402/content/sparse_table_dict_content.h" #include "dictionary/structure/backward/v402/content/sparse_table_dict_content.h"
namespace latinime { namespace latinime {
namespace backward { namespace backward {

View File

@ -18,19 +18,19 @@
* !!!!! DO NOT EDIT THIS FILE !!!!! * !!!!! DO NOT EDIT THIS FILE !!!!!
* *
* This file was generated from * This file was generated from
* suggest/policyimpl/dictionary/structure/v4/content/sparse_table_dict_content.h * dictionary/structure/v4/content/sparse_table_dict_content.h
*/ */
#ifndef LATINIME_BACKWARD_V402_SPARSE_TABLE_DICT_CONTENT_H #ifndef LATINIME_BACKWARD_V402_SPARSE_TABLE_DICT_CONTENT_H
#define LATINIME_BACKWARD_V402_SPARSE_TABLE_DICT_CONTENT_H #define LATINIME_BACKWARD_V402_SPARSE_TABLE_DICT_CONTENT_H
#include "defines.h" #include "defines.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/content/dict_content.h" #include "dictionary/structure/backward/v402/content/dict_content.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/ver4_dict_constants.h" #include "dictionary/structure/backward/v402/ver4_dict_constants.h"
#include "suggest/policyimpl/dictionary/utils/buffer_with_extendable_buffer.h" #include "dictionary/utils/buffer_with_extendable_buffer.h"
#include "suggest/policyimpl/dictionary/utils/dict_file_writing_utils.h" #include "dictionary/utils/dict_file_writing_utils.h"
#include "suggest/policyimpl/dictionary/utils/mmapped_buffer.h" #include "dictionary/utils/mmapped_buffer.h"
#include "suggest/policyimpl/dictionary/utils/sparse_table.h" #include "dictionary/utils/sparse_table.h"
#include "utils/byte_array_view.h" #include "utils/byte_array_view.h"
namespace latinime { namespace latinime {

View File

@ -18,13 +18,13 @@
* !!!!! DO NOT EDIT THIS FILE !!!!! * !!!!! DO NOT EDIT THIS FILE !!!!!
* *
* This file was generated from * This file was generated from
* suggest/policyimpl/dictionary/structure/v4/content/terminal_position_lookup_table.cpp * dictionary/structure/v4/content/terminal_position_lookup_table.cpp
*/ */
#include "suggest/policyimpl/dictionary/structure/backward/v402/content/terminal_position_lookup_table.h" #include "dictionary/structure/backward/v402/content/terminal_position_lookup_table.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/ver4_patricia_trie_reading_utils.h" #include "dictionary/structure/backward/v402/ver4_patricia_trie_reading_utils.h"
#include "suggest/policyimpl/dictionary/utils/buffer_with_extendable_buffer.h" #include "dictionary/utils/buffer_with_extendable_buffer.h"
namespace latinime { namespace latinime {
namespace backward { namespace backward {

View File

@ -18,7 +18,7 @@
* !!!!! DO NOT EDIT THIS FILE !!!!! * !!!!! DO NOT EDIT THIS FILE !!!!!
* *
* This file was generated from * This file was generated from
* suggest/policyimpl/dictionary/structure/v4/content/terminal_position_lookup_table.h * dictionary/structure/v4/content/terminal_position_lookup_table.h
*/ */
#ifndef LATINIME_BACKWARD_V402_TERMINAL_POSITION_LOOKUP_TABLE_H #ifndef LATINIME_BACKWARD_V402_TERMINAL_POSITION_LOOKUP_TABLE_H
@ -27,8 +27,8 @@
#include <unordered_map> #include <unordered_map>
#include "defines.h" #include "defines.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/content/single_dict_content.h" #include "dictionary/structure/backward/v402/content/single_dict_content.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/ver4_dict_constants.h" #include "dictionary/structure/backward/v402/ver4_dict_constants.h"
namespace latinime { namespace latinime {
namespace backward { namespace backward {

View File

@ -19,17 +19,17 @@
* Do not edit this file other than updating policy's interface. * Do not edit this file other than updating policy's interface.
* *
* This file was generated from * This file was generated from
* suggest/policyimpl/dictionary/structure/v4/shortcut/ver4_shortcut_list_policy.h * dictionary/structure/v4/shortcut/ver4_shortcut_list_policy.h
*/ */
#ifndef LATINIME_BACKWARD_V402_VER4_SHORTCUT_LIST_POLICY_H #ifndef LATINIME_BACKWARD_V402_VER4_SHORTCUT_LIST_POLICY_H
#define LATINIME_BACKWARD_V402_VER4_SHORTCUT_LIST_POLICY_H #define LATINIME_BACKWARD_V402_VER4_SHORTCUT_LIST_POLICY_H
#include "defines.h" #include "defines.h"
#include "suggest/core/policy/dictionary_shortcuts_structure_policy.h" #include "dictionary/interface/dictionary_shortcuts_structure_policy.h"
#include "suggest/policyimpl/dictionary/structure/pt_common/shortcut/shortcut_list_reading_utils.h" #include "dictionary/structure/pt_common/shortcut/shortcut_list_reading_utils.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/content/shortcut_dict_content.h" #include "dictionary/structure/backward/v402/content/shortcut_dict_content.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/content/terminal_position_lookup_table.h" #include "dictionary/structure/backward/v402/content/terminal_position_lookup_table.h"
namespace latinime { namespace latinime {
namespace backward { namespace backward {

View File

@ -18,18 +18,18 @@
* !!!!! DO NOT EDIT THIS FILE !!!!! * !!!!! DO NOT EDIT THIS FILE !!!!!
* *
* This file was generated from * This file was generated from
* suggest/policyimpl/dictionary/structure/v4/ver4_dict_buffers.cpp * dictionary/structure/v4/ver4_dict_buffers.cpp
*/ */
#include "suggest/policyimpl/dictionary/structure/backward/v402/ver4_dict_buffers.h" #include "dictionary/structure/backward/v402/ver4_dict_buffers.h"
#include <cerrno> #include <cerrno>
#include <cstring> #include <cstring>
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/types.h> #include <sys/types.h>
#include "suggest/policyimpl/dictionary/utils/dict_file_writing_utils.h" #include "dictionary/utils/dict_file_writing_utils.h"
#include "suggest/policyimpl/dictionary/utils/file_utils.h" #include "dictionary/utils/file_utils.h"
#include "utils/byte_array_view.h" #include "utils/byte_array_view.h"
namespace latinime { namespace latinime {

View File

@ -18,7 +18,7 @@
* !!!!! DO NOT EDIT THIS FILE !!!!! * !!!!! DO NOT EDIT THIS FILE !!!!!
* *
* This file was generated from * This file was generated from
* suggest/policyimpl/dictionary/structure/v4/ver4_dict_buffers.h * dictionary/structure/v4/ver4_dict_buffers.h
*/ */
#ifndef LATINIME_BACKWARD_V402_VER4_DICT_BUFFER_H #ifndef LATINIME_BACKWARD_V402_VER4_DICT_BUFFER_H
@ -27,14 +27,14 @@
#include <memory> #include <memory>
#include "defines.h" #include "defines.h"
#include "suggest/policyimpl/dictionary/header/header_policy.h" #include "dictionary/header/header_policy.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/content/bigram_dict_content.h" #include "dictionary/structure/backward/v402/content/bigram_dict_content.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/content/probability_dict_content.h" #include "dictionary/structure/backward/v402/content/probability_dict_content.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/content/shortcut_dict_content.h" #include "dictionary/structure/backward/v402/content/shortcut_dict_content.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/content/terminal_position_lookup_table.h" #include "dictionary/structure/backward/v402/content/terminal_position_lookup_table.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/ver4_dict_constants.h" #include "dictionary/structure/backward/v402/ver4_dict_constants.h"
#include "suggest/policyimpl/dictionary/utils/buffer_with_extendable_buffer.h" #include "dictionary/utils/buffer_with_extendable_buffer.h"
#include "suggest/policyimpl/dictionary/utils/mmapped_buffer.h" #include "dictionary/utils/mmapped_buffer.h"
namespace latinime { namespace latinime {
namespace backward { namespace backward {

View File

@ -18,10 +18,10 @@
* !!!!! DO NOT EDIT THIS FILE !!!!! * !!!!! DO NOT EDIT THIS FILE !!!!!
* *
* This file was generated from * This file was generated from
* suggest/policyimpl/dictionary/structure/v4/ver4_dict_constants.cpp * dictionary/structure/v4/ver4_dict_constants.cpp
*/ */
#include "suggest/policyimpl/dictionary/structure/backward/v402/ver4_dict_constants.h" #include "dictionary/structure/backward/v402/ver4_dict_constants.h"
namespace latinime { namespace latinime {
namespace backward { namespace backward {

View File

@ -18,7 +18,7 @@
* !!!!! DO NOT EDIT THIS FILE !!!!! * !!!!! DO NOT EDIT THIS FILE !!!!!
* *
* This file was generated from * This file was generated from
* suggest/policyimpl/dictionary/structure/v4/ver4_dict_constants.h * dictionary/structure/v4/ver4_dict_constants.h
*/ */
#ifndef LATINIME_BACKWARD_V402_VER4_DICT_CONSTANTS_H #ifndef LATINIME_BACKWARD_V402_VER4_DICT_CONSTANTS_H

View File

@ -18,19 +18,19 @@
* !!!!! DO NOT EDIT THIS FILE !!!!! * !!!!! DO NOT EDIT THIS FILE !!!!!
* *
* This file was generated from * This file was generated from
* suggest/policyimpl/dictionary/structure/v4/ver4_patricia_trie_node_reader.cpp * dictionary/structure/v4/ver4_patricia_trie_node_reader.cpp
*/ */
#include "suggest/policyimpl/dictionary/structure/backward/v402/ver4_patricia_trie_node_reader.h" #include "dictionary/structure/backward/v402/ver4_patricia_trie_node_reader.h"
#include "suggest/policyimpl/dictionary/header/header_policy.h" #include "dictionary/header/header_policy.h"
#include "suggest/policyimpl/dictionary/structure/pt_common/dynamic_pt_reading_utils.h" #include "dictionary/structure/pt_common/dynamic_pt_reading_utils.h"
#include "suggest/policyimpl/dictionary/structure/pt_common/patricia_trie_reading_utils.h" #include "dictionary/structure/pt_common/patricia_trie_reading_utils.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/content/probability_dict_content.h" #include "dictionary/structure/backward/v402/content/probability_dict_content.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/content/probability_entry.h" #include "dictionary/structure/backward/v402/content/probability_entry.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/ver4_patricia_trie_reading_utils.h" #include "dictionary/structure/backward/v402/ver4_patricia_trie_reading_utils.h"
#include "suggest/policyimpl/dictionary/utils/buffer_with_extendable_buffer.h" #include "dictionary/utils/buffer_with_extendable_buffer.h"
#include "suggest/policyimpl/dictionary/utils/forgetting_curve_utils.h" #include "dictionary/utils/forgetting_curve_utils.h"
namespace latinime { namespace latinime {
namespace backward { namespace backward {

View File

@ -18,15 +18,15 @@
* !!!!! DO NOT EDIT THIS FILE !!!!! * !!!!! DO NOT EDIT THIS FILE !!!!!
* *
* This file was generated from * This file was generated from
* suggest/policyimpl/dictionary/structure/v4/ver4_patricia_trie_node_reader.h * dictionary/structure/v4/ver4_patricia_trie_node_reader.h
*/ */
#ifndef LATINIME_BACKWARD_V402_VER4_PATRICIA_TRIE_NODE_READER_H #ifndef LATINIME_BACKWARD_V402_VER4_PATRICIA_TRIE_NODE_READER_H
#define LATINIME_BACKWARD_V402_VER4_PATRICIA_TRIE_NODE_READER_H #define LATINIME_BACKWARD_V402_VER4_PATRICIA_TRIE_NODE_READER_H
#include "defines.h" #include "defines.h"
#include "suggest/policyimpl/dictionary/structure/pt_common/pt_node_params.h" #include "dictionary/structure/pt_common/pt_node_params.h"
#include "suggest/policyimpl/dictionary/structure/pt_common/pt_node_reader.h" #include "dictionary/structure/pt_common/pt_node_reader.h"
namespace latinime { namespace latinime {
namespace backward { namespace backward {

View File

@ -18,23 +18,23 @@
* !!!!! DO NOT EDIT THIS FILE !!!!! * !!!!! DO NOT EDIT THIS FILE !!!!!
* *
* This file was generated from * This file was generated from
* suggest/policyimpl/dictionary/structure/v4/ver4_patricia_trie_node_writer.cpp * dictionary/structure/v4/ver4_patricia_trie_node_writer.cpp
*/ */
#include "suggest/policyimpl/dictionary/structure/backward/v402/ver4_patricia_trie_node_writer.h" #include "dictionary/structure/backward/v402/ver4_patricia_trie_node_writer.h"
#include "suggest/core/dictionary/property/unigram_property.h" #include "dictionary/header/header_policy.h"
#include "suggest/policyimpl/dictionary/header/header_policy.h" #include "dictionary/property/unigram_property.h"
#include "suggest/policyimpl/dictionary/structure/pt_common/dynamic_pt_reading_utils.h" #include "dictionary/structure/pt_common/dynamic_pt_reading_utils.h"
#include "suggest/policyimpl/dictionary/structure/pt_common/dynamic_pt_writing_utils.h" #include "dictionary/structure/pt_common/dynamic_pt_writing_utils.h"
#include "suggest/policyimpl/dictionary/structure/pt_common/patricia_trie_reading_utils.h" #include "dictionary/structure/pt_common/patricia_trie_reading_utils.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/bigram/ver4_bigram_list_policy.h" #include "dictionary/structure/backward/v402/bigram/ver4_bigram_list_policy.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/content/probability_entry.h" #include "dictionary/structure/backward/v402/content/probability_entry.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/shortcut/ver4_shortcut_list_policy.h" #include "dictionary/structure/backward/v402/shortcut/ver4_shortcut_list_policy.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/ver4_patricia_trie_node_reader.h" #include "dictionary/structure/backward/v402/ver4_patricia_trie_node_reader.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/ver4_dict_buffers.h" #include "dictionary/structure/backward/v402/ver4_dict_buffers.h"
#include "suggest/policyimpl/dictionary/utils/buffer_with_extendable_buffer.h" #include "dictionary/utils/buffer_with_extendable_buffer.h"
#include "suggest/policyimpl/dictionary/utils/forgetting_curve_utils.h" #include "dictionary/utils/forgetting_curve_utils.h"
namespace latinime { namespace latinime {
namespace backward { namespace backward {

View File

@ -18,17 +18,17 @@
* !!!!! DO NOT EDIT THIS FILE !!!!! * !!!!! DO NOT EDIT THIS FILE !!!!!
* *
* This file was generated from * This file was generated from
* suggest/policyimpl/dictionary/structure/v4/ver4_patricia_trie_node_writer.h * dictionary/structure/v4/ver4_patricia_trie_node_writer.h
*/ */
#ifndef LATINIME_BACKWARD_V402_VER4_PATRICIA_TRIE_NODE_WRITER_H #ifndef LATINIME_BACKWARD_V402_VER4_PATRICIA_TRIE_NODE_WRITER_H
#define LATINIME_BACKWARD_V402_VER4_PATRICIA_TRIE_NODE_WRITER_H #define LATINIME_BACKWARD_V402_VER4_PATRICIA_TRIE_NODE_WRITER_H
#include "defines.h" #include "defines.h"
#include "suggest/policyimpl/dictionary/structure/pt_common/dynamic_pt_reading_helper.h" #include "dictionary/structure/pt_common/dynamic_pt_reading_helper.h"
#include "suggest/policyimpl/dictionary/structure/pt_common/pt_node_params.h" #include "dictionary/structure/pt_common/pt_node_params.h"
#include "suggest/policyimpl/dictionary/structure/pt_common/pt_node_writer.h" #include "dictionary/structure/pt_common/pt_node_writer.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/content/probability_entry.h" #include "dictionary/structure/backward/v402/content/probability_entry.h"
#include "utils/int_array_view.h" #include "utils/int_array_view.h"
namespace latinime { namespace latinime {

View File

@ -19,25 +19,25 @@
* Do not edit this file other than updating policy's interface. * Do not edit this file other than updating policy's interface.
* *
* This file was generated from * This file was generated from
* suggest/policyimpl/dictionary/structure/v4/ver4_patricia_trie_policy.cpp * dictionary/structure/v4/ver4_patricia_trie_policy.cpp
*/ */
#include "suggest/policyimpl/dictionary/structure/backward/v402/ver4_patricia_trie_policy.h" #include "dictionary/structure/backward/v402/ver4_patricia_trie_policy.h"
#include <vector> #include <vector>
#include "suggest/core/dicnode/dic_node.h" #include "suggest/core/dicnode/dic_node.h"
#include "suggest/core/dicnode/dic_node_vector.h" #include "suggest/core/dicnode/dic_node_vector.h"
#include "suggest/core/dictionary/multi_bigram_map.h" #include "dictionary/interface/ngram_listener.h"
#include "suggest/core/dictionary/ngram_listener.h" #include "dictionary/property/ngram_context.h"
#include "suggest/core/dictionary/property/ngram_property.h" #include "dictionary/property/ngram_property.h"
#include "suggest/core/dictionary/property/unigram_property.h" #include "dictionary/property/unigram_property.h"
#include "suggest/core/dictionary/property/word_property.h" #include "dictionary/property/word_property.h"
#include "suggest/core/session/ngram_context.h" #include "dictionary/structure/pt_common/dynamic_pt_reading_helper.h"
#include "suggest/policyimpl/dictionary/structure/pt_common/dynamic_pt_reading_helper.h" #include "dictionary/structure/backward/v402/ver4_patricia_trie_node_reader.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/ver4_patricia_trie_node_reader.h" #include "dictionary/utils/forgetting_curve_utils.h"
#include "suggest/policyimpl/dictionary/utils/forgetting_curve_utils.h" #include "dictionary/utils/multi_bigram_map.h"
#include "suggest/policyimpl/dictionary/utils/probability_utils.h" #include "dictionary/utils/probability_utils.h"
namespace latinime { namespace latinime {
namespace backward { namespace backward {

View File

@ -19,7 +19,7 @@
* Do not edit this file other than updating policy's interface. * Do not edit this file other than updating policy's interface.
* *
* This file was generated from * This file was generated from
* suggest/policyimpl/dictionary/structure/v4/ver4_patricia_trie_policy.h * dictionary/structure/v4/ver4_patricia_trie_policy.h
*/ */
#ifndef LATINIME_BACKWARD_V402_VER4_PATRICIA_TRIE_POLICY_H #ifndef LATINIME_BACKWARD_V402_VER4_PATRICIA_TRIE_POLICY_H
@ -28,20 +28,20 @@
#include <vector> #include <vector>
#include "defines.h" #include "defines.h"
#include "suggest/core/dictionary/binary_dictionary_bigrams_iterator.h" #include "dictionary/header/header_policy.h"
#include "suggest/core/dictionary/binary_dictionary_shortcut_iterator.h" #include "dictionary/interface/dictionary_structure_with_buffer_policy.h"
#include "suggest/core/policy/dictionary_structure_with_buffer_policy.h" #include "dictionary/structure/pt_common/dynamic_pt_updating_helper.h"
#include "suggest/policyimpl/dictionary/header/header_policy.h" #include "dictionary/structure/backward/v402/bigram/ver4_bigram_list_policy.h"
#include "suggest/policyimpl/dictionary/structure/pt_common/dynamic_pt_updating_helper.h" #include "dictionary/structure/backward/v402/shortcut/ver4_shortcut_list_policy.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/bigram/ver4_bigram_list_policy.h" #include "dictionary/structure/backward/v402/ver4_dict_buffers.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/shortcut/ver4_shortcut_list_policy.h" #include "dictionary/structure/backward/v402/ver4_patricia_trie_node_reader.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/ver4_dict_buffers.h" #include "dictionary/structure/backward/v402/ver4_patricia_trie_node_writer.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/ver4_patricia_trie_node_reader.h" #include "dictionary/structure/backward/v402/ver4_patricia_trie_writing_helper.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/ver4_patricia_trie_node_writer.h" #include "dictionary/structure/backward/v402/ver4_pt_node_array_reader.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/ver4_patricia_trie_writing_helper.h" #include "dictionary/utils/binary_dictionary_bigrams_iterator.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/ver4_pt_node_array_reader.h" #include "dictionary/utils/binary_dictionary_shortcut_iterator.h"
#include "suggest/policyimpl/dictionary/utils/buffer_with_extendable_buffer.h" #include "dictionary/utils/buffer_with_extendable_buffer.h"
#include "suggest/policyimpl/dictionary/utils/entry_counters.h" #include "dictionary/utils/entry_counters.h"
#include "utils/int_array_view.h" #include "utils/int_array_view.h"
namespace latinime { namespace latinime {

View File

@ -18,12 +18,12 @@
* !!!!! DO NOT EDIT THIS FILE !!!!! * !!!!! DO NOT EDIT THIS FILE !!!!!
* *
* This file was generated from * This file was generated from
* suggest/policyimpl/dictionary/structure/v4/ver4_patricia_trie_reading_utils.cpp * dictionary/structure/v4/ver4_patricia_trie_reading_utils.cpp
*/ */
#include "suggest/policyimpl/dictionary/structure/backward/v402/ver4_patricia_trie_reading_utils.h" #include "dictionary/structure/backward/v402/ver4_patricia_trie_reading_utils.h"
#include "suggest/policyimpl/dictionary/utils/byte_array_utils.h" #include "dictionary/utils/byte_array_utils.h"
namespace latinime { namespace latinime {
namespace backward { namespace backward {

View File

@ -18,7 +18,7 @@
* !!!!! DO NOT EDIT THIS FILE !!!!! * !!!!! DO NOT EDIT THIS FILE !!!!!
* *
* This file was generated from * This file was generated from
* suggest/policyimpl/dictionary/structure/v4/ver4_patricia_trie_reading_utils.h * dictionary/structure/v4/ver4_patricia_trie_reading_utils.h
*/ */
#ifndef LATINIME_BACKWARD_V402_VER4_PATRICIA_TRIE_READING_UTILS_H #ifndef LATINIME_BACKWARD_V402_VER4_PATRICIA_TRIE_READING_UTILS_H

View File

@ -18,25 +18,25 @@
* !!!!! DO NOT EDIT THIS FILE !!!!! * !!!!! DO NOT EDIT THIS FILE !!!!!
* *
* This file was generated from * This file was generated from
* suggest/policyimpl/dictionary/structure/v4/ver4_patricia_trie_writing_helper.cpp * dictionary/structure/v4/ver4_patricia_trie_writing_helper.cpp
*/ */
#include "suggest/policyimpl/dictionary/structure/backward/v402/ver4_patricia_trie_writing_helper.h" #include "dictionary/structure/backward/v402/ver4_patricia_trie_writing_helper.h"
#include <cstring> #include <cstring>
#include <queue> #include <queue>
#include "suggest/policyimpl/dictionary/header/header_policy.h" #include "dictionary/header/header_policy.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/bigram/ver4_bigram_list_policy.h" #include "dictionary/structure/backward/v402/bigram/ver4_bigram_list_policy.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/shortcut/ver4_shortcut_list_policy.h" #include "dictionary/structure/backward/v402/shortcut/ver4_shortcut_list_policy.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/ver4_dict_buffers.h" #include "dictionary/structure/backward/v402/ver4_dict_buffers.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/ver4_dict_constants.h" #include "dictionary/structure/backward/v402/ver4_dict_constants.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/ver4_patricia_trie_node_reader.h" #include "dictionary/structure/backward/v402/ver4_patricia_trie_node_reader.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/ver4_patricia_trie_node_writer.h" #include "dictionary/structure/backward/v402/ver4_patricia_trie_node_writer.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/ver4_pt_node_array_reader.h" #include "dictionary/structure/backward/v402/ver4_pt_node_array_reader.h"
#include "suggest/policyimpl/dictionary/utils/buffer_with_extendable_buffer.h" #include "dictionary/utils/buffer_with_extendable_buffer.h"
#include "suggest/policyimpl/dictionary/utils/file_utils.h" #include "dictionary/utils/file_utils.h"
#include "suggest/policyimpl/dictionary/utils/forgetting_curve_utils.h" #include "dictionary/utils/forgetting_curve_utils.h"
namespace latinime { namespace latinime {
namespace backward { namespace backward {

View File

@ -18,16 +18,16 @@
* !!!!! DO NOT EDIT THIS FILE !!!!! * !!!!! DO NOT EDIT THIS FILE !!!!!
* *
* This file was generated from * This file was generated from
* suggest/policyimpl/dictionary/structure/v4/ver4_patricia_trie_writing_helper.h * dictionary/structure/v4/ver4_patricia_trie_writing_helper.h
*/ */
#ifndef LATINIME_BACKWARD_V402_VER4_PATRICIA_TRIE_WRITING_HELPER_H #ifndef LATINIME_BACKWARD_V402_VER4_PATRICIA_TRIE_WRITING_HELPER_H
#define LATINIME_BACKWARD_V402_VER4_PATRICIA_TRIE_WRITING_HELPER_H #define LATINIME_BACKWARD_V402_VER4_PATRICIA_TRIE_WRITING_HELPER_H
#include "defines.h" #include "defines.h"
#include "suggest/policyimpl/dictionary/structure/pt_common/dynamic_pt_gc_event_listeners.h" #include "dictionary/structure/pt_common/dynamic_pt_gc_event_listeners.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/content/terminal_position_lookup_table.h" #include "dictionary/structure/backward/v402/content/terminal_position_lookup_table.h"
#include "suggest/policyimpl/dictionary/utils/entry_counters.h" #include "dictionary/utils/entry_counters.h"
namespace latinime { namespace latinime {
namespace backward { namespace backward {

View File

@ -18,14 +18,14 @@
* !!!!! DO NOT EDIT THIS FILE !!!!! * !!!!! DO NOT EDIT THIS FILE !!!!!
* *
* This file was generated from * This file was generated from
* suggest/policyimpl/dictionary/structure/v4/ver4_pt_node_array_reader.cpp * dictionary/structure/v4/ver4_pt_node_array_reader.cpp
*/ */
#include "suggest/policyimpl/dictionary/structure/backward/v402/ver4_pt_node_array_reader.h" #include "dictionary/structure/backward/v402/ver4_pt_node_array_reader.h"
#include "suggest/policyimpl/dictionary/structure/pt_common/dynamic_pt_reading_utils.h" #include "dictionary/structure/pt_common/dynamic_pt_reading_utils.h"
#include "suggest/policyimpl/dictionary/structure/pt_common/patricia_trie_reading_utils.h" #include "dictionary/structure/pt_common/patricia_trie_reading_utils.h"
#include "suggest/policyimpl/dictionary/utils/buffer_with_extendable_buffer.h" #include "dictionary/utils/buffer_with_extendable_buffer.h"
namespace latinime { namespace latinime {
namespace backward { namespace backward {

View File

@ -18,14 +18,14 @@
* !!!!! DO NOT EDIT THIS FILE !!!!! * !!!!! DO NOT EDIT THIS FILE !!!!!
* *
* This file was generated from * This file was generated from
* suggest/policyimpl/dictionary/structure/v4/ver4_pt_node_array_reader.h * dictionary/structure/v4/ver4_pt_node_array_reader.h
*/ */
#ifndef LATINIME_BACKWARD_V402_VER4_PT_NODE_ARRAY_READER_H #ifndef LATINIME_BACKWARD_V402_VER4_PT_NODE_ARRAY_READER_H
#define LATINIME_BACKWARD_V402_VER4_PT_NODE_ARRAY_READER_H #define LATINIME_BACKWARD_V402_VER4_PT_NODE_ARRAY_READER_H
#include "defines.h" #include "defines.h"
#include "suggest/policyimpl/dictionary/structure/pt_common/pt_node_array_reader.h" #include "dictionary/structure/pt_common/pt_node_array_reader.h"
namespace latinime { namespace latinime {
namespace backward { namespace backward {

View File

@ -14,23 +14,23 @@
* limitations under the License. * limitations under the License.
*/ */
#include "suggest/policyimpl/dictionary/structure/dictionary_structure_with_buffer_policy_factory.h" #include "dictionary/structure/dictionary_structure_with_buffer_policy_factory.h"
#include <climits> #include <climits>
#include "defines.h" #include "defines.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/ver4_dict_buffers.h" #include "dictionary/structure/backward/v402/ver4_dict_buffers.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/ver4_dict_constants.h" #include "dictionary/structure/backward/v402/ver4_dict_constants.h"
#include "suggest/policyimpl/dictionary/structure/backward/v402/ver4_patricia_trie_policy.h" #include "dictionary/structure/backward/v402/ver4_patricia_trie_policy.h"
#include "suggest/policyimpl/dictionary/structure/pt_common/dynamic_pt_writing_utils.h" #include "dictionary/structure/pt_common/dynamic_pt_writing_utils.h"
#include "suggest/policyimpl/dictionary/structure/v2/patricia_trie_policy.h" #include "dictionary/structure/v2/patricia_trie_policy.h"
#include "suggest/policyimpl/dictionary/structure/v4/ver4_dict_buffers.h" #include "dictionary/structure/v4/ver4_dict_buffers.h"
#include "suggest/policyimpl/dictionary/structure/v4/ver4_dict_constants.h" #include "dictionary/structure/v4/ver4_dict_constants.h"
#include "suggest/policyimpl/dictionary/structure/v4/ver4_patricia_trie_policy.h" #include "dictionary/structure/v4/ver4_patricia_trie_policy.h"
#include "suggest/policyimpl/dictionary/utils/dict_file_writing_utils.h" #include "dictionary/utils/dict_file_writing_utils.h"
#include "suggest/policyimpl/dictionary/utils/file_utils.h" #include "dictionary/utils/file_utils.h"
#include "suggest/policyimpl/dictionary/utils/format_utils.h" #include "dictionary/utils/format_utils.h"
#include "suggest/policyimpl/dictionary/utils/mmapped_buffer.h" #include "dictionary/utils/mmapped_buffer.h"
#include "utils/byte_array_view.h" #include "utils/byte_array_view.h"
namespace latinime { namespace latinime {

View File

@ -20,10 +20,10 @@
#include <vector> #include <vector>
#include "defines.h" #include "defines.h"
#include "suggest/core/policy/dictionary_header_structure_policy.h" #include "dictionary/interface/dictionary_header_structure_policy.h"
#include "suggest/core/policy/dictionary_structure_with_buffer_policy.h" #include "dictionary/interface/dictionary_structure_with_buffer_policy.h"
#include "suggest/policyimpl/dictionary/utils/format_utils.h" #include "dictionary/utils/format_utils.h"
#include "suggest/policyimpl/dictionary/utils/mmapped_buffer.h" #include "dictionary/utils/mmapped_buffer.h"
namespace latinime { namespace latinime {

View File

@ -14,10 +14,10 @@
* limitations under the License. * limitations under the License.
*/ */
#include "suggest/policyimpl/dictionary/structure/pt_common/bigram/bigram_list_read_write_utils.h" #include "dictionary/structure/pt_common/bigram/bigram_list_read_write_utils.h"
#include "suggest/policyimpl/dictionary/utils/byte_array_utils.h" #include "dictionary/utils/byte_array_utils.h"
#include "suggest/policyimpl/dictionary/utils/buffer_with_extendable_buffer.h" #include "dictionary/utils/buffer_with_extendable_buffer.h"
namespace latinime { namespace latinime {

View File

@ -14,12 +14,12 @@
* limitations under the License. * limitations under the License.
*/ */
#include "suggest/policyimpl/dictionary/structure/pt_common/dynamic_pt_gc_event_listeners.h" #include "dictionary/structure/pt_common/dynamic_pt_gc_event_listeners.h"
#include "suggest/core/policy/dictionary_header_structure_policy.h" #include "dictionary/interface/dictionary_header_structure_policy.h"
#include "suggest/policyimpl/dictionary/structure/pt_common/dynamic_pt_writing_utils.h" #include "dictionary/structure/pt_common/dynamic_pt_writing_utils.h"
#include "suggest/policyimpl/dictionary/structure/pt_common/pt_node_params.h" #include "dictionary/structure/pt_common/pt_node_params.h"
#include "suggest/policyimpl/dictionary/structure/pt_common/pt_node_writer.h" #include "dictionary/structure/pt_common/pt_node_writer.h"
namespace latinime { namespace latinime {

View File

@ -20,9 +20,9 @@
#include <vector> #include <vector>
#include "defines.h" #include "defines.h"
#include "suggest/policyimpl/dictionary/structure/pt_common/dynamic_pt_reading_helper.h" #include "dictionary/structure/pt_common/dynamic_pt_reading_helper.h"
#include "suggest/policyimpl/dictionary/structure/pt_common/pt_node_writer.h" #include "dictionary/structure/pt_common/pt_node_writer.h"
#include "suggest/policyimpl/dictionary/utils/buffer_with_extendable_buffer.h" #include "dictionary/utils/buffer_with_extendable_buffer.h"
namespace latinime { namespace latinime {

View File

@ -14,9 +14,9 @@
* limitations under the License. * limitations under the License.
*/ */
#include "suggest/policyimpl/dictionary/structure/pt_common/dynamic_pt_reading_helper.h" #include "dictionary/structure/pt_common/dynamic_pt_reading_helper.h"
#include "suggest/policyimpl/dictionary/structure/pt_common/pt_node_array_reader.h" #include "dictionary/structure/pt_common/pt_node_array_reader.h"
#include "utils/char_utils.h" #include "utils/char_utils.h"
namespace latinime { namespace latinime {

View File

@ -21,8 +21,8 @@
#include <vector> #include <vector>
#include "defines.h" #include "defines.h"
#include "suggest/policyimpl/dictionary/structure/pt_common/pt_node_params.h" #include "dictionary/structure/pt_common/pt_node_params.h"
#include "suggest/policyimpl/dictionary/structure/pt_common/pt_node_reader.h" #include "dictionary/structure/pt_common/pt_node_reader.h"
namespace latinime { namespace latinime {

View File

@ -14,10 +14,10 @@
* limitations under the License. * limitations under the License.
*/ */
#include "suggest/policyimpl/dictionary/structure/pt_common/dynamic_pt_reading_utils.h" #include "dictionary/structure/pt_common/dynamic_pt_reading_utils.h"
#include "defines.h" #include "defines.h"
#include "suggest/policyimpl/dictionary/utils/byte_array_utils.h" #include "dictionary/utils/byte_array_utils.h"
namespace latinime { namespace latinime {

View File

@ -14,15 +14,15 @@
* limitations under the License. * limitations under the License.
*/ */
#include "suggest/policyimpl/dictionary/structure/pt_common/dynamic_pt_updating_helper.h" #include "dictionary/structure/pt_common/dynamic_pt_updating_helper.h"
#include "suggest/core/dictionary/property/unigram_property.h" #include "dictionary/property/unigram_property.h"
#include "suggest/policyimpl/dictionary/structure/pt_common/dynamic_pt_reading_helper.h" #include "dictionary/structure/pt_common/dynamic_pt_reading_helper.h"
#include "suggest/policyimpl/dictionary/structure/pt_common/dynamic_pt_writing_utils.h" #include "dictionary/structure/pt_common/dynamic_pt_writing_utils.h"
#include "suggest/policyimpl/dictionary/structure/pt_common/patricia_trie_reading_utils.h" #include "dictionary/structure/pt_common/patricia_trie_reading_utils.h"
#include "suggest/policyimpl/dictionary/structure/pt_common/pt_node_reader.h" #include "dictionary/structure/pt_common/pt_node_reader.h"
#include "suggest/policyimpl/dictionary/structure/pt_common/pt_node_writer.h" #include "dictionary/structure/pt_common/pt_node_writer.h"
#include "suggest/policyimpl/dictionary/utils/buffer_with_extendable_buffer.h" #include "dictionary/utils/buffer_with_extendable_buffer.h"
namespace latinime { namespace latinime {

View File

@ -18,7 +18,7 @@
#define LATINIME_DYNAMIC_PT_UPDATING_HELPER_H #define LATINIME_DYNAMIC_PT_UPDATING_HELPER_H
#include "defines.h" #include "defines.h"
#include "suggest/policyimpl/dictionary/structure/pt_common/pt_node_params.h" #include "dictionary/structure/pt_common/pt_node_params.h"
#include "utils/int_array_view.h" #include "utils/int_array_view.h"
namespace latinime { namespace latinime {

View File

@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
#include "suggest/policyimpl/dictionary/structure/pt_common/dynamic_pt_writing_utils.h" #include "dictionary/structure/pt_common/dynamic_pt_writing_utils.h"
#include <cstddef> #include <cstddef>
#include <cstdint> #include <cstdint>
#include <cstdlib> #include <cstdlib>
#include "suggest/policyimpl/dictionary/utils/buffer_with_extendable_buffer.h" #include "dictionary/utils/buffer_with_extendable_buffer.h"
namespace latinime { namespace latinime {

View File

@ -20,7 +20,7 @@
#include <cstddef> #include <cstddef>
#include "defines.h" #include "defines.h"
#include "suggest/policyimpl/dictionary/structure/pt_common/dynamic_pt_reading_utils.h" #include "dictionary/structure/pt_common/dynamic_pt_reading_utils.h"
namespace latinime { namespace latinime {

View File

@ -14,12 +14,12 @@
* limitations under the License. * limitations under the License.
*/ */
#include "suggest/policyimpl/dictionary/structure/pt_common/patricia_trie_reading_utils.h" #include "dictionary/structure/pt_common/patricia_trie_reading_utils.h"
#include "defines.h" #include "defines.h"
#include "suggest/core/policy/dictionary_bigrams_structure_policy.h" #include "dictionary/interface/dictionary_bigrams_structure_policy.h"
#include "suggest/core/policy/dictionary_shortcuts_structure_policy.h" #include "dictionary/interface/dictionary_shortcuts_structure_policy.h"
#include "suggest/policyimpl/dictionary/utils/byte_array_utils.h" #include "dictionary/utils/byte_array_utils.h"
namespace latinime { namespace latinime {

View File

@ -20,9 +20,9 @@
#include <cstring> #include <cstring>
#include "defines.h" #include "defines.h"
#include "suggest/policyimpl/dictionary/structure/pt_common/dynamic_pt_reading_utils.h" #include "dictionary/structure/pt_common/dynamic_pt_reading_utils.h"
#include "suggest/policyimpl/dictionary/structure/pt_common/patricia_trie_reading_utils.h" #include "dictionary/structure/pt_common/patricia_trie_reading_utils.h"
#include "suggest/policyimpl/dictionary/structure/v4/ver4_dict_constants.h" #include "dictionary/structure/v4/ver4_dict_constants.h"
#include "utils/char_utils.h" #include "utils/char_utils.h"
#include "utils/int_array_view.h" #include "utils/int_array_view.h"

View File

@ -19,7 +19,7 @@
#include "defines.h" #include "defines.h"
#include "suggest/policyimpl/dictionary/structure/pt_common/pt_node_params.h" #include "dictionary/structure/pt_common/pt_node_params.h"
namespace latinime { namespace latinime {

View File

@ -20,7 +20,7 @@
#include <unordered_map> #include <unordered_map>
#include "defines.h" #include "defines.h"
#include "suggest/policyimpl/dictionary/structure/pt_common/pt_node_params.h" #include "dictionary/structure/pt_common/pt_node_params.h"
#include "utils/int_array_view.h" #include "utils/int_array_view.h"
namespace latinime { namespace latinime {

View File

@ -14,9 +14,9 @@
* limitations under the License. * limitations under the License.
*/ */
#include "suggest/policyimpl/dictionary/structure/pt_common/shortcut/shortcut_list_reading_utils.h" #include "dictionary/structure/pt_common/shortcut/shortcut_list_reading_utils.h"
#include "suggest/policyimpl/dictionary/utils/byte_array_utils.h" #include "dictionary/utils/byte_array_utils.h"
namespace latinime { namespace latinime {

View File

@ -20,8 +20,8 @@
#include <cstdint> #include <cstdint>
#include "defines.h" #include "defines.h"
#include "suggest/core/policy/dictionary_bigrams_structure_policy.h" #include "dictionary/interface/dictionary_bigrams_structure_policy.h"
#include "suggest/policyimpl/dictionary/structure/pt_common/bigram/bigram_list_read_write_utils.h" #include "dictionary/structure/pt_common/bigram/bigram_list_read_write_utils.h"
#include "utils/byte_array_view.h" #include "utils/byte_array_view.h"
namespace latinime { namespace latinime {

View File

@ -14,18 +14,18 @@
* limitations under the License. * limitations under the License.
*/ */
#include "suggest/policyimpl/dictionary/structure/v2/patricia_trie_policy.h" #include "dictionary/structure/v2/patricia_trie_policy.h"
#include "defines.h" #include "defines.h"
#include "suggest/core/dicnode/dic_node.h" #include "suggest/core/dicnode/dic_node.h"
#include "suggest/core/dicnode/dic_node_vector.h" #include "suggest/core/dicnode/dic_node_vector.h"
#include "suggest/core/dictionary/binary_dictionary_bigrams_iterator.h" #include "dictionary/interface/ngram_listener.h"
#include "suggest/core/dictionary/multi_bigram_map.h" #include "dictionary/property/ngram_context.h"
#include "suggest/core/dictionary/ngram_listener.h" #include "dictionary/structure/pt_common/dynamic_pt_reading_helper.h"
#include "suggest/core/session/ngram_context.h" #include "dictionary/structure/pt_common/patricia_trie_reading_utils.h"
#include "suggest/policyimpl/dictionary/structure/pt_common/dynamic_pt_reading_helper.h" #include "dictionary/utils/binary_dictionary_bigrams_iterator.h"
#include "suggest/policyimpl/dictionary/structure/pt_common/patricia_trie_reading_utils.h" #include "dictionary/utils/multi_bigram_map.h"
#include "suggest/policyimpl/dictionary/utils/probability_utils.h" #include "dictionary/utils/probability_utils.h"
#include "utils/char_utils.h" #include "utils/char_utils.h"
namespace latinime { namespace latinime {

View File

@ -21,14 +21,14 @@
#include <vector> #include <vector>
#include "defines.h" #include "defines.h"
#include "suggest/core/policy/dictionary_structure_with_buffer_policy.h" #include "dictionary/header/header_policy.h"
#include "suggest/policyimpl/dictionary/header/header_policy.h" #include "dictionary/interface/dictionary_structure_with_buffer_policy.h"
#include "suggest/policyimpl/dictionary/structure/v2/bigram/bigram_list_policy.h" #include "dictionary/structure/v2/bigram/bigram_list_policy.h"
#include "suggest/policyimpl/dictionary/structure/v2/shortcut/shortcut_list_policy.h" #include "dictionary/structure/v2/shortcut/shortcut_list_policy.h"
#include "suggest/policyimpl/dictionary/structure/v2/ver2_patricia_trie_node_reader.h" #include "dictionary/structure/v2/ver2_patricia_trie_node_reader.h"
#include "suggest/policyimpl/dictionary/structure/v2/ver2_pt_node_array_reader.h" #include "dictionary/structure/v2/ver2_pt_node_array_reader.h"
#include "suggest/policyimpl/dictionary/utils/format_utils.h" #include "dictionary/utils/format_utils.h"
#include "suggest/policyimpl/dictionary/utils/mmapped_buffer.h" #include "dictionary/utils/mmapped_buffer.h"
#include "utils/byte_array_view.h" #include "utils/byte_array_view.h"
#include "utils/int_array_view.h" #include "utils/int_array_view.h"

View File

@ -20,8 +20,8 @@
#include <cstdint> #include <cstdint>
#include "defines.h" #include "defines.h"
#include "suggest/core/policy/dictionary_shortcuts_structure_policy.h" #include "dictionary/interface/dictionary_shortcuts_structure_policy.h"
#include "suggest/policyimpl/dictionary/structure/pt_common/shortcut/shortcut_list_reading_utils.h" #include "dictionary/structure/pt_common/shortcut/shortcut_list_reading_utils.h"
#include "utils/byte_array_view.h" #include "utils/byte_array_view.h"
namespace latinime { namespace latinime {

View File

@ -14,9 +14,9 @@
* limitations under the License. * limitations under the License.
*/ */
#include "suggest/policyimpl/dictionary/structure/v2/ver2_patricia_trie_node_reader.h" #include "dictionary/structure/v2/ver2_patricia_trie_node_reader.h"
#include "suggest/policyimpl/dictionary/structure/pt_common/patricia_trie_reading_utils.h" #include "dictionary/structure/pt_common/patricia_trie_reading_utils.h"
namespace latinime { namespace latinime {

View File

@ -20,8 +20,8 @@
#include <cstdint> #include <cstdint>
#include "defines.h" #include "defines.h"
#include "suggest/policyimpl/dictionary/structure/pt_common/pt_node_params.h" #include "dictionary/structure/pt_common/pt_node_params.h"
#include "suggest/policyimpl/dictionary/structure/pt_common/pt_node_reader.h" #include "dictionary/structure/pt_common/pt_node_reader.h"
#include "utils/byte_array_view.h" #include "utils/byte_array_view.h"
namespace latinime { namespace latinime {

View File

@ -14,9 +14,9 @@
* limitations under the License. * limitations under the License.
*/ */
#include "suggest/policyimpl/dictionary/structure/v2/ver2_pt_node_array_reader.h" #include "dictionary/structure/v2/ver2_pt_node_array_reader.h"
#include "suggest/policyimpl/dictionary/structure/pt_common/patricia_trie_reading_utils.h" #include "dictionary/structure/pt_common/patricia_trie_reading_utils.h"
namespace latinime { namespace latinime {

View File

@ -20,7 +20,7 @@
#include <cstdint> #include <cstdint>
#include "defines.h" #include "defines.h"
#include "suggest/policyimpl/dictionary/structure/pt_common/pt_node_array_reader.h" #include "dictionary/structure/pt_common/pt_node_array_reader.h"
#include "utils/byte_array_view.h" #include "utils/byte_array_view.h"
namespace latinime { namespace latinime {

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
#include "suggest/policyimpl/dictionary/structure/v4/content/dynamic_language_model_probability_utils.h" #include "dictionary/structure/v4/content/dynamic_language_model_probability_utils.h"
namespace latinime { namespace latinime {

View File

@ -20,7 +20,7 @@
#include <algorithm> #include <algorithm>
#include "defines.h" #include "defines.h"
#include "suggest/core/dictionary/property/historical_info.h" #include "dictionary/property/historical_info.h"
#include "utils/ngram_utils.h" #include "utils/ngram_utils.h"
#include "utils/time_keeper.h" #include "utils/time_keeper.h"

View File

@ -14,13 +14,13 @@
* limitations under the License. * limitations under the License.
*/ */
#include "suggest/policyimpl/dictionary/structure/v4/content/language_model_dict_content.h" #include "dictionary/structure/v4/content/language_model_dict_content.h"
#include <algorithm> #include <algorithm>
#include <cstring> #include <cstring>
#include "suggest/policyimpl/dictionary/structure/v4/content/dynamic_language_model_probability_utils.h" #include "dictionary/structure/v4/content/dynamic_language_model_probability_utils.h"
#include "suggest/policyimpl/dictionary/utils/probability_utils.h" #include "dictionary/utils/probability_utils.h"
#include "utils/ngram_utils.h" #include "utils/ngram_utils.h"
namespace latinime { namespace latinime {

View File

@ -21,13 +21,13 @@
#include <vector> #include <vector>
#include "defines.h" #include "defines.h"
#include "suggest/core/dictionary/word_attributes.h" #include "dictionary/property/word_attributes.h"
#include "suggest/policyimpl/dictionary/structure/v4/content/language_model_dict_content_global_counters.h" #include "dictionary/structure/v4/content/language_model_dict_content_global_counters.h"
#include "suggest/policyimpl/dictionary/structure/v4/content/probability_entry.h" #include "dictionary/structure/v4/content/probability_entry.h"
#include "suggest/policyimpl/dictionary/structure/v4/content/terminal_position_lookup_table.h" #include "dictionary/structure/v4/content/terminal_position_lookup_table.h"
#include "suggest/policyimpl/dictionary/structure/v4/ver4_dict_constants.h" #include "dictionary/structure/v4/ver4_dict_constants.h"
#include "suggest/policyimpl/dictionary/utils/entry_counters.h" #include "dictionary/utils/entry_counters.h"
#include "suggest/policyimpl/dictionary/utils/trie_map.h" #include "dictionary/utils/trie_map.h"
#include "utils/byte_array_view.h" #include "utils/byte_array_view.h"
#include "utils/int_array_view.h" #include "utils/int_array_view.h"

View File

@ -14,11 +14,11 @@
* limitations under the License. * limitations under the License.
*/ */
#include "suggest/policyimpl/dictionary/structure/v4/content/language_model_dict_content_global_counters.h" #include "dictionary/structure/v4/content/language_model_dict_content_global_counters.h"
#include <climits> #include <climits>
#include "suggest/policyimpl/dictionary/structure/v4/ver4_dict_constants.h" #include "dictionary/structure/v4/ver4_dict_constants.h"
namespace latinime { namespace latinime {

View File

@ -20,8 +20,8 @@
#include <cstdio> #include <cstdio>
#include "defines.h" #include "defines.h"
#include "suggest/policyimpl/dictionary/utils/buffer_with_extendable_buffer.h" #include "dictionary/utils/buffer_with_extendable_buffer.h"
#include "suggest/policyimpl/dictionary/utils/dict_file_writing_utils.h" #include "dictionary/utils/dict_file_writing_utils.h"
#include "utils/byte_array_view.h" #include "utils/byte_array_view.h"
namespace latinime { namespace latinime {

View File

@ -21,10 +21,10 @@
#include <cstdint> #include <cstdint>
#include "defines.h" #include "defines.h"
#include "suggest/core/dictionary/property/historical_info.h" #include "dictionary/property/historical_info.h"
#include "suggest/core/dictionary/property/ngram_property.h" #include "dictionary/property/ngram_property.h"
#include "suggest/core/dictionary/property/unigram_property.h" #include "dictionary/property/unigram_property.h"
#include "suggest/policyimpl/dictionary/structure/v4/ver4_dict_constants.h" #include "dictionary/structure/v4/ver4_dict_constants.h"
namespace latinime { namespace latinime {

View File

@ -14,9 +14,9 @@
* limitations under the License. * limitations under the License.
*/ */
#include "suggest/policyimpl/dictionary/structure/v4/content/shortcut_dict_content.h" #include "dictionary/structure/v4/content/shortcut_dict_content.h"
#include "suggest/policyimpl/dictionary/utils/buffer_with_extendable_buffer.h" #include "dictionary/utils/buffer_with_extendable_buffer.h"
namespace latinime { namespace latinime {

View File

@ -20,9 +20,9 @@
#include <cstdio> #include <cstdio>
#include "defines.h" #include "defines.h"
#include "suggest/policyimpl/dictionary/structure/v4/content/sparse_table_dict_content.h" #include "dictionary/structure/v4/content/sparse_table_dict_content.h"
#include "suggest/policyimpl/dictionary/structure/v4/content/terminal_position_lookup_table.h" #include "dictionary/structure/v4/content/terminal_position_lookup_table.h"
#include "suggest/policyimpl/dictionary/structure/v4/ver4_dict_constants.h" #include "dictionary/structure/v4/ver4_dict_constants.h"
namespace latinime { namespace latinime {

View File

@ -20,9 +20,9 @@
#include <cstdio> #include <cstdio>
#include "defines.h" #include "defines.h"
#include "suggest/policyimpl/dictionary/structure/v4/ver4_dict_constants.h" #include "dictionary/structure/v4/ver4_dict_constants.h"
#include "suggest/policyimpl/dictionary/utils/buffer_with_extendable_buffer.h" #include "dictionary/utils/buffer_with_extendable_buffer.h"
#include "suggest/policyimpl/dictionary/utils/dict_file_writing_utils.h" #include "dictionary/utils/dict_file_writing_utils.h"
#include "utils/byte_array_view.h" #include "utils/byte_array_view.h"
namespace latinime { namespace latinime {

View File

@ -14,9 +14,9 @@
* limitations under the License. * limitations under the License.
*/ */
#include "suggest/policyimpl/dictionary/structure/v4/content/sparse_table_dict_content.h" #include "dictionary/structure/v4/content/sparse_table_dict_content.h"
#include "suggest/policyimpl/dictionary/utils/dict_file_writing_utils.h" #include "dictionary/utils/dict_file_writing_utils.h"
namespace latinime { namespace latinime {

View File

@ -20,9 +20,9 @@
#include <cstdio> #include <cstdio>
#include "defines.h" #include "defines.h"
#include "suggest/policyimpl/dictionary/structure/v4/ver4_dict_constants.h" #include "dictionary/structure/v4/ver4_dict_constants.h"
#include "suggest/policyimpl/dictionary/utils/buffer_with_extendable_buffer.h" #include "dictionary/utils/buffer_with_extendable_buffer.h"
#include "suggest/policyimpl/dictionary/utils/sparse_table.h" #include "dictionary/utils/sparse_table.h"
#include "utils/byte_array_view.h" #include "utils/byte_array_view.h"
namespace latinime { namespace latinime {

View File

@ -14,9 +14,9 @@
* limitations under the License. * limitations under the License.
*/ */
#include "suggest/policyimpl/dictionary/structure/v4/content/terminal_position_lookup_table.h" #include "dictionary/structure/v4/content/terminal_position_lookup_table.h"
#include "suggest/policyimpl/dictionary/utils/buffer_with_extendable_buffer.h" #include "dictionary/utils/buffer_with_extendable_buffer.h"
namespace latinime { namespace latinime {

View File

@ -21,8 +21,8 @@
#include <unordered_map> #include <unordered_map>
#include "defines.h" #include "defines.h"
#include "suggest/policyimpl/dictionary/structure/v4/content/single_dict_content.h" #include "dictionary/structure/v4/content/single_dict_content.h"
#include "suggest/policyimpl/dictionary/structure/v4/ver4_dict_constants.h" #include "dictionary/structure/v4/ver4_dict_constants.h"
#include "utils/byte_array_view.h" #include "utils/byte_array_view.h"
namespace latinime { namespace latinime {

View File

@ -18,10 +18,10 @@
#define LATINIME_VER4_SHORTCUT_LIST_POLICY_H #define LATINIME_VER4_SHORTCUT_LIST_POLICY_H
#include "defines.h" #include "defines.h"
#include "suggest/core/policy/dictionary_shortcuts_structure_policy.h" #include "dictionary/interface/dictionary_shortcuts_structure_policy.h"
#include "suggest/policyimpl/dictionary/structure/pt_common/shortcut/shortcut_list_reading_utils.h" #include "dictionary/structure/pt_common/shortcut/shortcut_list_reading_utils.h"
#include "suggest/policyimpl/dictionary/structure/v4/content/shortcut_dict_content.h" #include "dictionary/structure/v4/content/shortcut_dict_content.h"
#include "suggest/policyimpl/dictionary/structure/v4/content/terminal_position_lookup_table.h" #include "dictionary/structure/v4/content/terminal_position_lookup_table.h"
namespace latinime { namespace latinime {

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
#include "suggest/policyimpl/dictionary/structure/v4/ver4_dict_buffers.h" #include "dictionary/structure/v4/ver4_dict_buffers.h"
#include <cerrno> #include <cerrno>
#include <cstring> #include <cstring>
@ -23,9 +23,9 @@
#include <sys/types.h> #include <sys/types.h>
#include <vector> #include <vector>
#include "suggest/policyimpl/dictionary/utils/byte_array_utils.h" #include "dictionary/utils/byte_array_utils.h"
#include "suggest/policyimpl/dictionary/utils/dict_file_writing_utils.h" #include "dictionary/utils/dict_file_writing_utils.h"
#include "suggest/policyimpl/dictionary/utils/file_utils.h" #include "dictionary/utils/file_utils.h"
#include "utils/byte_array_view.h" #include "utils/byte_array_view.h"
namespace latinime { namespace latinime {

Some files were not shown because too many files have changed in this diff Show More