Date: 2004-10-11T11:10:55
   Editor: NicolasMaisonneuve <[EMAIL PROTECTED]>
   Wiki: Jakarta Lucene Wiki
   Page: SpellChecker
   URL: http://wiki.apache.org/jakarta-lucene/SpellChecker

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -22,7 +22,7 @@
 spell.addWords(myIndex_Reader, myField);
  }}}
 
-== get a list of suggest word ==
+== get a list of suggest words ==
 The suggestSimilar method return a list of suggests word sorted by:
   1.   the Levenshtein distance (the closer word is the first of the list).
   2.   (optionaly) the popularity of the word for a specific field in a user index. 
@@ -37,11 +37,11 @@
  }}}
 
  * Second example: the suggestSimilar(misspelled_word, num_list, 
myIndex_Redear,myField, morePopular)
+ ""Note"": if myIndex_reader and myField are null this method is the same as the 
first method
 
-  1.   ""Note"": if myIndex_reader and myField are null this method is the same as 
the first method
-  2.   The returned words are restricted only to the words presents in the field 
"myfield" of the user index "myIndex_Reader"
-  3.   the list is sorted with the second criteria : the popularity (the frequence) 
of the word in the user field 
-  4.   If "morePopular" is true and the mispelled word exist in the field of the user 
index , return only the word more frequent than this.
+  1.   The returned words are restricted only to the words presents in the field 
"myfield" of the user index "myIndex_Reader"
+  2.   the list is sorted with the second criteria : the popularity (the frequence) 
of the word in the user field 
+  3.   If "morePopular" is true and the mispelled word exist in the field of the user 
index , return only the word more frequent than this.
 
  See the test case code for example 
 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to