Share via


WordLevelTiming Class

Definition

Word-level timing information that the speech-to-text API generates. The words in this object should have 1:1 correspondence with the lexical input to allow for audio redaction.

public class WordLevelTiming : System.ClientModel.Primitives.IJsonModel<Azure.AI.Language.Conversations.Models.WordLevelTiming>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Language.Conversations.Models.WordLevelTiming>
type WordLevelTiming = class
    interface IJsonModel<WordLevelTiming>
    interface IPersistableModel<WordLevelTiming>
Public Class WordLevelTiming
Implements IJsonModel(Of WordLevelTiming), IPersistableModel(Of WordLevelTiming)
Inheritance
WordLevelTiming
Implements

Constructors

WordLevelTiming()

Initializes a new instance of WordLevelTiming.

Properties

Duration

Duration of word articulation, in ticks. 1 tick = 100 nanoseconds.

Offset

Offset from the start of speech audio, in ticks. 1 tick = 100 nanoseconds.

Word

Recognized word.

Explicit Interface Implementations

IJsonModel<WordLevelTiming>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<WordLevelTiming>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<WordLevelTiming>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<WordLevelTiming>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<WordLevelTiming>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to