text_html_output_1.png
from nltk.tokenize import sent_tokenize

import nltk

import pandas as pd

import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

import nltk
from nltk.tokenize import sent_tokenize
tokenizer = nltk.data.load('tokenizers/punkt/english.pickle')
fp = open('/kaggle/input/hotel-text-data/text.txt')
data = fp.read()
sentences = sent_tokenize(data)

df = pd.DataFrame(sentences, columns=['sentences'])

df1 = df[df['sentences_clean'] != '']

df1['sentences_clean'][5]