Beispiel #1
0
 private void CountErrorRates(ref Transcription transcription)
 {
     if (transcription.MetricsId.HasValue)
     {
         transcription.Metrics.WordErrorRate = StringDistance.CountWordErrorRate(transcription.AgentTranscription, transcription.DeepSpeechTranscription);
         transcription.Metrics.CharErrorRate = StringDistance.CountCharErrorRate(transcription.AgentTranscription, transcription.DeepSpeechTranscription);
     }
 }