DEV Community

loading...

Discussion on: Build a quick Summarizer with Python and NLTK

Collapse
nandeeswar7 profile image
Nandeeswar Irikireddy

Hello sir, could you suggest a way to make the summarizer more efficient. Sometimes a few sentences with lower sentence values can be very important for the summary. In that case if few leave those out, the summary may not make sense

Collapse
davidisrawi profile image
David Israwi Author

That's a good point. I think what you might be referring to is some kind of an adjacency value - this sentence might be worth more than we think because it's next to this really important sentence.

Another aspect you could change in the scoring algorithm is the use of TF-IDF. Let me know if you end up using it, I would like to see how that would look like

Forem Open with the Forem app