UNPKG

speech-rule-engine

Version:

A standalone speech rule engine for XML structures, based on the original engine from ChromeVox.

9 lines (8 loc) 379 B
import { AuditoryDescription } from '../audio/auditory_description.js'; export interface SpeechRuleEvaluator { evaluateDefault(node: Node): void; evaluateWhitespace(str: string): AuditoryDescription[]; evaluateString(str: string): AuditoryDescription[]; evaluateCustom(str: string): AuditoryDescription; evaluateCharacter(str: string): AuditoryDescription; }