in Education by
I want to find word stems with Wordnet. Does wordnet have a function for stemming? I use this import for my stemming, but it doesn't work as expected. from nltk.stem.wordnet import WordNetLemmatizer WordNetLemmatizer().lemmatize('Having','v') JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
Seems like you have to input a lowercase string to the lemmatize method: >>> WordNetLemmatizer().lemmatize('having','v') 'have' >>> WordNetLemmatizer().lemmatize('has','v') 'have'

Related questions

0 votes
    In monocotyledonous plants, the stem is (a) hollow (b) false (c) disc-like (d) all of ... Science,Science proposed by,electromagnetic theory engineering physics,Science nptel...
asked Nov 9, 2021 in Education by JackTerrance
0 votes
    Complete the paragraph Plants from Pteridophyta group have well developed roots, stem and leaves and ... proposed by,electromagnetic theory engineering physics,Science nptel...
asked Nov 7, 2021 in Education by JackTerrance
0 votes
    Trees have a thick and woody stem called Root Stem Trunk Leaves...
asked Jun 9, 2021 in Technology by JackTerrance
0 votes
    How to Replace a Tub Faucet Diverter Stem?...
asked Jan 28, 2021 in General by JackTerrance
0 votes
    Is there possibility in android to provide TextView some text in Java code with setText(text) function with ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 12, 2022 in Education by JackTerrance
0 votes
    misspelt words can be seen with________ wavy line beneath them Select the correct answer from above options...
asked Dec 31, 2021 in Education by JackTerrance
0 votes
    writing related answer but in own words, can get the marks in 12th I. T online examination 2019? Select the correct answer from above options...
asked Dec 1, 2021 in Education by JackTerrance
0 votes
    Let suppose a search box of an application can take at most 200 words, and you've inserted more than that and ... Security questions and answers pdf, mcq on Cyber Security pdf,...
asked Nov 4, 2021 in Education by JackTerrance
0 votes
    Identify any two stop words in the given sentence: Pollution is the introduction of contaminants into the natural ... and land pollution. Please answer the above question....
asked Aug 23, 2022 in Education by JackTerrance
0 votes
    Does independence of the judiciary mean that the judiciary is not accountable to any one? Write your answer in not more than 100 words. Please answer the above question....
asked Aug 4, 2022 in Education by JackTerrance
0 votes
    Discuss shah commision in your words Select the correct answer from above options...
asked Aug 3, 2022 in Education by JackTerrance
0 votes
    The words Socialist' and Secular' were added to the Preamble of the Constitution of India by the (a ... Constitutional Amendment Act. Select the correct answer from above options...
asked Aug 3, 2022 in Education by JackTerrance
0 votes
    Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 1, 2022 in Education by JackTerrance
...