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.
  WARNING: This API is experimental and might change in incompatible ways in the next release.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `LuceneCarrot2StemmerFactory()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `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`

- - ### Constructor Detail

    - #### LuceneCarrot2StemmerFactory

          public LuceneCarrot2StemmerFactory()

  - ### Method Detail

    - #### 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-2016 Apache Software Foundation. All Rights Reserved.