Skip to content

Instantly share code, notes, and snippets.

Last active Jul 25, 2021
What would you like to do?
from nltk.util import pr
import pandas as pd
import numpy as np
from sklearn.feature_extraction.text import CountVectorizer
from sklearn.model_selection import train_test_split
from sklearn.tree import DecisionTreeClassifier
import re
import nltk
stemmer = nltk.SnowballStemmer("english")
from nltk.corpus import stopwords
import string
data = pd.read_csv("twitter.csv")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment