Example #1
0
 public void printFeatureMap(PrintWriter out) throws IOException {
   featureMap.write(out);
 }
Example #2
0
 public void write(String fileName) throws IOException {
   PrintWriter out = new PrintWriter(new FileOutputStream(fileName));
   if (dict != null) dict.write(out);
   featureMap.write(out);
   out.close();
 }