Yeah, look at the spellcheck component in Solr. They are doing something similar.
Sameer. On Thu, Jun 18, 2009 at 7:15 PM, Neha Gupta <gupta.n...@gmail.com> wrote: > Hey, > > I was wondering if there is a way to read the index and generate n-grams of > words for a document in lucene? I am quite new to it and am using pylucene. > > Thanks, > Neha > -- http://www.productification.com (310) 266-6587 (cell)