Skip to content

Instantly share code, notes, and snippets.

@Johnne32
Created November 30, 2020 07:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Johnne32/1330da46c29f023b252bae2e8a0f9791 to your computer and use it in GitHub Desktop.
Save Johnne32/1330da46c29f023b252bae2e8a0f9791 to your computer and use it in GitHub Desktop.
# Importing needed libraries
import numpy as np
import pandas as pd
import seaborn as sns
import matplotlib.pyplot as plt
%matplotlib inline
from collections import Counter
from sklearn.feature_extraction.text import CountVectorizer
from sklearn.feature_extraction.text import TfidfVectorizer
# NLTK tools for text processing
import re, nltk
from nltk import word_tokenize
from nltk.corpus import stopwords
from wordcloud import WordCloud, STOPWORDS
from IPython.core.interactiveshell import InteractiveShell
InteractiveShell.ast_node_interactivity = 'all'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment