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"
|
2013-12-06 22:29:25 +01:00
|
|
|
|
|
|
|
typedef @INDEX_CHARACTER_TYPE@ INDEX_CHARACTER_TYPE;
|
2014-03-14 11:30:17 +01:00
|
|
|
#define INDEX_CHARACTER_TYPE_MAX_VALUE @INDEX_CHARACTER_TYPE_MAX_VALUE@
|
2014-02-20 10:49:17 +01:00
|
|
|
typedef @SUFFIX_MARKER_TYPE@ SUFFIX_MARKER_TYPE;
|
2014-03-14 11:30:17 +01:00
|
|
|
#define SUFFIX_MARKER_TYPE_MAX_VALUE @SUFFIX_MARKER_TYPE_MAX_VALUE@
|
|
|
|
|
2013-12-06 22:29:25 +01:00
|
|
|
|
2015-04-09 22:17:19 +02:00
|
|
|
#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.
|
2015-04-17 14:17:59 +02:00
|
|
|
|
2019-01-09 15:30:56 +01:00
|
|
|
#define CONCORDIA_SEARCH_MAX_RESULTS 3
|
2015-10-16 22:14:11 +02:00
|
|
|
|
|
|
|
#define WORD_MAP_FILE_NAME "word_map.bin"
|
|
|
|
#define MARKERS_FILE_NAME "markers.bin"
|
|
|
|
#define HASHED_INDEX_FILE_NAME "hashed_index.bin"
|