"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TrixInputTransform = void 0;
const stream_1 = require("stream");
class TrixInputTransform extends stream_1.Transform {
    _transform(chunk, _encoding, done) {
        const [id, ...words] = chunk.toString().split(/\s+/);
        this.push(words.map(word => `${word.toLowerCase()} ${id}\n`).join(''));
        done();
    }
}
exports.TrixInputTransform = TrixInputTransform;
//# sourceMappingURL=TrixInputTransform.js.map