Last active
June 16, 2018 21:04
-
-
Save MarynaLongnickel/00839de066505eea0a564c213f46d7a4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
import nltk | |
nltk.download('all') | |
import regex as re | |
import pandas as pd | |
from sklearn.utils import shuffle | |
from nltk import LancasterStemmer | |
from nltk.tokenize import word_tokenize | |
from nltk.corpus import movie_reviews, stopwords | |
from sklearn.naive_bayes import MultinomialNB | |
from sklearn.model_selection import train_test_split |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment