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

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

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer