This commit is contained in:
counterweight 2026-05-14 10:56:04 +02:00
parent bc92231240
commit b8225c639e
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C
11904 changed files with 1472749 additions and 133 deletions

23
node_modules/speech-rule-engine/js/indexing/trie.d.ts generated vendored Normal file
View file

@ -0,0 +1,23 @@
import { SpeechRule } from '../rule_engine/speech_rule.js';
import { TrieNode } from './trie_node.js';
export declare class Trie {
root: TrieNode;
static collectRules_(root: TrieNode): SpeechRule[];
private static printWithDepth_;
private static order_;
constructor();
addRule(rule: SpeechRule): void;
lookupRules(xml: Element, dynamic: string[][]): SpeechRule[];
hasSubtrie(cstrs: string[]): boolean;
toString(): string;
collectRules(root?: TrieNode): SpeechRule[];
order(): number;
enumerate(opt_info?: {
[key: string]: any;
}): {
[key: string]: any;
};
byConstraint(constraint: string[]): TrieNode;
private enumerate_;
private addNode_;
}