/** * get a ResourceManager object with the default key/value pairs for this configurator default * SRL_TYPE is Verb. * * @return a non-null ResourceManager with appropriate values set. */ @Override public ResourceManager getDefaultConfig() { Property[] properties = {USE_POS, USE_LEMMA, USE_SHALLOW_PARSE, USE_DEP, USE_NER_CONLL, USE_NER_ONTONOTES, USE_STANFORD_PARSE, USE_STANFORD_DEP, USE_SRL_VERB, USE_SRL_NOM, USE_SRL_PREP, USE_SRL_COMMA, USE_QUANTIFIER, USE_VERB_SENSE, USE_JSON, USE_RELATION, USE_LAZY_INITIALIZATION, USE_SRL_INTERNAL_PREPROCESSOR, SPLIT_ON_DASH, USE_SENTENCE_PIPELINE, USE_TIMEX3, USE_MENTION, USE_TRANSLITERATION, USE_DATALESS_ESA, USE_DATALESS_W2V, USE_QUESTION_TYPER}; return (new AnnotatorServiceConfigurator().getConfig(new ResourceManager( generateProperties(properties)))); }
/** * get a ResourceManager object with the default key/value pairs for this configurator default * SRL_TYPE is Verb. * * @return a non-null ResourceManager with appropriate values set. */ @Override public ResourceManager getDefaultConfig() { Property[] properties = {USE_POS, USE_LEMMA, USE_SHALLOW_PARSE, USE_DEP, USE_NER_CONLL, USE_NER_ONTONOTES, USE_STANFORD_PARSE, USE_STANFORD_DEP, USE_SRL_VERB, USE_SRL_NOM, USE_SRL_PREP, USE_SRL_COMMA, USE_QUANTIFIER, USE_VERB_SENSE, USE_JSON, USE_RELATION, USE_LAZY_INITIALIZATION, USE_SRL_INTERNAL_PREPROCESSOR, SPLIT_ON_DASH, USE_SENTENCE_PIPELINE, USE_TIMEX3, USE_MENTION, USE_TRANSLITERATION, USE_DATALESS_ESA, USE_DATALESS_W2V, USE_QUESTION_TYPER}; return (new AnnotatorServiceConfigurator().getConfig(new ResourceManager( generateProperties(properties)))); }