DEV Community

loading...

Discussion on: Build a quick Summarizer with Python and NLTK

Collapse
abhirama1998 profile image
abhishek garg

where we have import text file to run this?

Collapse
davidisrawi profile image
David Israwi Author

That would be up to you!

In my implementation, I put everything in one method, so then I can just run it through the command line passing the actual string of text. Having said that, it totally depends on your use or implementation, in some cases it, might be worth to receive the text file instead

Here is my imp if you want to take a look at it: github.com/DavidIsrawi/SummarizeMe...

Forem Open with the Forem app