I am trying to train a Naive Bayes classifier with positive/negative words extracting from a sentiment. example:
I love this movie :))
I hate when it rains :(
The idea is I extract positive or negative sentences based on the emoctions used, but in order to train a classifier and persist it into database.
The problem is that I have more than 1 million such sentences, so if I train it word by word, the database will go for a toss. I want to remove all non-relevant word example 'I','this', 'when', 'it' so that number of times I have to make a database query is less.
Please help me in resolving this issue to suggest me better ways of doing it
Thank you