title: Java: Preserving dot after word stemming using Wordnet and JWNL
body: <p>I am using JWNL to check a word and return the stem for the word (exp: knew -> know). It is working fine but how do I preserve the period (dot) included in a word (exp: knew. -> know.) because it removes the period everytime a stem a word with a dot. </p>
  
  <pre><code>String x = stem.StemWordWithWordNet ("knew.");
  System.out.println(x);
  </code></pre>
  
  <p>The code for the word stemming is here: <a href="http://tipsandtricks.runicsoft.com/Other/JavaStemmer.html" rel="nofollow">http://tipsandtricks.runicsoft.com/Other/JavaStemmer.html</a>
  Or is there a way I could include a period into a stemmed word if it detected a period? 
  Anyone familiar with this? Thanks</p>