0001 function output=asraOutputXmlRead(xmlFile)
0002
0003
0004
0005
0006
0007 if nargin<1, xmlFile='what_would_you_like_to_know.xml'; end
0008
0009 output=xml_parse(fileread(xmlFile));
0010 for i=1:length(output.confidenceMeasure.word)
0011 for j=1:length(output.confidenceMeasure.word(i).phone)
0012 output.confidenceMeasure.word(i).phone(j).competingModel=split(output.confidenceMeasure.word(i).phone(j).competingModel, ' ');
0013 output.confidenceMeasure.word(i).phone(j).competingModelLogProb=eval(['[', output.confidenceMeasure.word(i).phone(j).competingModelLogProb, ']']);
0014 end
0015 end