title: Base word stemming instead of root word stemming in R
body: <p>Is there any way to get base word instead of root word in stemming using NLP in R? </p>
  
  <p>Code:</p>
  
  <pre><code>&gt; #Loading libraries
  &gt; library(tm)
  &gt; library(slam)
  &gt; 
  &gt; #Vector
  &gt; Vec=c("happyness happies happys","sky skies")
  &gt; 
  &gt; #Creating Corpus
  &gt; Txt=Corpus(VectorSource(Vec))
  &gt; 
  &gt; #Stemming
  &gt; Txt=tm_map(Txt, stemDocument)
  &gt; 
  &gt; #Checking result
  &gt; inspect(Txt)
  A corpus with 2 text documents
  
  The metadata consists of 2 tag-value pairs and a data frame
  Available tags are:
    create_date creator 
  Available variables in the data frame are:
    MetaID 
  
  [[1]]
  happi happi happi
  
  [[2]]
  sky sky
  
  &gt; 
  </code></pre>
  
  <p>Can I get base word "happy" (base word) instead of "happi" (root word) for "happyness happies happys" using R.</p>