Thank you all. I appreciate your suggestions.



On Wed, Nov 12, 2008 at 7:38 AM, Steven Bird <> wrote:

2008/11/12 Pedro Marcal <>:
> Dear Sengly,
> It is not difficult to strip the endings from adjectives and replace them with endings for nouns. eg Canad-ian to Canad-a, Brit-ish to Brit-ain.
> I attach a function to convert nouns to verbs (and with slight modification from verbs to nouns).  You would have to modify it for conversions of adjectives to nouns. I make use of a dictionary to provide the proper spellings to the words.
> Regards,
> Pedro
> ---- Sengly Heng <> wrote:
>> Dear all,
>> I have a question. I want to get the root of the term. For example, I want
>> to get "Canada" from "Canadian". I have tried to use "morphy" of Wordnet and
>> stemmer of PorterStemmer but I couldn't get what I want.
>> I appreciate your hints.
>> Thank you.
>> Best regards,
>> Sengly HENG
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> _______________________________________________
> nltk-users mailing list