Skip to content

Commit 70e0f04

Browse files
jimxieieric-urban
andauthored
Update articles/cognitive-services/Speech-Service/includes/how-to/conversation-transcription/real-time-csharp.md
Co-authored-by: Eric Urban <[email protected]>
1 parent 60089d1 commit 70e0f04

File tree

1 file changed

+1
-2
lines changed
  • articles/cognitive-services/Speech-Service/includes/how-to/conversation-transcription

1 file changed

+1
-2
lines changed

articles/cognitive-services/Speech-Service/includes/how-to/conversation-transcription/real-time-csharp.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,7 @@ This sample code does the following:
108108
> [!NOTE]
109109
> `AudioStreamReader` is a helper class you can get on [GitHub](https://github.com/Azure-Samples/cognitive-services-speech-sdk/blob/master/quickstart/csharp/dotnet/conversation-transcription/helloworld/AudioStreamReader.cs).
110110
111-
> [!NOTE]
112-
> If speaker identification or differentiate is enabled, even you have received `Transcribed` results, service is still evaluating them by accumulated audio information. When service finds any previous result assigned a wrong `UserId`, it will send out an almost same `Transcribed` result again, but only the `UserId` and `UtteranceId` are different. Since the `UtteranceId` format is `{index}_{UserId}_{Offset}`, when you receive a `Transcribed` result, you could use `UtteranceId` to determine if current `Transcribed` result is going to correct previous one. Your client or UI logic could decide behaviors, like overwriting previous output, or just ignore the current one.
111+
If speaker identification or differentiate is enabled, then even if you have already received `Transcribed` results, the service is still evaluating them by accumulated audio information. If the service finds that any previous result was assigned an incorrect `UserId`, then a nearly identical `Transcribed` result will be sent again, where only the `UserId` and `UtteranceId` are different. Since the `UtteranceId` format is `{index}_{UserId}_{Offset}`, when you receive a `Transcribed` result, you could use `UtteranceId` to determine if the current `Transcribed` result is going to correct a previous one. Your client or UI logic could decide behaviors, like overwriting previous output, or to ignore the latest result.
113112

114113
Call the function `TranscribeConversationsAsync()` to start conversation transcription.
115114

0 commit comments

Comments
 (0)