@novo-learning/novo-sdk
Version:
SDK for the Novolanguage Speech Analysis API
23 lines (20 loc) • 447 B
text/typescript
import { Pause } from '../pauses';
export enum Intonation {
'falling' = 'falling',
'rising' = 'rising',
'flat' = 'flat',
}
export class ProsodyTarget {
/**
* A pause is either not allowed, mandatory or optional after the current word
*/
pause?: Pause;
/**
* intonation should be rising, flat or falling
*/
intonation?: Intonation;
/**
* syllable number on which word stress should occur
*/
stress?: number;
}