stuff
This commit is contained in:
parent
bc92231240
commit
b8225c639e
11904 changed files with 1472749 additions and 133 deletions
23
node_modules/speech-rule-engine/js/indexing/trie.d.ts
generated
vendored
Normal file
23
node_modules/speech-rule-engine/js/indexing/trie.d.ts
generated
vendored
Normal 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_;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue