public class SpanishAnalyzer
extends org.apache.lucene.analysis.Analyzer
| Constructor and Description |
|---|
SpanishAnalyzer()
Builds an analyzer with the default stop words.
|
SpanishAnalyzer(File stopWords)
Builds an analyzer with the given stop words from file.
|
SpanishAnalyzer(String[] stopWords)
Builds an analyzer with the given stop words.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.lucene.analysis.TokenStream |
tokenStream(String fieldName,
Reader reader)
Constructs a
StandardTokenizer filtered by a StandardFilter, a LowerCaseFilter, a StopFilter
and a SpanishStemFilter. |
public SpanishAnalyzer()
public SpanishAnalyzer(String[] stopWords)
public SpanishAnalyzer(File stopWords) throws IOException
IOExceptionpublic final org.apache.lucene.analysis.TokenStream tokenStream(String fieldName, Reader reader)
StandardTokenizer filtered by a StandardFilter, a LowerCaseFilter, a StopFilter
and a SpanishStemFilter.tokenStream in class org.apache.lucene.analysis.AnalyzerCopyright © 2018 Open Knowledge Management System S.L.. All rights reserved.