|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcsli.util.nlp.PoSTaggerFactory
public class PoSTaggerFactory
A factory that returns a part-of-speech tagger.
| Field Summary | |
|---|---|
static String |
DEFAULT_KEY
|
| Constructor Summary | |
|---|---|
PoSTaggerFactory()
|
|
| Method Summary | |
|---|---|
static PoSTagger |
getNewTagger()
Get a new PoS-tagger of the class specified by the default util.nlp.tagger config key |
static PoSTagger |
getNewTagger(String key)
Get a new PoS-tagger of the class specified by the given config key OR class name |
static PoSTagger |
getTagger()
Get the static instance of the default PoS-tagger; if none exists, a new one will be created, of the class specified by the default util.nlp.tagger config key |
static PoSTagger |
getTagger(String key)
Get the static instance of the POS-tagger associated with the given config key OR class name; if none exists, create a new one |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String DEFAULT_KEY
| Constructor Detail |
|---|
public PoSTaggerFactory()
| Method Detail |
|---|
public static PoSTagger getTagger()
public static PoSTagger getTagger(String key)
key - the name of the desired class, or a config key which points at one
public static PoSTagger getNewTagger()
public static PoSTagger getNewTagger(String key)
key - the name of the desired class, or a config key which points at one
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||