opennlp-tools/src/main/java/opennlp/tools/util/featuregen/WordClusterDictionary.java [77:85]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  public void serialize(OutputStream out) throws IOException {
    try (Writer writer = new BufferedWriter(new OutputStreamWriter(out))) {
      for (Map.Entry<String, String> entry : tokenToClusterMap.entrySet()) {
        writer.write(entry.getKey() + " " + entry.getValue() + "\n");
      }

      writer.flush();
    }
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



opennlp-tools/src/main/java/opennlp/tools/util/featuregen/BrownCluster.java [109:116]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  public void serialize(OutputStream out) throws IOException {
    try (Writer writer = new BufferedWriter(new OutputStreamWriter(out))) {
      for (Map.Entry<String, String> entry : tokenToClusterMap.entrySet()) {
        writer.write(entry.getKey() + "\t" + entry.getValue() + "\n");
      }
      writer.flush();
    }
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



