Example usage for org.apache.lucene.analysis.de GermanStemmer GermanStemmer

List of usage examples for org.apache.lucene.analysis.de GermanStemmer GermanStemmer

Introduction

In this page you can find the example usage for org.apache.lucene.analysis.de GermanStemmer GermanStemmer.

Prototype

GermanStemmer

Source Link

Usage

From source file:de.csw.ontology.OntologyIndex.java

License:Open Source License

/**
 * Use {@link #get()} to retrieve an instance. The constructor creates an
 * instance containing an empty ontology model.
 *//*from  w  w w  . j  a  v  a2  s  . c  o m*/
private OntologyIndex() {
    model = ModelFactory.createOntologyModel(OntModelSpec.OWL_LITE_MEM);
    stemmer = new GermanStemmer();
}