speech-rule-engine
Version:
A standalone speech rule engine for XML structures, based on the original engine from ChromeVox.
11 lines (10 loc) • 469 B
TypeScript
import { SemanticFont, SemanticRole, SemanticType } from './semantic_meaning.js';
import { SemanticTree } from './semantic_tree.js';
export type Font = SemanticFont;
export type Role = SemanticRole;
export type Type = SemanticType;
type Attr = Font | Role | Type;
export { Attr };
export declare function xmlTree(mml: Element): Element;
export declare function getTree(mml: Element): SemanticTree;
export declare function getTreeFromString(expr: string): SemanticTree;