Created
July 17, 2022 19:10
-
-
Save amandaiglesiasmoreno/e75205774f8ebe59a9e56f23ff2ba2c6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# we define the list of stopwords in english | |
stopwords = nltk.corpus.stopwords.words('english') | |
# we compute the phrases present in each review | |
phrases_stream = [transform_sentence_in_phrases(review) for review in reviews] | |
# we visualize the elements present in the first review (index 0 of the list) | |
phrases_stream[0] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment