org.apache.lucene.analysis.morfologik
Class MorfologikAnalyzer
java.lang.Object
org.apache.lucene.analysis.Analyzer
org.apache.lucene.analysis.morfologik.MorfologikAnalyzer
- All Implemented Interfaces:
- Closeable
public class MorfologikAnalyzer
- extends Analyzer
Analyzer
using Morfologik library.
- See Also:
- Morfologik project page
Constructor Summary |
MorfologikAnalyzer(Version version)
Builds an analyzer with the default Morfologik's dictionary (polimorf). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MorfologikAnalyzer
public MorfologikAnalyzer(Version version)
- Builds an analyzer with the default Morfologik's dictionary (polimorf).
- Parameters:
version
- Lucene compatibility version
createComponents
protected Analyzer.TokenStreamComponents createComponents(String field,
Reader reader)
- Creates a
Analyzer.TokenStreamComponents
which tokenizes all the text in the provided Reader
.
- Specified by:
createComponents
in class Analyzer
- Parameters:
field
- ignored field namereader
- source of tokens
- Returns:
- A
Analyzer.TokenStreamComponents
built from an StandardTokenizer
filtered with
StandardFilter
and MorfologikFilter
.
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.