eliza-core
Version:
A rendition of ELIZA program engine by Weizenbaum sharable for all javascript environments
22 lines (21 loc) • 502 B
JavaScript
export function createKey(key, rank, decomp) {
return new Key(key, rank, decomp);
}
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;
}());
export { Key };