UNPKG

eliza-core

Version:

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

25 lines (24 loc) 606 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function createKey(key, rank, decomp) { return new Key(key, rank, decomp); } exports.createKey = createKey; var Key = (function () { function Key(key, rank, decomp) { this.key = key; this.rank = rank; this.decomp = decomp; } Key.prototype.getKey = function () { return this.key; }; Key.prototype.getRank = function () { return this.rank; }; Key.prototype.getDecomp = function () { return this.decomp; }; return Key; }()); exports.Key = Key;