docs: @SuppressWarnings("unchecked")
    @Override
    public void loadClassifier(ObjectInputStream ois, Properties props) throws ClassCastException, IOException, ClassNotFoundException {
      classifier = (LinearClassifier<String, String>) ois.readObject();
      flags = (SeqClassifierFlags) ois.readObject();
      featureFactory = (FeatureFactory) ois.readObject();
  
      if (props != null) {
        flags.setProperties(props);
      }
      reinit();
  
      classIndex = (Index<String>) ois.readObject();
      answerArrays = (Set<List<String>>) ois.readObject();
  
      knownLCWords = (Set<String>) ois.readObject();
    }