view software/eXist/mpdl-modules/src/de/mpg/mpiwg/berlin/mpdl/donatus/analysis/lang/DonatusAnalyzerEN.java @ 0:408254cf2f1d

Erstellung
author Josef Willenborg <jwillenborg@mpiwg-berlin.mpg.de>
date Wed, 24 Nov 2010 17:24:23 +0100
parents
children
line wrap: on
line source

package de.mpg.mpiwg.berlin.mpdl.donatus.analysis.lang;

import java.io.File;
import java.io.IOException;
import java.util.Hashtable;

import de.mpg.mpiwg.berlin.mpdl.donatus.analysis.DonatusAnalyzer;

public class DonatusAnalyzerEN extends DonatusAnalyzer {
  private static String LANGUAGE = "en";

  public DonatusAnalyzerEN() {
    super();
    setLanguage(LANGUAGE);
  }

  /**
   * Builds an analyzer with the given stop words.
   */
  public DonatusAnalyzerEN(String[] stopwords) {
    super(stopwords);
    setLanguage(LANGUAGE);
  }

  /**
   * Builds an analyzer with the given stop words.
   */
  public DonatusAnalyzerEN(Hashtable stopwords) {
    super(stopwords);
    setLanguage(LANGUAGE);
  }

  /**
   * Builds an analyzer with the given stop words.
   */
  public DonatusAnalyzerEN(File stopwords) throws IOException {
    super(stopwords);
    setLanguage(LANGUAGE);
  }

}