quick start:g++ [flags ...] file ... -l /isip/tools/lib/$ISIP_BINARY/lib_asr.a #include <SpeakerVerifier.h> SpeakerVerifier(); boolean setParam(const Filename& arg); boolean setVerify(boolean verify); boolean run(Sdb& sdb);
description:SpeakerVerifier sv; sv.setParam(L"diagnose_params.sof"); Sdb raw_list_sdb; boolean is_list = true; raw_list_sdb.append(L"diagnose_mfcc_list.sof", is_list); sv.run(sdb);
static const String CLASS_NAME = L"SpeakerVerifier";
enum ALGORITHM { HMM = 0, SVM, RVM, DEF_ALGORITHM = HMM };
static const long ERR = 110000;
ALGORITHM algorithm_d;
boolean verify_d;
Filename param_file_name_d;
VerifyHMM hmm_d;
SupportVectorMachine svm_d;
RelevanceVectorMachine rvm_d;
static Integral::DEBUG debug_level_d;
static Integral::DEBUG verbosity_d;
static MemoryManager mgr_d;
static const String& name();
static boolean diagnose(Integral::DEBUG debug_level);
boolean setDebug(Integral::DEBUG debug_level);
~SpeakerVerifier();
SpeakerVerifier();
boolean setAlgorithm(ALGORITHM algorithm);
boolean setParam(String param_file_name);
ALGORITHM getAlgorithm() const;
boolean run(Sdb& sdb);
boolean run(Sdb& pos_sdb, Sdb& neg_sdb);
// declare a speaker verifier object // SpeakerVerifier sv; // set up the speaker verifier parameters // sv.setParam(L"params.sof"); // setup the input speech file list // Sdb raw_list_sdb; boolean is_list = true; raw_list_sdb.append(L"test_list.sof", is_list); // run the speaker verifier on the input speech file list // sv.run(raw_list_sdb);