Skip to content

Instantly share code, notes, and snippets.

@grohith327
Created May 20, 2018 19:53
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 grohith327/f1f00042b1960e6bdc85b810d2a074d5 to your computer and use it in GitHub Desktop.
Save grohith327/f1f00042b1960e6bdc85b810d2a074d5 to your computer and use it in GitHub Desktop.
with open("/Users/rohith/Documents/Datasets/sentiment_labelled_sentences/amazon_cells_labelled.txt") as f1:
lines = f1.readlines()
with open("/Users/rohith/Documents/Datasets/sentiment_labelled_sentences/imdb_labelled.txt") as f1:
temp = f1.readlines()
lines=lines+temp
with open("/Users/rohith/Documents/Datasets/sentiment_labelled_sentences/yelp_labelled.txt") as f1:
temp = f1.readlines()
lines=lines+temp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment