@novo-learning/novo-sdk
Version:
SDK for the Novolanguage Speech Analysis API
20 lines (17 loc) • 378 B
text/typescript
import { PhonemeList } from './phoneme-list';
export class OptionWord {
// The text of a word in an option
label: string;
// Correct pronunciations of a word in an option
pronunciations: Array<PhonemeList>;
}
export class Option {
/**
* The text for this option
*/
label: string;
/**
* A list of words in this option
*/
words: Array<OptionWord>;
}