@euirim/microsoft-cognitiveservices-speech-sdk
Version:
Microsoft Cognitive Services Speech SDK for JavaScript
14 lines (13 loc) • 371 B
TypeScript
export interface ISpeechHypothesis {
Text: string;
Offset: number;
Duration: number;
}
export declare class SpeechHypothesis implements ISpeechHypothesis {
private privSpeechHypothesis;
private constructor();
static fromJSON(json: string): SpeechHypothesis;
readonly Text: string;
readonly Offset: number;
readonly Duration: number;
}