view software/eXist/mpdl-modules/src/de/mpg/mpiwg/berlin/mpdl/lt/analyzer/lang/MpdlAnalyzerIT.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.lt.analyzer.lang;

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

import de.mpg.mpiwg.berlin.mpdl.lt.analyzer.MpdlMorphAnalyzer;

public class MpdlAnalyzerIT extends MpdlMorphAnalyzer {
  private static String LANGUAGE = "it";

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

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

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

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

}