Instance Property

substringRange

The range information for this transcription segment's substring, relative to the overall hypothesized transcription.

Declaration

var substringRange: NSRange { get }

Discussion

Use the range information to find the position of the segment within the formattedString property of the SFTranscription object containing this segment.

See Also

Getting the Segment's Recognized Text

var substring: String

The string representation of the utterance in this transcription segment.

var alternativeSubstrings: [String]

An array of alternate interpretations of the utterance in this transcription segment.