Skip to content

Instantly share code, notes, and snippets.

@vaibhavgehani
Created July 26, 2020 17:04
Show Gist options
  • Save vaibhavgehani/a5f43362d1e3224b16f5d0085aa3ec2b to your computer and use it in GitHub Desktop.
Save vaibhavgehani/a5f43362d1e3224b16f5d0085aa3ec2b to your computer and use it in GitHub Desktop.
features_positive = [(extract_features(movie_reviews.words(fileids=[f])),'Positive') for f in positive_fileids]
features_negative = [(extract_features(movie_reviews.words(fileids=[f])),'Negative') for f in negative_fileids]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment