Skip to content
This repository has been archived by the owner on Oct 13, 2021. It is now read-only.

Commit

Permalink
Transcript - Support for "Word" in JSON TranscriptionResults
Browse files Browse the repository at this point in the history
  • Loading branch information
msimecek committed Jun 6, 2019
1 parent 78d057d commit 35e781a
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion SpeechCLI/SDK/Models/TranscriptionResult.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;

namespace CRIS.Models
Expand Down Expand Up @@ -30,6 +33,15 @@ public class Nbest
public string ITN { get; set; }
public string MaskedITN { get; set; }
public string Display { get; set; }
public Word[] Words { get; set; }
}

public class Word
{
[JsonProperty("Word")]
public string WordText { get; set; }
public long Offset { get; set; }
public long Duration { get; set; }
}

}

0 comments on commit 35e781a

Please sign in to comment.