00001 #pragma once 00002 00003 #include "HLabViterbiRecogConfig.h" 00004 #include "HLabFeat.h" 00005 #include "HLabPhoneList.h" 00006 #include "HLabDict.h" 00007 #include "HLabControl.h" 00008 #include "HLabTranscription.h" 00009 #include "HLabHMM.h" 00010 #include "HLabViterbi.h" 00011 #include "HLabWordViterbi.h" 00012 #include "HLabBPTable.h" 00013 #include "HLabLM.h" 00014 00015 class CHLabViterbiRecog 00016 { 00017 CHLabViterbiRecogConfig m_compMVConfig; 00018 CHLabPhoneList m_phoneList; 00019 CHLabDict m_dict; 00020 CHLabControl m_control; 00021 CHLabTranscription m_transcription; 00022 CHLabHMM* m_pHMM; 00023 CHLabFeat m_testFeat; 00024 CHLabViterbi* m_pViterbi; 00025 CHLabWordViterbi* m_pWordViterbi; 00026 CHLabBPTable m_BPTable; 00027 CHLabLM m_LM; 00028 00029 00030 public: 00031 CHLabViterbiRecog(void); 00032 00033 int ParseCommandLine(int argc, char** argv); 00034 00035 00043 int Init(void); 00044 00052 int Run(void); 00053 00054 virtual ~CHLabViterbiRecog(void); 00055 };