台灣發音英文數字之腔調 語音辨識系統 (taiwanese-accent english digit recognition...
DESCRIPTION
台灣發音英文數字之腔調 語音辨識系統 (Taiwanese-accent English digit recognition system). 團隊組員 : 金柏均 劉耀仁 指導老師 : 黃志賢 老師. 第六次進度報告. 語料庫總計表. #include #include #include #define BUFFERSIZE 1000 int main(void) { FILE * pFile_Read1 = NULL; FILE * pFile_Read2 = NULL; - PowerPoint PPT PresentationTRANSCRIPT
團隊組員 : 金柏均 劉耀仁指導老師 : 黃志賢 老師
第六次進度報告
來源語料 CD 性別 未篩選檔案數量 篩選後檔案數量CD2 女 30094 個 1200 個CD2 男 11977 個 419 個CD3 女 15540 個 626 個CD3 男 25432 個 1021 個
#include <stdio.h> #include <stdlib.h> #include <string.h> #define BUFFERSIZE 1000 int main(void) { FILE * pFile_Read1 = NULL; FILE * pFile_Read2 = NULL; char * pch; int i; char buffer1[BUFFERSIZE] = {0}; char buffer2[BUFFERSIZE] = {0}; char temp[BUFFERSIZE] = {0}; char str[256];
char number[22][8]= {"oh","zero","one","two","three","four","five","six","seven","eight","nine",
"Oh","Zero","One","Two","Three","Four","Five","Six","Seven","Eight","Nine"};
int isFound; pFile_Read2 = fopen("C:\\Documents and Settings\\Administrator\\ 桌面 if ( pFile_Read2 == NULL ) { printf(" 讀取失敗 \n"); } else { while( feof(pFile_Read2) == 0 ){ fgets(str,BUFFERSIZE,pFile_Read2); fgets(buffer1,BUFFERSIZE,pFile_Read2); memcpy(temp,buffer1,BUFFERSIZE); pch = strtok(temp," ,:.\n");
isFound = 0; while(pch != NULL) { for(i=0; i<22; i++) { if(strcmp(pch,number[i])==0){ printf("\%s\%s\n",str,buffer1); isFound = 1; } } if(isFound) break; else pch = strtok(NULL," ,:.\n");
} } fclose(pFile_Read2); system("PAUSE"); return 0; } }
此次進度工作分配金柏均 : 路徑內容分類程式檢查分類正確性劉耀仁 :路徑內容分類程式檢查分類正確性
工作內容 進度將篩選後單字列表 進行中
使用 HTKtools 將音訊資料取出 寒假進行訓練語料庫 寒假進行
系統介面 寒假進行
報告結束 謝謝各位