Created
July 2, 2022 14:29
-
-
Save Bennykillua/c12444a55d96adb4b21697351eac8a57 to your computer and use it in GitHub Desktop.
Nltk Open Source
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
from nltk.stem import PorterStemmer | |
#from nltk.tokenize import sent_tokenize, word_tokenize | |
ps = PorterStemmer() | |
text_words = ["tech","technology","technologized","techy", "Technologization"] | |
for x in text_words: | |
print(ps.stem(x)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment