UNPKG

eliza-core

Version:

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

16 lines (15 loc) 429 B
import { Decomp } from './decompo'; export declare class Reassemble { private template; private decompose; private annotate?; constructor($template: string, $decompose: Decomp, $annotate?: string); isAnnotated(): boolean; getAnnotate(): string; getTemplate(): string; assemble(decomposedTokens: string[]): { gotoKey?: string; result?: string; annotation?: string; }; }