@Override
  public void process(JCas aJCas) throws AnalysisEngineProcessException {
    CRFModel crfmodel = new CRFModel(aJCas);

    File model = new File(mmodelPath);
    if (!model.exists()) {
      try {
        TrainModelCRF(mtrainFile, mtestFile);
      } catch (IOException e) {
        e.printStackTrace();
      }
    }

    crfmodel.setPath(mmodelPath);
    crfmodel.addToIndexes();
  }