finding base word of any word

19 views
Skip to first unread message

Sucil Shrestha

unread,
May 20, 2013, 6:58:40 AM5/20/13
to pyencha...@googlegroups.com
I am trying extract base word from a word ( query on wolves should return wolf). Is there any mechanism implemented in enchant so that I can extract the base word?

Sushil
 

Ryan Kelly

unread,
May 21, 2013, 10:43:48 PM5/21/13
to pyencha...@googlegroups.com
No, sorry, no such API is exposed. The spell-checking backends likely
implement some of this logic, but it's hidden from the enchant API.


Ryan

Doug Hellmann

unread,
May 22, 2013, 9:11:06 AM5/22/13
to pyencha...@googlegroups.com, pyencha...@googlegroups.com
The nltk package has some classes that can do stemming. 

--
You received this message because you are subscribed to the Google Groups "pyenchant users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyenchant-use...@googlegroups.com.
To post to this group, send email to pyencha...@googlegroups.com.
Visit this group at http://groups.google.com/group/pyenchant-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply all
Reply to author
Forward
0 new messages