UNPKG

ts-textrank

Version:

Typescript TextRank implementation

13 lines (12 loc) 314 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); class Text { constructor(raw, sentences) { this.raw = raw; this.sentences = sentences; } getNormalized() { return this.sentences.map(s => s.getNormalized()).join("\n"); } } exports.default = Text;