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 tshrinivasan/ade5c20db3693f5e47bc0dd4be859c9c to your computer and use it in GitHub Desktop.
Save tshrinivasan/ade5c20db3693f5e47bc0dd4be859c9c to your computer and use it in GitHub Desktop.
வேர்ச்சொல்_வடிகட்டி.py
from tamilstemmer import TamilStemmer
wordlist = [u'மலைகள்',u'பாடுதல்',u'ஓடினான்']
#expected = [u'மலை',u'பாடு', u'ஓடி']
ta_stemmer = TamilStemer()
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