UNPKG

ts-textrank

Version:

Typescript TextRank implementation

10 lines (9 loc) 257 B
import Word from "./Word"; export default class Sentence { readonly raw: string; readonly words: Word[]; readonly position: number; score: number; constructor(raw: string, words: Word[], position: number); getNormalized(): string; }