quick start:g++ [flags ...] file ... -l /isip/tools/lib/$ISIP_BINARY/lib_pr.a #include <VerifyHMM.h> VerifyHMM(); boolean run(Sdb& sdb);
description:VerifyHMM hmm; hmm.setParamFile(L"diagnose_params.sof"); Sdb raw_list_sdb; boolean is_list = true; raw_list_sdb.append(L"diagnose_mfcc_list.sof", is_list); hmm.run(sdb);
static const String CLASS_NAME;
enum ALGORITHM { VERIFY = 0, TRAIN, MIXTURE_SPLITTING, DEF_ALGORITHM = VERIFY };
enum IMPLEMENTATION { LIKELIHOOD_RATIO = 0, BAUM_WELCH, VARIANCE_SPLITTING, LIKELIHOOD, DEF_IMPLEMENTATION = LIKELIHOOD_RATIO };
static const NameMap IMPL_MAP;
static const NameMap ALGO_MAP;
static const String PARAM_IMPOSTER_LANGUAGE_MODEL;
static const String PARAM_IMPOSTER_STATISTICAL_MODEL_POOL;
static const String PARAM_DECISION_THRESHOLDS;
static const String DEF_DECISION_THRESHOLDS;
ALGORITHM algorithm_d;
IMPLEMENTATION implementation_d;
Filename imp_lm_file_d;
Filename imp_smp_file_d;
VectorFloat decision_thresholds_d;
HierarchicalSearch imp_search_engine_d;
static MemoryManager mgr_d;
static const String& name();
static boolean diagnose(Integral::DEBUG debug_level);
~VerifyHMM();
VerifyHMM();
VerifyHMM(const VerifyHMM& arg);
boolean assign(const VerifyHMM& arg);
not present.
long sofSize() const;
boolean read(Sof& sof, long tag, const String& name = CLASS_NAME);
boolean write(Sof& sof, long tag, const String& name = CLASS_NAME) const;
boolean readData(Sof& sof, const String& pname = DEF_PARAM, long size = SofParser::FULL_OBJECT, boolean param = true, boolean nested = false);
boolean writeData(Sof& sof, const String& param = DEF_PARAM) const;
not present.
static void* operator new(size_t size);
static void* operator new[](size_t size);
static void operator delete(void* ptr);
static void operator delete[](void* ptr);
static boolean setGrowSize(long grow_size);
ALGORITHM getAlgorithm();
boolean setAlgorithm(ALGORITHM arg);
IMPLEMENTATION getImplementation();
boolean setImplementation(IMPLEMENTATION arg);
Filename& getImposterLanguageModelFile();
boolean setImposterLanguageModelFile(const Filename& arg);
Filename& getImposterStatisticalModelPoolFile();
boolean setImposterStatisticalModelPoolFile(const Filename& arg);
VectorFloat getDecisionThresholds();
boolean setDecisionThresholds(VectorFloat decision_thresholds);
boolean verify(Sdb& sdb);
boolean run(Sdb& sdb);
boolean load();
// declare a VerifyHMM object // VerifyHMM hmm; // set up the param file for hmm and front end specification // hmm.setParamFile(L"diagnose_params.sof"); // setup the input speech file list // Sdb raw_list_sdb; boolean is_list = true; raw_list_sdb.append(L"diagnose_raw_list.sof", is_list); // run the VerifyHMM verifier on the input speech file list // hmm.run(raw_list_sdb);