UNPKG

eliza-core

Version:

A rendition of ELIZA program engine by Weizenbaum sharable for all javascript environments

21 lines (20 loc) 452 B
import { Decomp } from './decompo'; export declare function createKey(key: string, rank: number, decomp: Decomp[]): Key; export declare class Key { private key; private rank; private decomp; constructor(key: string, rank: number, decomp: Decomp[] | null); /** * key */ getKey(): string; /** * The numerical rank */ getRank(): number; /** * decomp */ getDecomp(): Decomp[] | null; }