Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

TranscribedPhrase Class

Definition

Namespace:
Azure.AI.Speech.Transcription
Assembly:
Azure.AI.Speech.Transcription.dll
Package:
Azure.AI.Speech.Transcription v1.0.0
Package:
Azure.AI.Speech.Transcription v1.0.0-beta.2
Source:
TranscribedPhrase.cs
Source:
TranscribedPhrase.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Represents a transcribed phrase with timing, speaker, and word-level details.

public class TranscribedPhrase : System.ClientModel.Primitives.IJsonModel<Azure.AI.Speech.Transcription.TranscribedPhrase>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Speech.Transcription.TranscribedPhrase>
type TranscribedPhrase = class
 interface IJsonModel<TranscribedPhrase>
 interface IPersistableModel<TranscribedPhrase>
Public Class TranscribedPhrase
Implements IJsonModel(Of TranscribedPhrase), IPersistableModel(Of TranscribedPhrase)
Inheritance
TranscribedPhrase
Implements

Remarks

Collections exposed by this class (such as Words) use IList for compatibility but should be treated as read-only. Modifying collection contents may lead to unexpected behavior and is not supported.

Properties

Name Description
Confidence

The confidence value for the phrase.

Duration

The duration of the phrase.

Locale

The locale of the phrase.

Offset

The start offset of the phrase.

Speaker

A unique integer number that is assigned to each speaker detected in the audio without particular order. Only present if speaker diarization is enabled.

Text

The transcribed text of the phrase.

Words

The words that make up the phrase. Only present if word-level timestamps are enabled.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<TranscribedPhrase>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<TranscribedPhrase>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<TranscribedPhrase>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<TranscribedPhrase>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<TranscribedPhrase>.Write(ModelReaderWriterOptions)

Applies to


Feedback

Was this page helpful?