keenasr-web - v2.0.5
    Preparing search index...

    Interface ASRWord

    ASRWord provides word text, timing information, and the confidence of the word.

    NOTE: that in certain circumstances startTime, duration, and confidence may be null.

    interface ASRWord {
        confidence: number;
        duration: number;
        phones: ASRPhone[];
        startTime: number;
        text: string;
    }
    Index

    Properties

    confidence: number

    Confidence in the range 0 to 1 for the word. Higher value corresponds to better confidence that the recognized text matches what was said.

    duration: number

    Duration, in seconds, for this word.

    phones: ASRPhone[]

    An array of ARSPhone objects that comprise this ASRWord.

    startTime: number

    Start time, in seconds, for this word relative to when the recognizer started to listen.

    text: string

    Text of the word.