Package opennlp.tools.postag
Klasse POSTagFormatMapper.NoOp
java.lang.Object
opennlp.tools.postag.POSTagFormatMapper
opennlp.tools.postag.POSTagFormatMapper.NoOp
- Umschließende Klasse:
POSTagFormatMapper
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen opennlp.tools.postag.POSTagFormatMapper
POSTagFormatMapper.NoOp
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungconvertTag
(String tag) Converts a given tag to the specified format.String[]
convertTags
(List<String> tags) Converts a list of tags to the specified format.Von Klasse geerbte Methoden opennlp.tools.postag.POSTagFormatMapper
guessFormat
-
Methodendetails
-
convertTags
Beschreibung aus Klasse kopiert:POSTagFormatMapper
Converts a list of tags to the specified format.- Setzt außer Kraft:
convertTags
in KlassePOSTagFormatMapper
- Parameter:
tags
- a list of tags to be converted.- Gibt zurück:
- an array containing the converted tags with the same order and size as the given input list.
Note: A given tag might be
?
if no mapping for the giventag
could be found.
-
convertTag
Beschreibung aus Klasse kopiert:POSTagFormatMapper
Converts a given tag to the specified format.- Setzt außer Kraft:
convertTag
in KlassePOSTagFormatMapper
- Parameter:
tag
- no restrictions on this parameter.- Gibt zurück:
- the converted tag form or
?
if no mapping fortag
could be found.
-
getGuessedFormat
- Setzt außer Kraft:
getGuessedFormat
in KlassePOSTagFormatMapper
- Gibt zurück:
- The guessed
POSTagFormat
. Guaranteed to be notnull
.
-