Re: uimaFIT: external resource bindings?

2013-11-01 Thread Richard Eckart de Castilho
You're using a ConceptMapper class which contains @ExternalResource annotations, right? Otherwise, I'd be surprised if this worked, because otherwise there should be no external resource dependencies defined in the sentimentMapper description. -- Richard On 29.10.2013, at 14:05, Jens Grivolla

Re: uimaFIT: external resource bindings?

2013-10-29 Thread Jens Grivolla
I got it to work with the following: ExternalResourceDescription myDict = createExternalResourceDescription( CompiledDictionaryResource_impl.class, "file:dictionary.dic"); AnalysisEngineDescription sentimentMapper = createEngineDescription(

Re: uimaFIT: external resource bindings?

2013-10-24 Thread Richard Eckart de Castilho
It largely depends on how you use the ConceptMapper. External resources require three things to work: 1) an external resource description 2) a declaration on the analysis engine that it accepts an external resource (a dependency) 3) a binding binding between the two Since the ConceptMapper is n

Re: uimaFIT: external resource bindings?

2013-10-24 Thread Jens Grivolla
Ok, I guess I don't actually need to do that, ConceptMapper only looks for the "key" and doesn't seem to know about the indirect binding, right? And in uimaFIT if I want to bind the same resource to several AEs I use createExternalResourceDescription() and then just pass it like any other para

uimaFIT: external resource bindings?

2013-10-24 Thread Jens Grivolla
Hi, I'm trying to run ConceptMapper from uimaFIT, but createDependencyAndBind doesn't seem to allow to separate declaring the external resource (with a "name") and binding that "name" to a "key". I looked through ExternalResourceFactory but didn't find any method that seems to obviously do what