%
%
% Common definitions for both structural and parameter files
% $Header: /homes/bilmes/gmtk/auroraTutorial/auroraTutorial/FOR_CHEATERS/RCS/commonParams,v 1.2 2002/02/18 20:30:13 bilmes Exp $
% J. Bilmes <bilmes@ee.washington.edu>

#ifndef COMMON_PARAMS
#define COMMON_PARAMS

#define CONCAT_A(a,b) a ## b
#define CONCAT(a,b) cat_a(a,b)

#define OBSERVATION_RANGE 0:41
#define VOCAB_SIZE 13

#define NUM_STATES_PER_WORD 8
#define NUM_STATES_PER_SIL 3
#define NUM_STATES_PER_SP 1

% For NUM_WHOLE_WORD_STATES, we assume NUM_STATES_PER_WORD*11 + 1 + 1 = 46.
% If NUM_STATES_PER_WORD, this must change as well since it should be
% (NUM_STATES_PER_WORD*(VOCAB_SIZE-2) + numStatesPerSil + numStatesPerSP)
% remember sp shares the middle state of sil
#define NUM_WHOLE_WORD_STATES 91

% The maximum possible number of words in an utterance.
% This should should ALWAYS be an even number.
% sil (word sil?)+ out-of-bounds
#define WORD_COUNTER_CARD 22

%%%%%%%%%%%%%%%%%%%%%%%%
% Support for limiting the max number of words to a value.
% Maximum number of words to decode
#define MAX_WRDS_DCD  7
% Word range (starting at 0 offset)
#define MAX_WRDS_DCD_RNG 0:6 
% the word counter cardinality is one greater, because
% we need a value for the out-of-bounds word. I.e., 
% if the counter reaches that value, it stays there (doesnt
% increment further, so that more than this is impossible), and the entire 
% instantiation of the network values is given zero probability in 
% this case.
#define WRD_CNTR_CARD  8

#endif
