Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created February 13, 2021 14:34
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save amankharwal/16faf7c12e770e60666f96ec108ac548 to your computer and use it in GitHub Desktop.
import nltk
nltk.download('wordnet')
import numpy as np
import pandas as pd
from nltk.corpus import stopwords
from nltk.tokenize import word_tokenize
from nltk.stem.wordnet import WordNetLemmatizer
from ast import literal_eval
data = pd.read_csv("hotel.csv")
data.head()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment