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

📄 rdterm.c

📁 about sound recognition.i want to downlod
💻 C
字号:
/* * Copyright (c) 1991-2006 Kawahara Lab., Kyoto University * Copyright (c) 2000-2005 Shikano Lab., Nara Institute of Science and Technology * Copyright (c) 2005-2006 Julius project team, Nagoya Institute of Technology * All rights reserved */#include <sent/stddefs.h>#include <sent/vocabulary.h>#include <sent/dfa.h>#include <sent/speech.h>#include "common.h"voidinit_term(char *filename, char **termname){  FILE *fd;  int n;  static char buf[512];    j_printerr("Reading in term file (optional)...");    if ((fd = fopen_readfile(filename)) == NULL) {    termname[0] = NULL;    j_printerr("not found\n");    return;  }  while (getl(buf, sizeof(buf), fd) != NULL) {    n = atoi(first_token(buf));    termname[n] = strdup(next_token());  }  if (fclose_readfile(fd) == -1) {    j_printerr("close error\n");    exit(1);  }  j_printerr("done\n");}

⌨️ 快捷键说明

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