Skip to content

Commit 3f3d04e

Browse files
Merge pull request #210671 from eric-urban/patch-1
Update csharp.md
2 parents 1fcfb06 + e6ce839 commit 3f3d04e

File tree

1 file changed

+2
-2
lines changed
  • articles/cognitive-services/Speech-Service/includes/how-to/recognize-speech

1 file changed

+2
-2
lines changed

articles/cognitive-services/Speech-Service/includes/how-to/recognize-speech/csharp.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,11 +320,11 @@ speechConfig.SetProperty(PropertyId.Speech_SegmentationSilenceTimeoutMs, "2000")
320320
**Example:** a recorded presenter's speech is fast enough that several sentences in a row get combined, with big recognition results only arriving once or twice per minute. In this case, setting the segmentation silence timeout to a lower value like 300ms could help:
321321

322322
```csharp
323-
speechConfig.setProperty(PropertyId.Speech_SegmentationSilenceTimeoutMs, "300");
323+
speechConfig.SetProperty(PropertyId.Speech_SegmentationSilenceTimeoutMs, "300");
324324
```
325325

326326
**Example:** a single-shot recognition asking a speaker to find and read a serial number ends too quickly while the number is being found. In this case, a longer initial silence timeout like 10000ms could help:
327327

328328
```csharp
329-
speechConfig.setProperty(PropertyId.SpeechServiceConnection_InitialSilenceTimeoutMs, "10000");
329+
speechConfig.SetProperty(PropertyId.SpeechServiceConnection_InitialSilenceTimeoutMs, "10000");
330330
```

0 commit comments

Comments
 (0)