UNPKG

speech-rule-engine

Version:

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

12 lines (11 loc) 340 B
class SemanticAbstractHeuristic { constructor(name, method, predicate = (_x) => false) { this.name = name; this.apply = method; this.applicable = predicate; } } export class SemanticTreeHeuristic extends SemanticAbstractHeuristic { } export class SemanticMultiHeuristic extends SemanticAbstractHeuristic { }