00001 #pragma once 00002 00003 #include "HLabViterbiTrainingConfig.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 "HLabViterbiAlignment.h" 00011 #include "HLabAccum.h" 00012 00013 00014 class CHLabViterbiTraining 00015 { 00016 00017 CHLabViterbiTrainingConfig m_viterbiTrainingConfig; 00018 CHLabPhoneList m_phoneList; 00019 CHLabDict m_dict; 00020 CHLabControl m_control; 00021 CHLabTranscription m_transcription; 00022 CHLabHMM* m_pHMM; 00023 CHLabAccum* m_pAccum; 00024 CHLabViterbiAlignment m_viterbiAlignment; 00025 00026 00027 public: 00028 CHLabViterbiTraining(void); 00029 virtual ~CHLabViterbiTraining(void); 00030 00031 00032 00033 00041 int Init(void); 00042 00049 int Run(void); 00050 00057 int ParseCommandLine(int argc, char** argv); 00058 00059 };