public void printFeatureMap(PrintWriter out) throws IOException { featureMap.write(out); }
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(); }