Use an SFTranscriptionSegment object to get details about a portion of an overall transcription. You do not create transcription object segments directly. Instead, they are created for you and delivered in the SFTranscription object that is included with any speech recognition results.
Each transcription segment includes the following information:
The text of the segment, plus any alternative interpretations of the spoken word.
The character range of the segment within the formattedString of its parent SFTranscription object.
A confidence value, indicating how likely the specified string matches the audible speech.
A timestamp and duration value, indicating the position of the segment within the provided audio stream.