Skip to content

Instantly share code, notes, and snippets.

@JeremiahKamama
Last active July 9, 2021 08:25
Show Gist options
  • Save JeremiahKamama/cb0168c5aeb41fd7f270139ba1a080d8 to your computer and use it in GitHub Desktop.
Save JeremiahKamama/cb0168c5aeb41fd7f270139ba1a080d8 to your computer and use it in GitHub Desktop.
text = "Our private lives have become a public commodity. Today, the business model of the web is to provide free services in exchange for personal data. Web services then sell this data. The user is not given a choice and is instead forced to give up their data in exchange for the services they want, and often in exchange for nothing, at the cost of personal privacy."
print(text)
doc = nlp(text)
words = [word.text for word in doc]
print(words)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment