Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A question about computing term frequency in Lexrank #107

Open
IsakZhang opened this issue Apr 7, 2018 · 1 comment
Open

A question about computing term frequency in Lexrank #107

IsakZhang opened this issue Apr 7, 2018 · 1 comment
Assignees
Labels

Comments

@IsakZhang
Copy link

IsakZhang commented Apr 7, 2018

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?

@miso-belica miso-belica self-assigned this May 27, 2018
@miso-belica
Copy link
Owner

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants