code: public final void eval() throws IOException {
      final String component = this.parsedArguments.getString("component");
      final String testFile = this.parsedArguments.getString("testSet");
      final String model = this.parsedArguments.getString("model");
      Evaluate evaluator = null;
  
      if (component.equalsIgnoreCase("pos")) {
        evaluator = new POSEvaluate(testFile, model);
      } else {
        evaluator = new LemmaEvaluate(testFile, model);
      }
      if (this.parsedArguments.getString("evalReport") != null) {
        if (this.parsedArguments.getString("evalReport").equalsIgnoreCase(
            "detailed")) {
          evaluator.detailEvaluate();
        } else if (this.parsedArguments.getString("evalReport").equalsIgnoreCase(
            "error")) {
          evaluator.evalError();
        } else if (this.parsedArguments.getString("evalReport").equalsIgnoreCase(
            "brief")) {
          evaluator.evaluate();
        }
      } else {
        evaluator.evaluate();
      }
     
    }
docs: Main entry point for evaluation.
  @throws IOException
  the io exception thrown if errors with paths are present