/**************************************************************************/ /* File: test.h */ /**************************************************************************/ /* Project: Continuous Speech Recognition Search Algorithms */ /* Author: Neeraj Deshmukh, Aravind Ganapathiraju */ /* Class: EE 8993 Spring 1996 Date: April 2, 1996 */ /**************************************************************************/ /*======================================================================== This file creates the HMMs for the four test words in the grammer namely one , two , three and four. and tests the model creation. ========================================================================*/ /*------------------------------------------------------------------------ make sure declaration is only once ------------------------------------------------------------------------*/ #ifndef ISIP_TEST_HMM_ #define ISIP_TEST_HMM_ /*------------------------------------------------------------------------ system and ISIP include files ------------------------------------------------------------------------*/ #include #include /*------------------------------------------------------------------------ external functions ------------------------------------------------------------------------*/ extern void create_model_cc ( FILE *fp_model, FILE* fp_mean,HMM_Model **model, int_2 num_of_models,int_2 num_of_states); extern void hypothesize_cc ( FILE *fp_in,HMM_Model *model, Score_Hyp *hypothesis,Score_Hyp *temp_hyp, float_4 score,int_2 start_time , int_2 word_index ); extern void build_lattice_cc ( FILE *file_in, Grammar *grammar, HMM_Model **hmm_model,Score_Hyp *hypoth); extern void find_word_seq_cc ( Score_Hyp *hypothesis, HMM_Model **model); /*------------------------------------------------------------------------ global constants ------------------------------------------------------------------------*/ #define NUM_OF_MODELS 5 #define NUM_OF_STATES 5 /*------------------------------------------------------------------------ forward declaration of classes ------------------------------------------------------------------------*/ class HMM_State; class HMM_Matrix; class HMM_Model; class HMM_Trans_State; class Linked_List; class Score_Hyp; class Grammar; class Trans_State; #endif