?? test_hmm.cc
字號:
// file : hmm.cc// authors: Richard Myers and Jim Whitson// version: 1.03 [August 21, 1995]#include <stdio.h>#include <stdlib.h>#include <iostream.h>#include <fstream.h>#include <string.h>#include "hmm.h"main(int argc, char* argv[]){ // check args if (argc < 3) { cerr << "ERROR: Too few arguments.\n\n" << "Usage: "<< argv[0]<<" <test_file> <initial_model>\n"; exit (-1); } // get command line parms char* train_file=argv[1]; char* initial_model=argv[2]; // initialize model from model file HMM *hmm = new HMM(initial_model); // test model on data hmm->batch_test(train_file);}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -