This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Author: Anish Mashankar | |
#website: anishm.co | |
import random | |
import time | |
import nltk | |
from textblob import TextBlob | |
from nltk.corpus import stopwords | |
from text.classifiers import NaiveBayesClassifier | |
def get_list_tuples(read_file): | |
list_tuples = [] |