eu.dicodeproject.analysis.lucene
Class StandardAnalyzerWrapper
java.lang.Object
org.apache.lucene.analysis.Analyzer
eu.dicodeproject.analysis.lucene.StandardAnalyzerWrapper
- All Implemented Interfaces:
- Closeable
public final class StandardAnalyzerWrapper
- extends org.apache.lucene.analysis.Analyzer
This class wraps the Lucene StandardAnalyzer - ties it to Lucene version
3.0.2 and provides a constructor w/o any arguments for instantiation in the
Mahout collocation analysis.
| Methods inherited from class org.apache.lucene.analysis.Analyzer |
close, getOffsetGap, getPositionIncrementGap, getPreviousTokenStream, reusableTokenStream, setPreviousTokenStream |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StandardAnalyzerWrapper
public StandardAnalyzerWrapper()
tokenStream
public org.apache.lucene.analysis.TokenStream tokenStream(String fieldName,
Reader reader)
- Specified by:
tokenStream in class org.apache.lucene.analysis.Analyzer
Copyright © 2011. All Rights Reserved.