00001 00011 /* 00012 #ifndef SEGSPDATA_H_INCLUDED 00013 #define SEGSPDATA_H_INCLUDED 00014 #include "segSpData.h" 00015 #endif 00016 */ 00017 #ifndef SEGMODEL_H_INCLUDED 00018 #define SEGMODEL_H_INCLUDED 00019 #include "segModel.h" 00020 #endif 00021 00023 typedef struct segGrammar { 00024 long numPhones; 00025 char **label; 00026 double *initProb; 00027 double *exitProb; 00028 double **biProb; 00029 } SEG_GRAMMAR; 00030 00031 /* prototype declaration */ 00032 int segReadGrammar(SEG_GRAMMAR *grammar, char *gramFName, SEG_MODEL_SET *models);