UNPKG

ts-textrank

Version:

Typescript TextRank implementation

11 lines (10 loc) 316 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const transliteration_1 = require("transliteration"); class Word { constructor(word) { this.word = word; this.normalized = (0, transliteration_1.transliterate)(word).toLocaleLowerCase(); } } exports.default = Word;