concordia-library/concordia/common/config.hpp.in

33 lines
1.2 KiB
C++
Raw Permalink Normal View History

2013-10-24 17:08:58 +02:00
#define CONCORDIA_VERSION_MAJOR @CONCORDIA_VERSION_MAJOR@
#define CONCORDIA_VERSION_MINOR @CONCORDIA_VERSION_MINOR@
#define TEST_RESOURCES_DIRECTORY "@TEST_RESOURCES_DIRECTORY@"
#define PROD_RESOURCES_DIRECTORY "@PROD_RESOURCES_DIRECTORY@"
#define LEMMA_CATEGORY_SEPARATOR '+'
#cmakedefine01 HAVE_RE2
#cmakedefine01 HAVE_PCRE
#define LEXICON_TEXT_FIELD_SEPARATORS "\t "
#define LEXICON_FIELD_SEPARATOR "\t"
typedef @INDEX_CHARACTER_TYPE@ INDEX_CHARACTER_TYPE;
#define INDEX_CHARACTER_TYPE_MAX_VALUE @INDEX_CHARACTER_TYPE_MAX_VALUE@
typedef @SUFFIX_MARKER_TYPE@ SUFFIX_MARKER_TYPE;
#define SUFFIX_MARKER_TYPE_MAX_VALUE @SUFFIX_MARKER_TYPE_MAX_VALUE@
#define SUFFIX_MARKER_SENTENCE_BYTES @SUFFIX_MARKER_SENTENCE_BYTES@
//Max sentence size is determined by the SUFFIX_MARKER_SENTENCE_BYTES property.
//The sentence marker is build as follows: its first bytes store the
// sentence id. Next, SUFFIX_MARKER_SENTENCE_BYTES store the suffix offset
// and the last SUFFIX_MARKER_SENTENCE_BYTES store the sentence length.
2019-01-09 15:30:56 +01:00
#define CONCORDIA_SEARCH_MAX_RESULTS 3
#define WORD_MAP_FILE_NAME "word_map.bin"
#define MARKERS_FILE_NAME "markers.bin"
#define HASHED_INDEX_FILE_NAME "hashed_index.bin"