UNPKG

mtengines

Version:

Machine Translation (MT) library written in TypeScript

22 lines 526 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.MTMatch = void 0; class MTMatch { source; target; origin; constructor(source, target, origin) { this.source = source; this.target = target; this.origin = origin; } toJSON() { return { source: this.source.toString(), target: this.target.toString(), origin: this.origin }; } } exports.MTMatch = MTMatch; //# sourceMappingURL=MTMatch.js.map