Created
February 24, 2019 20:16
-
-
Save arcturusannamalai/e65a187493023b59f3fbf4cb438a621e 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
# Demonstrate Tamil Stemmer module from open-tamil library | |
from tamilstemmer import TamilStemmer | |
wordlist = [u'மலைகள்',u'பாடுதல்',u'ஓடினான்'] | |
# expected = [u'மலை',u'பாடு', u'ஓடி'] | |
ta_stemmer = TamilStemmer() | |
for word in wordlist: | |
ta_stemmer.stemWord(word) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment