You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2007/05/15 21:50:55 UTC

[Lucene-java Wiki] Trivial Update of "SpellChecker" by DanielNaber

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lucene-java Wiki" for change notification.

The following page has been changed by DanielNaber:
http://wiki.apache.org/jakarta-lucene/SpellChecker

The comment on the change is:
small markup fixes

------------------------------------------------------------------------------
   }}}
  
   * Second example: the suggestSimilar(misspelled_word, num_list, myIndexReader,myField, morePopular)
-  ''''Note'''': if myIndexReader and myField are null this method is the same as the first method
+  '''Note''': if myIndexReader and myField are null this method is the same as the first method
  
    1.   The returned words are restricted only to the words presents in the field ''myField'' of the Lucene Index "myIndexReader"
    2.   The list is also sorted with a second criterium: the popularity (the frequency) of the word in the user field
@@ -52, +52 @@

  Version 1.1 :
   * sort fixed (the sort was inversed!)
   * set gram dynamically (depending of the length of the word)
-  * use the FuzzyQuery score: ((edit distance)/(length of word))
+  * use the !FuzzyQuery score: ((edit distance)/(length of word))
-  * new Dictionary interface + LuceneDictionary and PlaintextDictionary implementation
+  * new Dictionary interface + !LuceneDictionary and !PlaintextDictionary implementation
   * replace addWords method by indexDictionary(Dictionnary dic)
   * add a new public method: boolean exist(word)
   * add a build.xml