Mercurial > hg > mpdl-group
comparison 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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:408254cf2f1d |
---|---|
1 package de.mpg.mpiwg.berlin.mpdl.lt.analyzer.lang; | |
2 | |
3 import java.io.File; | |
4 import java.io.IOException; | |
5 import java.util.Hashtable; | |
6 | |
7 import de.mpg.mpiwg.berlin.mpdl.lt.analyzer.MpdlMorphAnalyzer; | |
8 | |
9 public class MpdlAnalyzerEN extends MpdlMorphAnalyzer { | |
10 private static String LANGUAGE = "en"; | |
11 | |
12 public MpdlAnalyzerEN() { | |
13 super(); | |
14 setLanguage(LANGUAGE); | |
15 } | |
16 | |
17 /** | |
18 * Builds an analyzer with the given stop words. | |
19 */ | |
20 public MpdlAnalyzerEN(String[] stopwords) { | |
21 super(stopwords); | |
22 setLanguage(LANGUAGE); | |
23 } | |
24 | |
25 /** | |
26 * Builds an analyzer with the given stop words. | |
27 */ | |
28 public MpdlAnalyzerEN(Hashtable stopwords) { | |
29 super(stopwords); | |
30 setLanguage(LANGUAGE); | |
31 } | |
32 | |
33 /** | |
34 * Builds an analyzer with the given stop words. | |
35 */ | |
36 public MpdlAnalyzerEN(File stopwords) throws IOException { | |
37 super(stopwords); | |
38 setLanguage(LANGUAGE); | |
39 } | |
40 | |
41 } |