@novo-learning/novo-sdk
Version:
SDK for the Novolanguage Speech Analysis API
41 lines (38 loc) • 821 B
text/typescript
export class PhoneCorrectness {
/**
* the recognized phone label is equal to the target phone label
*/
phoneCorrect?: boolean;
/**
* the recognized phone duration is equal to the target phone duration
*/
durationCorrect?: boolean;
}
export class WordCorrectness {
/**
* the word's phones are correct
*/
wordCorrect?: boolean;
/**
* the presence/absence of a pause after the word is correct
*/
pauseCorrect?: boolean;
/**
* the word's intonation is correct
*/
intonationCorrect?: boolean;
/**
* the word stress pattern is correct
*/
stressCorrect?: boolean;
}
export class PhraseCorrectness {
/**
* all the words in the phrase were correct
*/
wordsCorrect?: boolean;
/**
* the phrase intonation is correct
*/
intonationCorrect?: boolean;
}