NachoBrito / ts-textrank

Typescript implementation of the TextRank algorithm
https://www.npmjs.com/package/ts-textrank
7 stars 3 forks source link

Ratio between 0.5 and 1 #3

Open maxpain opened 1 year ago

maxpain commented 1 year ago

Hello. Why I can't summarize text with a ratio above 0.5? For example 0.7.

https://github.com/NachoBrito/ts-textrank/blob/6edbcbc0e39230d6bc6d27989e1c167018aab3d8/src/TextRank/application/SummarizerConfig.ts#L94

NachoBrito commented 1 year ago

Actually it's an arbitrary value.