corpus

Finding training data for tweets with labels: positive, negative, neutral

Finding training data for tweets with labels: positive, negative, neutral Question: Are there any training data of tweets with labels: positive, negative, neutral as following: "tweet 1" positive "tweet 2" positive "tweet 3" neutral "tweet 4" negative Or in general are there any good site for finding training sets? Asked By: TheRi || Source Answers: …

Total answers: 2

How can I change the default Mysql connection timeout when connecting through python?

How can I change the default Mysql connection timeout when connecting through python? Question: I connected to a mysql database using python con = _mysql.connect(‘localhost’, ‘dell-pc’, ”, ‘test’) The program that I wrote takes a lot of time in full execution i.e. around 10 hours. Actually, I am trying to read distinct words from a …

Total answers: 4

Creating a new corpus with NLTK

Creating a new corpus with NLTK Question: I reckoned that often the answer to my title is to go and read the documentations, but I ran through the NLTK book but it doesn’t give the answer. I’m kind of new to Python. I have a bunch of .txt files and I want to be able …

Total answers: 4