docs: @Override
    public void serializeClassifier(String serializePath) {
  
      System.err.print("Serializing classifier to " + serializePath + "...");
  
      try {
        ObjectOutputStream oos = IOUtils.writeStreamFromString(serializePath);
  
        oos.writeObject(classifier);
        oos.writeObject(flags);
        oos.writeObject(featureFactory);
        oos.writeObject(classIndex);
        oos.writeObject(answerArrays);
        //oos.writeObject(WordShapeClassifier.getKnownLowerCaseWords());
  
        oos.writeObject(knownLCWords);
  
        oos.close();
        System.err.println("Done.");
  
      } catch (Exception e) {
        System.err.println("Error serializing to " + serializePath);
        e.printStackTrace();
        // dont actually exit in case they're testing too
        //System.exit(1);
      }
    }