speech-rule-engine
Version:
A standalone speech rule engine for XML structures, based on the original engine from ChromeVox.
18 lines (17 loc) • 487 B
TypeScript
import { Alphabets, Functions, Messages, Numbers, SubIso } from './messages.js';
import * as tr from './transformers.js';
export interface Locale {
FUNCTIONS: Functions;
MESSAGES: Messages;
ALPHABETS: Alphabets;
NUMBERS: Numbers;
COMBINERS?: {
[key: string]: tr.Combiner;
};
CORRECTIONS?: {
[key: string]: (a: string) => string;
};
SUBISO: SubIso;
}
export declare const LOCALE: Locale;
export declare function createLocale(): Locale;