⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dec_lat_0.cc

📁 这是处理语音信号的程序
💻 CC
字号:
// file: dec_lat_0.cc// // isip include files//#include "decoder.h"#include "decoder_constants.h" // method: read_lattice_cc//// arguments://  FILE* fp: (input) file pointer//  // return: a logical_1 indicating status//// this method reads in the lattice data from file into an lattice// object, and then compresses it into a compact form//logical_1 Decoder::read_lattice_cc(FILE* fp_a) {  // check file  //  if (fp_a == (FILE*)NULL) {    error_handler_cc((char_1*)"read_lattice_cc",		     (char_1*)"NULL input file pointer");  }    // initialize lattice if not done so  //  if (lattice_d == (Lattice*)NULL) {    lattice_d = new Lattice();  }  // read the lattice from file  //  lattice_d->read_lattice_cc(fp_a, lexicon_d);  // now compact this lattice  //  Lattice* newlat = (Lattice*)NULL;  lattice_d->reduce_lattice_cc(newlat);    // replace the old lattice with the compact one  //  delete lattice_d;  lattice_d = newlat;  // exit gracefully  //  return ISIP_TRUE;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -