michigan-com / summarizer

Python text summarizer
https://pypi.python.org/pypi/summarizer
MIT License
31 stars 4 forks source link

2 if statements in _sbs function must included in the for loop. #10

Open bdeshpande1729 opened 6 years ago

bdeshpande1729 commented 6 years ago

Hi,

In file summarizer\summarizer.py, Line 77 and 80 function _sbs: These two statements have to included in the Line 73 for-loop.

The score is not being computed properly.

Thanks, Bhargava

neurosnap commented 6 years ago

Hey Bhargava,

Thanks for the feedback. I haven't worked on this project in a few years so I cannot really confirm if this is an issue or not.

Could you submit a PR with a fix and a test that demonstrates what you mean?

Thanks!