forked from Azure-Samples/cognitive-services-speech-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
transcription_result.cs
37 lines (32 loc) · 980 Bytes
/
transcription_result.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.
//
namespace BatchClient
{
using System.Collections.Generic;
public class AudioFileResult
{
public string AudioFileName { get; set; }
public List<SegmentResult> SegmentResults { get; set; }
}
public class RootObject
{
public List<AudioFileResult> AudioFileResults { get; set; }
}
public class NBest
{
public double Confidence { get; set; }
public string Lexical { get; set; }
public string ITN { get; set; }
public string MaskedITN { get; set; }
public string Display { get; set; }
}
public class SegmentResult
{
public string RecognitionStatus { get; set; }
public string Offset { get; set; }
public string Duration { get; set; }
public List<NBest> NBest { get; set; }
}
}