nnode_01.cc

来自「这是一个从音频信号里提取特征参量的程序」· CC 代码 · 共 73 行

CC
73
字号
// file: $isip/class/pr/NGramNode/nnode_01.cc// version: $Id: nnode_01.cc,v 1.3 2002/06/27 12:43:32 zheng Exp $//// isip include files//#include "NGramNode.h"// method: debug//// arguments://  const unichar* msg: (input) message to print//// return: a boolean value indicating status//boolean NGramNode::debug(const unichar* msg_a) const {  // declare local variables  //    String value;  String output;  String empty_str;  // output the information message  //  output.debugStr(name(), msg_a, L":");  Console::put(output);  // increase the indentation  //    Console::increaseIndention();  // display the symbol index number  //  value.assign(index_d);  output.debugStr(name(), empty_str, L"index_d", value);  Console::put(output);  // display the language model score  //  value.assign(lm_score_d);  output.debugStr(name(), empty_str, L"lm_score_d", value);  Console::put(output);    // display the backoff score  //  value.assign(backoff_d);  output.debugStr(name(), empty_str, L"backoff_d", value);  Console::put(output);    // display the hash table  //  output.debugStr(name(), msg_a, L"next_gram_d = ");  if (next_gram_d != NULL) {    value.assign((long)next_gram_d);    output.concat(value);    Console::put(output);    //    next_gram_d->debug(L"next gram");  }  else {    output.concat(L"NULL");    Console::put(output);  }  // decrease indention  //  Console::decreaseIndention();    // exit gracefully  //  return true;}

⌨️ 快捷键说明

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