sumy icon indicating copy to clipboard operation
sumy copied to clipboard

A question about computing term frequency in Lexrank

Open IsakZhang opened this issue 6 years ago • 1 comments

Hi, i read the code of computing term frequency in LexRank metrics[term] = tf / max_tf. I don't understand why do u divide the maximum count of word in that sentence rather than use the number of occurrences of the word in the sentence(described in the original lexrank paper), or just normalize it by dividing total count of all words?

IsakZhang avatar Apr 07 '18 07:04 IsakZhang

@IsakZhang Hi, it's tough question for me. I really don't remember why and if I diverted from the original paper. But I usually did such thing because I inspired somewhere else and it gave me the better results or I just did some experiments with better results.

miso-belica avatar May 27 '18 19:05 miso-belica