#include "math.h"Go to the source code of this file.
Data Structures | |
| struct | s_nGramScanningInfoElement |
Defines | |
| #define | _SA_common_h |
Typedefs | |
| typedef unsigned int | IndexType |
| typedef unsigned int | TextLenType |
| typedef unsigned short int | SearchLenType |
| typedef s_nGramScanningInfoElement | S_nGramScanningInfoElement |
Variables | |
| const int | SIZE_ONE_READ = 16384 |
| const int | MAX_TOKEN_LEN = 1024 |
| const int | NUMBER_OF_RESERVED_WORDS_IN_VOC = 100 |
| const double | SALM_PROB_UNK = 0.00000000023283064365386962890625 |
| for language modeling | |
| const double | SALM_LOG_PROB_UNK = log(SALM_PROB_UNK) |
| const double | SALM_LOG_0 = -20 |
| #define _SA_common_h |
Revision
Definition at line 6 of file salm_shared.h.
| typedef unsigned int IndexType |
Definition at line 10 of file salm_shared.h.
| typedef unsigned short int SearchLenType |
Definition at line 12 of file salm_shared.h.
| typedef unsigned int TextLenType |
Definition at line 11 of file salm_shared.h.
| const int MAX_TOKEN_LEN = 1024 |
Definition at line 16 of file salm_shared.h.
Referenced by C_SuffixArraySearchApplicationBase::convertCharStringToCStringVector(), convertTextToStringVector(), and main().
| const int NUMBER_OF_RESERVED_WORDS_IN_VOC = 100 |
Definition at line 18 of file salm_shared.h.
Referenced by C_IDVocabulary::addingReservedWords(), and C_UniversalVocabulary::updateWithNewCorpus().
| const double SALM_LOG_0 = -20 |
Definition at line 23 of file salm_shared.h.
| const double SALM_LOG_PROB_UNK = log(SALM_PROB_UNK) |
Definition at line 22 of file salm_shared.h.
| const double SALM_PROB_UNK = 0.00000000023283064365386962890625 |
| const int SIZE_ONE_READ = 16384 |
Definition at line 15 of file salm_shared.h.
Referenced by C_SuffixArrayApplicationBase::loadCorpusAndInitMem(), C_SuffixArrayApplicationBase::loadOffset(), and C_SuffixArrayApplicationBase::loadSuffix().
1.5.1