speech-rule-engine
Version:
A standalone speech rule engine for XML structures, based on the original engine from ChromeVox.
12 lines (11 loc) • 344 B
TypeScript
import { SemanticNode } from '../semantic_tree/semantic_node.js';
export interface EnrichCase {
getMathml(): Element;
}
interface Case {
test: (p1: SemanticNode) => boolean;
constr: (p1: SemanticNode) => EnrichCase;
}
export declare function getCase(node: SemanticNode): EnrichCase;
export declare const factory: Case[];
export {};