Mercurial > hg > easaier-soundaccess
comparison widgets/SpeechFileHandler.cpp @ 263:63a485275ed6
Speech recognition is integrated
author | benoitrigolleau |
---|---|
date | Fri, 20 Jun 2008 14:06:54 +0000 |
parents | 3f41cb822166 |
children | 96121bc067fb |
comparison
equal
deleted
inserted
replaced
262:3f41cb822166 | 263:63a485275ed6 |
---|---|
37 _currentTag = localName; | 37 _currentTag = localName; |
38 if(localName == _tag_vocal_query_result){ | 38 if(localName == _tag_vocal_query_result){ |
39 for(int i = 0 ; i < attribs.length() ; i++){ | 39 for(int i = 0 ; i < attribs.length() ; i++){ |
40 QString aux = attribs.localName(i); | 40 QString aux = attribs.localName(i); |
41 if(aux==_tag_word){ | 41 if(aux==_tag_word){ |
42 _result+="<b>"; | |
42 _result+=attribs.value(i); | 43 _result+=attribs.value(i); |
44 _result+="</b>"; | |
43 }else if(aux == _tag_confidence){ | 45 }else if(aux == _tag_confidence){ |
44 _result+="\t"; | 46 _result+=" "; |
45 _result+=attribs.value(i); | 47 _result+=attribs.value(i); |
46 } | 48 } |
47 } | 49 } |
48 } | 50 } |
49 return true; | 51 return true; |