public class PartOfSpeechRetaggerFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static java.util.Map<java.lang.String,java.lang.String> |
retaggerClassMap
Map from short to full class names for built-in retaggers.
|
Constructor and Description |
---|
PartOfSpeechRetaggerFactory() |
Modifier and Type | Method and Description |
---|---|
static PartOfSpeechRetagger |
newPartOfSpeechRetagger()
Get a part of speech retagger.
|
static PartOfSpeechRetagger |
newPartOfSpeechRetagger(java.lang.String className)
Get a partOfSpeechRetagger of a specified class name.
|
static PartOfSpeechRetagger |
newPartOfSpeechRetagger(UTF8Properties properties)
Get a part of speech retagger.
|
protected static java.util.Map<java.lang.String,java.lang.String> retaggerClassMap
public static PartOfSpeechRetagger newPartOfSpeechRetagger()
public static PartOfSpeechRetagger newPartOfSpeechRetagger(UTF8Properties properties)
properties
- MorphAdorner properties.public static PartOfSpeechRetagger newPartOfSpeechRetagger(java.lang.String className)
className
- Class name for the partOfSpeechRetagger.