edu.northwestern.at.utils.corpuslinguistics.postagger
Class PartOfSpeechTaggerFactory
java.lang.Object
edu.northwestern.at.utils.corpuslinguistics.postagger.PartOfSpeechTaggerFactory
public class PartOfSpeechTaggerFactory
- extends java.lang.Object
PartOfSpeechTagger factory.
|
Field Summary |
protected static java.util.Map<java.lang.String,java.lang.String> |
taggerClassMap
Map from short to full class names for built-in taggers. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
taggerClassMap
protected static java.util.Map<java.lang.String,java.lang.String> taggerClassMap
- Map from short to full class names for built-in taggers.
PartOfSpeechTaggerFactory
public PartOfSpeechTaggerFactory()
newPartOfSpeechTagger
public PartOfSpeechTagger newPartOfSpeechTagger()
- Get a partOfSpeechTagger.
- Returns:
- The partOfSpeechTagger.
newPartOfSpeechTagger
public PartOfSpeechTagger newPartOfSpeechTagger(java.lang.String className)
- Get a partOfSpeechTagger of a specified class name.
- Parameters:
className - Class name for the partOfSpeechTagger.
- Returns:
- The partOfSpeechTagger.