WordClusterDictionary.WordClusterDictionarySerializer (Apache OpenNLP :: Core :: Runtime 3.0.0-M4 API)
Description: declaration: package: opennlp.tools.util.featuregen, class: WordClusterDictionary, class: WordClusterDictionarySerializer

Package opennlp.tools.util.featuregen

# Class WordClusterDictionary.WordClusterDictionarySerializer

java.lang.Object
opennlp.tools.util.featuregen.WordClusterDictionary.WordClusterDictionarySerializer

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

Enclosing class:
  `WordClusterDictionary`

public static class WordClusterDictionary.WordClusterDictionarySerializer extends Object implements opennlp.tools.util.model.ArtifactSerializer<WordClusterDictionary>

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `WordClusterDictionarySerializer()`

- ## Method Summary

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

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

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

- ## Constructor Details

  - ### WordClusterDictionarySerializer

    public WordClusterDictionarySerializer()

- ## Method Details

  - ### create

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

  - ### serialize

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