00001 #pragma once 00002 00003 #include "HLabDTWRecogConfig.h" 00004 00005 #include "HLabPhoneList.h" 00006 #include "HLabDict.h" 00007 #include "HLabControl.h" 00008 #include "HLabTranscription.h" 00009 #include "HLabDTW.h" 00010 #include "HLabFeat.h" 00011 00012 class CHLabDTWRecog 00013 { 00014 CHLabDTWRecogConfig m_compMVConfig; 00015 CHLabPhoneList m_phoneList; 00016 CHLabDict m_dict; 00017 CHLabControl m_control; 00018 CHLabTranscription m_transcription; 00019 int m_iNumRef; 00020 00021 // 00022 // 00023 // test and the reference feat 00024 // 00025 CHLabFeat* m_pRefFeat; 00026 CHLabFeat m_testFeat; 00027 00028 CHLabDTW* m_pDTW; 00029 int* m_piActiveList; 00030 00031 00032 00033 public: 00034 CHLabDTWRecog(void); 00035 00036 int ParseCommandLine(int argc, char** argv); 00037 00038 int Init(void); 00039 00040 int Run(void); 00041 00042 int ReadingRef(void); 00043 00044 virtual ~CHLabDTWRecog(void); 00045 };