Mercurial > hg > mpdl-group
view software/eXist/mpdl-modules/src/de/mpg/mpiwg/berlin/mpdl/lt/analyzer/lang/MpdlAnalyzerEN.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 MpdlAnalyzerEN extends MpdlMorphAnalyzer { private static String LANGUAGE = "en"; public MpdlAnalyzerEN() { super(); setLanguage(LANGUAGE); } /** * Builds an analyzer with the given stop words. */ public MpdlAnalyzerEN(String[] stopwords) { super(stopwords); setLanguage(LANGUAGE); } /** * Builds an analyzer with the given stop words. */ public MpdlAnalyzerEN(Hashtable stopwords) { super(stopwords); setLanguage(LANGUAGE); } /** * Builds an analyzer with the given stop words. */ public MpdlAnalyzerEN(File stopwords) throws IOException { super(stopwords); setLanguage(LANGUAGE); } }