code: public static <IN extends CoreMap> CRFClassifier<IN> getClassifier(File file) throws IOException, ClassCastException,
        ClassNotFoundException {
      CRFClassifier<IN> crf = new CRFClassifier<IN>();
      crf.loadClassifier(file);
      return crf;
    }
docs: Loads a CRF classifier from a filepath, and returns it.
  
  @param file
  File to load classifier from
  @return The CRF classifier
  
  @throws IOException
  If there are problems accessing the input stream
  @throws ClassCastException
  If there are problems interpreting the serialized data
  @throws ClassNotFoundException
  If there are problems interpreting the serialized data