ParserAnnotator extends ParserWrapper_ImplBase<TOKEN_TYPE, SENTENCE_TYPE, Parse, TOP_NODE_TYPE> { public static AnalysisEngineDescription getDescription() throws ResourceInitializationException { return AnalysisEngineFactory.createEngineDescription( ParserAnnotator.class, PARAM_PARSER_MODEL_PATH, ParamUtil.getParameterValue(PARAM_PARSER_MODEL_PATH, "/models/en-parser-chunking.bin"), PARAM_OUTPUT_TYPES_HELPER_CLASS_NAME, DefaultOutputTypesHelper.class.getName()); }  @SuppressWarnings("unchecked") @Override void initialize(UimaContext ctx); @Override void process(JCas jCas); static AnalysisEngineDescription getDescription(); static final String DEFAULT_PARSER_MODEL_PATH; static final int DEFAULT_BEAM_SIZE; static final float DEFAULT_ADVANCE_PERCENTAGE; static final String PARAM_PARSER_MODEL_PATH; static final String PARAM_BEAM_SIZE; static final String PARAM_ADVANCE_PERCENTAGE; static final String PARAM_USE_TAGS_FROM_CAS; }
@Test public void testDescriptor() throws UIMAException { this.assumeBigMemoryTestsEnabled(); AnalysisEngineFactory.createEngine(ParserAnnotator.getDescription()); }