AiliaSpeechText

data class AiliaSpeechText(var text: String? = null, var timeStampBegin: Float = 0.0f, var timeStampEnd: Float = 0.0f, var speakerId: Int = 0, var language: String? = null, var confidence: Float = 0.0f)

Result of the speech recognition.

Constructors

Link copied to clipboard
constructor(text: String? = null, timeStampBegin: Float = 0.0f, timeStampEnd: Float = 0.0f, speakerId: Int = 0, language: String? = null, confidence: Float = 0.0f)

Properties

Link copied to clipboard

Confidence of the recognition.

Link copied to clipboard

Detected language code.

Link copied to clipboard

Speaker ID assigned by speaker diarization, or AILIA_SPEECH_SPEAKER_ID_UNKNOWN when diarization is disabled.

Link copied to clipboard
var text: String?

Recognized text (UTF-8).

Link copied to clipboard

Start time of the text in seconds.

Link copied to clipboard

End time of the text in seconds.