Skip to content

Instantly share code, notes, and snippets.

@vallantin
Created January 22, 2019 16:47
Show Gist options
  • Save vallantin/5c45e15c128b40bd8b137958670c5cdf to your computer and use it in GitHub Desktop.
Save vallantin/5c45e15c128b40bd8b137958670c5cdf to your computer and use it in GitHub Desktop.
text = 'Sociology is the scientific study of society, patterns of social relationships, social interaction, and culture of everyday life. It is a social science that uses various methods of empirical investigation and critical analysis to develop a body of knowledge about social order, acceptance, and change or social evolution. While some sociologists conduct research that may be applied directly to social policy and welfare, others focus primarily on refining the theoretical understanding of social processes. Subject matter ranges from the micro-sociology level of individual agency and interaction to the macro level of systems and the social structure.'
text = aruana.preprocess(text, remove_stopwords=True, stem=False)
print(text)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment