lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Jakarta Lucene Wiki] Updated: SpellChecker
Date Mon, 11 Oct 2004 17:29:59 GMT
   Date: 2004-10-11T10:29:59
   Editor: NicolasMaisonneuve <>
   Wiki: Jakarta Lucene Wiki
   Page: SpellChecker

   no comment

Change Log:

@@ -1,8 +1,8 @@
+=== SpellChecker ===
 a Spell Checker allow to suggest a list of words close to a misspelled word. This implementation
is based on the David Spencer code using the n-gram technic and the levensthein distance.

-==Structure of a dictionary index ==
+== Structure of a dictionary index ==
 A  Index (the dictionary) with all the possible words (a lucene index) must be  created.
The structure of this index is (for a 3-4 gram):
@@ -13,6 +13,7 @@
+== add words to the dictionary ==
 it's independant of the user index. So we can add words becoming to several
 fields of several index for example or, why not, to a file with a list of words.
@@ -24,6 +25,7 @@
 spell.addWords(myIndex_Reader, myField)
+== get a list of suggest word ==
 The suggestSimilar method return a list of suggests word sorted by the
 Levenshtein distance and optionaly to the popularity of the word for a specific
 field in a user index. More of that, this list can be restricted only to words
@@ -31,4 +33,5 @@
 See the test case code for example 
+== Download ==
 download file to []

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message