How do I load locally stored tweets instead of using from nltk.corpus import twitter_samples.

Posted August 6, 2020 547 views
Machine Learning

Every example I have seen on the internet about sentiment analysis uses a pre-existing sample file imported from nltk.corpus but I already have multiple .db files for training. How would I use those and not import from nltk.corpus? Anyone?

Submit an answer

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!