public class PartOfSpeechTaggerFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static java.util.Map<java.lang.String,java.lang.String> |
taggerClassMap
Map from short to full class names for built-in taggers.
|
Constructor and Description |
---|
PartOfSpeechTaggerFactory() |
Modifier and Type | Method and Description |
---|---|
static PartOfSpeechTagger |
newPartOfSpeechTagger()
Get a partOfSpeechTagger.
|
static PartOfSpeechTagger |
newPartOfSpeechTagger(java.lang.String className)
Get a partOfSpeechTagger of a specified class name.
|
static PartOfSpeechTagger |
newPartOfSpeechTagger(UTF8Properties properties)
Get a partOfSpeechTagger.
|
protected static java.util.Map<java.lang.String,java.lang.String> taggerClassMap
public static PartOfSpeechTagger newPartOfSpeechTagger()
public static PartOfSpeechTagger newPartOfSpeechTagger(UTF8Properties properties)
properties
- MorphAdorner properties.public static PartOfSpeechTagger newPartOfSpeechTagger(java.lang.String className)
className
- Class name for the partOfSpeechTagger.