salm_shared.h File Reference

#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 Documentation

#define _SA_common_h

Revision

Rev
3794
Last Modified
LastChangedDate
2007-06-29 02:17:32 -0400 (星期五, 29 六月 2007)

Definition at line 6 of file salm_shared.h.


Typedef Documentation

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.


Variable Documentation

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

for language modeling

Definition at line 21 of file salm_shared.h.

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().


Generated on Fri Jul 6 23:11:17 2007 for SALM by  doxygen 1.5.1