Companion

object Companion

Functions

Link copied to clipboard
fun align(reference: String, heard: String, locale: Locale = Locale.US): TranscriptAlignment

Aligns a plain heard transcript, with no confidences, against a reference text.

fun align(reference: String, heard: List<TranscriptToken>, lowConfidenceThreshold: Float = DEFAULT_LOW_CONFIDENCE_THRESHOLD, locale: Locale = Locale.US): TranscriptAlignment

Aligns heard words against a reference text.