title: Highlighting Text in java
body: <p>We are developing a plagiarism detection framework. In there i have to highlight the possible plagiarized phrases in the document. The document gets preprocessed with stop word removal, stemming and number removal first. So the highlighting gets difficult with the preprocessed token
  As and example:</p>
  
  <p>Orginal Text:   "Extreme programming is one approach of agile software development which   emphasizes on frequent releases in short development cycles which are called time boxes. This result in reducing the costs spend for changes, by having multiple short development cycles, rather than one long one. <strong>Extreme programming includes pair-wise programming</strong> (for code review, unit testing). Also it avoids implementing features which are not included in the current time box, so the schedule creep can be minimized. "</p>
  
  <p>phrase want to highlight:  <strong>Extreme programming includes pair-wise programming</strong></p>
  
  <p>preprocessed token :   Extrem program pair-wise program</p>
  
  <p>Is there anyway I can highlight the preprocessed token in the original document????</p>
  
  <p>Thanx</p>