Skip to content

Commit 51bbb70

Browse files
author
Wolfgang Manousek
committed
fix some formatting problem in result schema
1 parent e0b68fb commit 51bbb70

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

articles/cognitive-services/Speech-Service/batch-transcription.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -115,41 +115,41 @@ For mono input audio, one transcription result file is being created. For stereo
115115
"Display": string
116116
}
117117
]
118-
SegmentResults:[ 'for each individual segment'
118+
SegmentResults:[ 'for each individual segment'
119119
{
120-
"RecognitionStatus": Success | Failure
120+
"RecognitionStatus": "Success | Failure"
121121
"ChannelNumber": null
122-
"SpeakerId": null | "1 | 2" 'null if no diarization
123-
or stereo input file, the
124-
speakerId as a string if
125-
diarization requested for
126-
mono audio file'
127-
"Offset": number 'time in milliseconds'
128-
"Duration": number 'time in milliseconds'
129-
"OffsetInSeconds" : number 'Real number. Two decimal places'
130-
"DurationInSeconds" : number 'Real number. Two decimal places'
122+
"SpeakerId": null | "1 | 2" 'null if no diarization
123+
or stereo input file, the
124+
speakerId as a string if
125+
diarization requested for
126+
mono audio file'
127+
"Offset": number 'time in milliseconds'
128+
"Duration": number 'time in milliseconds'
129+
"OffsetInSeconds" : number 'Real number. Two decimal places'
130+
"DurationInSeconds" : number 'Real number. Two decimal places'
131131
"NBest": [
132132
{
133-
"Confidence": number 'between 0 and 1'
133+
"Confidence": number 'between 0 and 1'
134134
"Lexical": string
135135
"ITN": string
136136
"MaskedITN": string
137137
"Display": string
138138
"Sentiment":
139-
{ 'this is omitted if sentiment is
140-
not requested'
139+
{ 'this is omitted if sentiment is
140+
not requested'
141141
"Negative": number 'between 0 and 1'
142142
"Neutral": number 'between 0 and 1'
143143
"Positive": number 'between 0 and 1'
144144
}
145145
"Words": [
146146
{
147147
"Word": string
148-
"Offset": number 'time in milliseconds'
149-
"Duration": number 'time in milliseconds'
150-
"OffsetInSeconds": number 'Real number. Two decimal places'
151-
"DurationInSeconds": number 'Real number. Two decimal places'
152-
"Confidence": number 'between 0 and 1'
148+
"Offset": number 'time in milliseconds'
149+
"Duration": number 'time in milliseconds'
150+
"OffsetInSeconds": number 'Real number. Two decimal places'
151+
"DurationInSeconds": number 'Real number. Two decimal places'
152+
"Confidence": number 'between 0 and 1'
153153
}
154154
]
155155
}

0 commit comments

Comments
 (0)