Skip to content

Commit e6ce839

Browse files
authored
Update csharp.md
1 parent bc426f1 commit e6ce839

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)