Klasse POSTagFormatMapper.NoOp

java.lang.Object
opennlp.tools.postag.POSTagFormatMapper
opennlp.tools.postag.POSTagFormatMapper.NoOp
Umschließende Klasse:
POSTagFormatMapper

public static class POSTagFormatMapper.NoOp extends POSTagFormatMapper
  • Methodendetails

    • convertTags

      public String[] convertTags(List<String> tags)
      Beschreibung aus Klasse kopiert: POSTagFormatMapper
      Converts a list of tags to the specified format.
      Setzt außer Kraft:
      convertTags in Klasse POSTagFormatMapper
      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 given tag could be found.
    • convertTag

      public String convertTag(String tag)
      Beschreibung aus Klasse kopiert: POSTagFormatMapper
      Converts a given tag to the specified format.
      Setzt außer Kraft:
      convertTag in Klasse POSTagFormatMapper
      Parameter:
      tag - no restrictions on this parameter.
      Gibt zurück:
      the converted tag form or ? if no mapping for tag could be found.
    • getGuessedFormat

      public POSTagFormat getGuessedFormat()
      Setzt außer Kraft:
      getGuessedFormat in Klasse POSTagFormatMapper
      Gibt zurück:
      The guessed POSTagFormat. Guaranteed to be not null.