Debug swcsa
[SXSI/TextCollection.git] / swcsa / utils / defValues.h
1 #ifndef DEFVALUES_INCLUDED
2 #define DEFVALUES_INCLUDED
3
4 //#define MAX_LEN_VOCABULARY 3000000    //number of different words --> (number of variants)
5 #define MAX_MEANINGFUL_WORDS 100000000  //number of words (non separators)
6 #define MAX_SIZE_OF_WORD 1000000 //255  //size of word
7 #define MAX_SIZE_OF_GAP 1000000 //1000  //size of separator
8         //#define MAX_STOPW0RDS_SIZE 255        //size of stopword 
9 #define MAX_SIZE_OF_ANY 1000000 //1000
10
11
12 #define DEFAULT_SUFFIX_ARRAY_SIZE 50000000
13
14 #define DEFAULT_SAMPLE_PERIOD_Z 32
15 #define DEFAULT_SAMPLE_PERIOD_B 32
16
17
18
19
20 //for queries
21 #define MAX_INTEGER_PATTERN_SIZE 20
22 #define MAX_TEXT_PATTERN_SIZE 100   //maximum number of valid words in a searched pattern
23
24 #ifndef DEBUG_ON
25         // #define DEBUG_ON
26 #endif
27
28
29
30 #define byte unsigned char
31
32
33 #define CSA_ON                          //generates the CSA or only "presentation layer"
34 //#define WRITE_SE_FILE     //outputs to a file the array of integers indexed.
35
36 // Extensions of created  files
37
38 #define VOCABULARY_WORDS_FILE_EXT "words"
39 #define SE_FILE_EXT "se"
40 #define CONSTANTS_FILE_EXT "cte"
41
42 #endif