org.crosswire.jsword.index.lucene.analysis
Class StrongsNumberAnalyzer

java.lang.Object
  extended by org.apache.lucene.analysis.Analyzer
      extended by org.crosswire.jsword.index.lucene.analysis.AbstractBookAnalyzer
          extended by org.crosswire.jsword.index.lucene.analysis.StrongsNumberAnalyzer

public class StrongsNumberAnalyzer
extends AbstractBookAnalyzer

A specialized analyzer that normalizes JSword keys.

Author:
DM Smith [dmsmith555 at yahoo dot com]
See Also:
for license details. The copyright to this program is held by it's authors.

Field Summary
 
Fields inherited from class org.crosswire.jsword.index.lucene.analysis.AbstractBookAnalyzer
book, doStemming, doStopWords, naturalLanguage, stopSet
 
Constructor Summary
StrongsNumberAnalyzer()
          Construct a default StrongsNumberAnalyzer.
StrongsNumberAnalyzer(Book book)
          Construct an StrongsNumberAnalyzer tied to a book.
 
Method Summary
 org.apache.lucene.analysis.TokenStream tokenStream(String fieldName, Reader reader)
           
 
Methods inherited from class org.crosswire.jsword.index.lucene.analysis.AbstractBookAnalyzer
getBook, getDoStopWords, getNaturalLanguage, setBook, setDoStemming, setDoStopWords, setNaturalLanguage, setStopWords
 
Methods inherited from class org.apache.lucene.analysis.Analyzer
getPositionIncrementGap, getPreviousTokenStream, reusableTokenStream, setPreviousTokenStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StrongsNumberAnalyzer

public StrongsNumberAnalyzer()
Construct a default StrongsNumberAnalyzer.


StrongsNumberAnalyzer

public StrongsNumberAnalyzer(Book book)
Construct an StrongsNumberAnalyzer tied to a book.

Method Detail

tokenStream

public org.apache.lucene.analysis.TokenStream tokenStream(String fieldName,
                                                          Reader reader)
Specified by:
tokenStream in class org.apache.lucene.analysis.Analyzer

Copyright ยจ 2003-2007