private void createAnnotators(List<Object> annotatorsConfig){
  for (  Object objAnnotator : annotatorsConfig) {
    String className=CpeBuilderUtils.getClassNameFromConfig(objAnnotator);
    Map<String,Object> params=CpeBuilderUtils.getParamsFromConfig(objAnnotator);
    Optional<AnalysisEngineDescription> desc=createAnnotator(className,params,ANNOTATOR_DEFAULT_PACKAGE);
    if (desc.isPresent()) {
      String name=CpeBuilderUtils.getComponentName(getAnnotatorNames(),"annotator:" + className);
      addAnnotator(name,desc.get());
    }
  }
}

private void createAnnotators ( List < Object > annotatorsConfig ) { for ( Object objAnnotator : annotatorsConfig ) { String className = CpeBuilderUtils . getClassNameFromConfig ( objAnnotator ) ; Map < String , Object > params = CpeBuilderUtils . getParamsFromConfig ( objAnnotator ) ; Optional < AnalysisEngineDescription > desc = createAnnotator ( className , params , ANNOTATOR_DEFAULT_PACKAGE ) ; if ( desc . isPresent ( ) ) { String name = CpeBuilderUtils . getComponentName ( getAnnotatorNames ( ) , "annotator:" + className ) ; addAnnotator ( name , desc . get ( ) ) ; } } }
create a map of analysisenginedescriptions for the annotators using the current configuration
