Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arcturusannamalai/e65a187493023b59f3fbf4cb438a621e to your computer and use it in GitHub Desktop.
Save arcturusannamalai/e65a187493023b59f3fbf4cb438a621e to your computer and use it in GitHub Desktop.
# 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