DEV Community

Discussion on: Build a quick Summarizer with Python and NLTK

davidisrawi profile image
David Israwi Author

Hi Viqi. Seems like you are storing a string in your sentenceValue dictionary instead of an actual value, it is supposed to be an int instead. Fixing that may solve the problem!