📄 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 + -