org.apache.solr.handler.clustering.carrot2
Class LuceneCarrot2StemmerFactory
java.lang.Object
org.apache.solr.handler.clustering.carrot2.LuceneCarrot2StemmerFactory
- All Implemented Interfaces:
- org.carrot2.text.linguistic.IStemmerFactory
public class LuceneCarrot2StemmerFactory
- extends Object
- implements org.carrot2.text.linguistic.IStemmerFactory
An implementation of Carrot2's IStemmerFactory
based on Lucene's
APIs. Should the relevant Lucene APIs need to change, the changes can be made
in this class.
Method Summary |
org.carrot2.text.linguistic.IStemmer |
getStemmer(org.carrot2.core.LanguageCode language)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LuceneCarrot2StemmerFactory
public LuceneCarrot2StemmerFactory()
getStemmer
public org.carrot2.text.linguistic.IStemmer getStemmer(org.carrot2.core.LanguageCode language)
- Specified by:
getStemmer
in interface org.carrot2.text.linguistic.IStemmerFactory
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.