Created
January 22, 2019 16:12
-
-
Save vallantin/2415ba2a2e0af45114bd135208e0fa08 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
# import Aruana for text preprocessing | |
from aruana import Aruana | |
# start Aruana | |
aruana = Aruana('en') | |
# define text to be processed | |
text = "I told you that she was not happy" | |
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