public class NoopPartOfSpeechTagsMapper extends AbstractPartOfSpeechTagsMapper implements PartOfSpeechTagsMapper
destinationTagSeparator, partOfSpeechTagsMap, sourceTagSeparator, unknownTag
Constructor and Description |
---|
NoopPartOfSpeechTagsMapper()
Create noop part of speech tags mapper.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getTag(java.lang.String spelling,
java.lang.String sourceTag)
Get destination part of speech tag for a source part of speech tag.
|
toString
close
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
close
public NoopPartOfSpeechTagsMapper() throws java.io.IOException
java.io.IOException
public java.lang.String getTag(java.lang.String spelling, java.lang.String sourceTag)
getTag
in interface PartOfSpeechTagsMapper
getTag
in class AbstractPartOfSpeechTagsMapper
spelling
- Spelling.sourceTag
- Source tag name.This implementation returns the original tag unchanged.