jcolibri.extensions.textual.lucene.spanish
Class SpanishAnalyzer

java.lang.Object
  extended by org.apache.lucene.analysis.Analyzer
      extended by jcolibri.extensions.textual.lucene.spanish.SpanishAnalyzer

public class SpanishAnalyzer
extends org.apache.lucene.analysis.Analyzer

Spanish Lucene analyzer

Author:
Hugo Zaragoza and Jose R. Pérez-Agüera

Constructor Summary
SpanishAnalyzer()
          Creates the Lucene Spanish Analyzer
 
Method Summary
 org.apache.lucene.analysis.TokenStream tokenStream(java.lang.String fieldName, java.io.Reader reader)
          Constructs a StandardTokenizer filtered by a StandardFilter, a LowerCaseFilter and a StopFilter.
 
Methods inherited from class org.apache.lucene.analysis.Analyzer
getPositionIncrementGap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpanishAnalyzer

public SpanishAnalyzer()
                throws java.io.IOException
Creates the Lucene Spanish Analyzer

Throws:
java.io.IOException
Method Detail

tokenStream

public org.apache.lucene.analysis.TokenStream tokenStream(java.lang.String fieldName,
                                                          java.io.Reader reader)
Constructs a StandardTokenizer filtered by a StandardFilter, a LowerCaseFilter and a StopFilter.

Specified by:
tokenStream in class org.apache.lucene.analysis.Analyzer

GAIA - Group for Artificial Intelligence Applications
http://gaia.fdi.ucm.es