Concordance wildcard

16 views
Skip to first unread message

BobS

unread,
May 13, 2017, 5:32:20 PM5/13/17
to nltk-users
NLTK concordance works for a specific word  What I want to do is to create a concordance based on the root word.  For example using the word "retire"  I want the resulting concordance to include the words 'retiring' and 'retired'.   Is there a way to do this within NLTK's concordance function or will I need to develop a regular expression to do what I want?

Cheers, BobS
Reply all
Reply to author
Forward
0 new messages