withTranscriptEditor

fun withTranscriptEditor(editor: TranscriptEditor): TrayConfig.Builder

Register a transcript editor to be applied to ASR results before they are sent to the NLU for classification. This can be useful for, e.g., correcting domain-specific terminology that ASR consistently misrecognizes.

Parameters

editor

The editor to apply to ASR transcripts.