Home › Forums › OpenEars › How to compare the recognised result with already known answer? › Reply To: How to compare the recognised result with already known answer?
OK, I understand now what you want to do — you want to compare two audio files: an existing recording and the new incoming speech from the user, correct? There is no way to do this which is highly accurate because things like background noise and microphone distance will affect the score more than correctness will.
If it’s just for fun and not a crucial application, you can put your original file through runRecognitionOnWavFileAtPath:usingLanguageModelAtPath:dictionaryAtPath:languageModelIsJSGF: and compare the score to the score of the incoming speech.