question: public void initialize ( UimaContext aContext ) { annotate_tokens = ( Boolean ) aContext . getConfigParameterValue ( PARAM_ANNOTATE_TOKENS ) ; annotate_sentences = ( Boolean ) aContext . getConfigParameterValue ( PARAM_ANNOTATE_SENTENCES ) ; annotate_partofspeech = ( Boolean ) aContext . getConfigParameterValue ( PARAM_ANNOTATE_PARTOFSPEECH ) ; model_path = ( String ) aContext . getConfigParameterValue ( PARAM_MODEL_PATH ) ; config_path = ( String ) aContext . getConfigParameterValue ( PARAM_CONFIG_PATH ) ; if ( model_path == null ) { Logger . printError ( component , "The model file for the Stanford Tagger was not correctly specified." ) ; System . exit ( - 1 ) ; } try { if ( config_path != null ) { FileInputStream isr = new FileInputStream ( config_path ) ; Properties props = new Properties ( ) ; props . load ( isr ) ; mt = new MaxentTagger ( model_path , new TaggerConfig ( props ) , false ) ; } else { mt = new MaxentTagger ( model_path , new TaggerConfig ( "-model" , model_path ) , false ) ; } } catch ( Exception e ) { e . printStackTrace ( ) ; Logger . printError ( component , "MaxentTagger could not be instantiated with the supplied model(" + model_path + ") and config(" + config_path + ") file." ) ; System . exit ( - 1 ) ; } }
target:  initialization method where we fill configuration values and check some prerequisites