Package opennlp.tools.parser.lang.es

# Class AncoraSpanishHeadRules.HeadRulesSerializer

java.lang.Object
opennlp.tools.parser.lang.es.AncoraSpanishHeadRules.HeadRulesSerializer

All Implemented Interfaces:
  `opennlp.tools.util.model.ArtifactSerializer<AncoraSpanishHeadRules>`

Enclosing class:
  `AncoraSpanishHeadRules`

public static class AncoraSpanishHeadRules.HeadRulesSerializer extends Object implements opennlp.tools.util.model.ArtifactSerializer<AncoraSpanishHeadRules>

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `HeadRulesSerializer()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `AncoraSpanishHeadRules`
  `create(InputStream in)`
  `void`
  `serialize(AncoraSpanishHeadRules artifact, OutputStream out)`

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### HeadRulesSerializer

    public HeadRulesSerializer()

- ## Method Details

  - ### create

    public AncoraSpanishHeadRules create(InputStream in) throws IOException
    Specified by:
      `create` in interface `opennlp.tools.util.model.ArtifactSerializer<AncoraSpanishHeadRules>`
    Throws:
      `IOException`

  - ### serialize

    public void serialize(AncoraSpanishHeadRules artifact, OutputStream out) throws IOException
    Specified by:
      `serialize` in interface `opennlp.tools.util.model.ArtifactSerializer<AncoraSpanishHeadRules>`
    Throws:
      `IOException`