Class 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 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