Home > asr > cm2labFile.m

cm2labFile

PURPOSE ^

SYNOPSIS ^

function cm2labFile(cmObj, labFile)

DESCRIPTION ^

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function cm2labFile(cmObj, labFile)
0002 
0003 fid=fopen(labFile, 'w');
0004 for i=1:length(cmObj.word)
0005     for j=1:length(cmObj.word(i).phone)
0006         fprintf(fid, '%d %d %s\n', cmObj.word(i).phone(j).time(1), cmObj.word(i).phone(j).time(2), cmObj.word(i).phone(j).name);
0007     end
0008 end
0009 fclose(fid);

Generated on Tue 01-Jun-2010 09:50:19 by m2html © 2003