TranscribedPhrase Class
Definition
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. |