@novo-learning/novo-sdk
Version:
SDK for the Novolanguage Speech Analysis API
26 lines (24 loc) • 484 B
text/typescript
export enum PhoneDuration {
'short' = 'short',
'normal' = 'normal',
'long' = 'long',
'superlong' = 'superlong',
}
export class PhonemeSpec {
/**
* A representation of an IPA symbol
*/
phoneme: string;
/**
* Evaluate when determining the correctness of the pronunciation
*/
evaluate?: boolean;
/**
* The duration of the phoneme
*/
duration?: Array<PhoneDuration>;
/**
* The syllable to which the phoneme belongs
*/
syllable?: number;
}