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

    Interface ASRPhone

    ASRPhone represents a phone (speech segment that possesses distinct physical or perceptual properties and serves as the basic unit of phonetic speech analysis). ASR Bundle used to initialize the recognizer will contain a list of phones that were used to train the models. In the context of KeenASR SDK, each recognized word is represented via ASRWord object, which will contain an array of ASRPhone object that correspond to the most likely phonetic transcription of the given word.

    interface ASRPhone {
        duration: number;
        pronunciationScore: number;
        startTime: number;
        text: string;
    }
    Index

    Properties

    duration: number

    Duration, in seconds, for this phone.

    pronunciationScore: number

    Pronunciation score in the range 0 to 1. Higher value corresponds to better native-like pronunciation. Scores are computed in reference to the recognizer word and its corresponding phonetic representation.

    startTime: number

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

    text: string

    Text of the phone.