Skip to content

Commit 8c1130b

Browse files
committed
update
1 parent 046e242 commit 8c1130b

File tree

7 files changed

+1
-37
lines changed

7 files changed

+1
-37
lines changed

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,6 @@ The Speech service returns the offset and duration of the recognized speech.
1919

2020
[!INCLUDE [Define offset and duration](define-offset-duration.md)]
2121

22-
Here's an example where the offset starts incrementing in ticks from `0` (zero):
23-
24-
```csharp
25-
speechRecognizer->StartContinuousRecognitionAsync().get();
26-
```
27-
2822
The end of a single utterance is determined by listening for silence at the end. You won't get the final recognition result until an utterance has completed. Recognizing events will provide intermediate results that are subject to change while an audio stream is being processed. Recognized events will provide the final transcribed text once processing of an utterance is completed.
2923

3024
### Recognizing offset and duration

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,6 @@ The Speech service returns the offset and duration of the recognized speech.
1919

2020
[!INCLUDE [Define offset and duration](define-offset-duration.md)]
2121

22-
Here's an example where the offset starts incrementing in ticks from `0` (zero):
23-
24-
```csharp
25-
await speechRecognizer.StartContinuousRecognitionAsync().ConfigureAwait(false);
26-
```
27-
2822
The end of a single utterance is determined by listening for silence at the end. You won't get the final recognition result until an utterance has completed. Recognizing events will provide intermediate results that are subject to change while an audio stream is being processed. Recognized events will provide the final transcribed text once processing of an utterance is completed.
2923

3024
### Recognizing offset and duration

articles/cognitive-services/Speech-Service/includes/how-to/recognize-speech-results/define-offset-duration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ ms.date: 04/13/2022
77
ms.author: eur
88
---
99

10-
- **Offset**: The duration offset into the stream of audio that is being recognized. Offset starts incrementing in ticks from `0` (zero) when the first audio byte is processed by the SDK. For example, the offset begins when you start continuous recognition, since that's when the SDK starts processing the audio stream. One tick represents one hundred nanoseconds or one ten-millionth of a second.
10+
- **Offset**: The offset into the audio stream being recognized, expressed as duration. Offset is measured in ticks, starting from `0` (zero) tick, associated with the first audio byte processed by the SDK. For example, the offset begins when you start continuous recognition, since that's when the SDK starts processing the audio stream. One tick represents one hundred nanoseconds or one ten-millionth of a second.
1111
- **Duration**: Duration of the utterance that is being recognized. The duration in ticks doesn't include trailing or leading silence.

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,6 @@ The Speech service returns the offset and duration of the recognized speech.
1919

2020
[!INCLUDE [Define offset and duration](define-offset-duration.md)]
2121

22-
Here's an example where the offset starts incrementing in ticks from `0` (zero):
23-
24-
```go
25-
speechRecognizer.StartContinuousRecognitionAsync()
26-
```
27-
2822
The end of a single utterance is determined by listening for silence at the end. You won't get the final recognition result until an utterance has completed. Recognizing events will provide intermediate results that are subject to change while an audio stream is being processed. Recognized events will provide the final transcribed text once processing of an utterance is completed.
2923

3024
### Recognizing offset and duration

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,6 @@ The Speech service returns the offset and duration of the recognized speech.
1919

2020
[!INCLUDE [Define offset and duration](define-offset-duration.md)]
2121

22-
Here's an example where the offset starts incrementing in ticks from `0` (zero):
23-
24-
```java
25-
speechRecognizer.startContinuousRecognitionAsync().get();
26-
```
27-
2822
The end of a single utterance is determined by listening for silence at the end. You won't get the final recognition result until an utterance has completed. Recognizing events will provide intermediate results that are subject to change while an audio stream is being processed. Recognized events will provide the final transcribed text once processing of an utterance is completed.
2923

3024
### Recognizing offset and duration

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,6 @@ The Speech service returns the offset and duration of the recognized speech.
1919

2020
[!INCLUDE [Define offset and duration](define-offset-duration.md)]
2121

22-
Here's an example where the offset starts incrementing in ticks from `0` (zero):
23-
24-
```javascript
25-
speechRecognizer.startContinuousRecognitionAsync();
26-
```
27-
2822
The end of a single utterance is determined by listening for silence at the end. You won't get the final recognition result until an utterance has completed. Recognizing events will provide intermediate results that are subject to change while an audio stream is being processed. Recognized events will provide the final transcribed text once processing of an utterance is completed.
2923

3024
### Recognizing offset and duration

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,6 @@ The Speech service returns the offset and duration of the recognized speech.
1919

2020
[!INCLUDE [Define offset and duration](define-offset-duration.md)]
2121

22-
Here's an example where the offset starts incrementing in ticks from `0` (zero):
23-
24-
```python
25-
speech_recognizer.start_continuous_recognition()
26-
```
27-
2822
The end of a single utterance is determined by listening for silence at the end. You won't get the final recognition result until an utterance has completed. Recognizing events will provide intermediate results that are subject to change while an audio stream is being processed. Recognized events will provide the final transcribed text once processing of an utterance is completed.
2923

3024
### Recognizing offset and duration

0 commit comments

Comments
 (0)