Thanks Michael! I have actually created multiple instances of ConceptMapper.
I even started modifying the source to get it to work. I just thought I am
hacking it and I wanted to find a more straightforward way of doing that.
Can you explain a dictionary get loaded, and I might be able to get this
done and pass it on to the list.
Merging the dictionaries is another way to work around the problem. However,
in my case it is not advantageous. Besides, my dictionaries are really big,
and merging them would perhaps run Eclipse out of memory, even though I am
compiling with -Xmx1024M.

Please get back with me about the question above if you can.
Thanks again for your help!
Ahmed

On Thu, Jun 19, 2008 at 4:41 PM, Michael Tanenblatt <[EMAIL PROTECTED]>
wrote:

> At present, an instance of ConceptMapper can only load one dictionary. You
> would have to either merge dictionaries into one, or run multiple passes of
> ConceptMapper, using different configurations. The ability to load multiple
> dictionaries would be a nice enhancement...
>
>
>
> On Jun 19, 2008, at 3:12 PM, Ahmed Abdeen Hamed wrote:
>
>  My apologies that my question wasn't clear enough. I am trying to use the
>> ConceptMapper example that was posted on the list a couple of days ago.
>> However, the example came with one dictionary only. I have a need to
>> access
>> more than one dictionary. So, I created a primitive AE similar to the
>> ConceptMapperOffsetTokenizer.xml and I added its entry to the aggregate AE
>> OffsetTokenizerMatcher.xml. However, the only dictionary that get loaded
>> when the two primitive ones are listed on the aggregate is the dictionary
>> listed in the ConceptMapperOffsetTokenizer.xml, not the second dictionary
>> that I just created. On the other hand, if I list only one of them in the
>> aggregate AE, the correct dictionary gets loaded.
>> To make my long story short, how does a dictionary file get loaded? What
>> sort of parameters that needs to be set and where? Is it possible to load
>> more than one dictionary?
>>
>> Thanks,
>> Ahmed
>>
>> On Thu, Jun 19, 2008 at 2:43 PM, LeHouillier, Frank D. <
>> [EMAIL PROTECTED]> wrote:
>>
>>
>>> I should also say that this sort of question is better for the
>>> uima-user list than the developers list.  The developers list is for
>>> people actually working on the framework.
>>>
>>> -----Original Message-----
>>> From: LeHouillier, Frank D.
>>> Sent: Thursday, June 19, 2008 2:20 PM
>>> To: '[EMAIL PROTECTED]'
>>> Subject: RE: ConceptMapper with multiple dictionaries
>>>
>>> Your question isn't entirely clear, but if you mean that you expect the
>>> aggregate analysis engine to produce a CAS with more general annotations
>>> than was produced by the primitive AE's (perhaps because of the
>>> Capabilities), this thread might be helpful:
>>>
>>> http://mail-archives.apache.org/mod_mbox/incubator-uima-user/200805.mbox
>>> /[EMAIL PROTECTED]
>>>
>>>
>>> Hope that helps.
>>>
>>> -----Original Message-----
>>> From: Ahmed Abdeen Hamed [mailto:[EMAIL PROTECTED]
>>> Sent: Thursday, June 19, 2008 2:09 PM
>>> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
>>> Subject: ConceptMapper with multiple dictionaries
>>>
>>> Hello UIMA developers,I am trying to build an aggregate AE engine that
>>> uses ConceptMapper and access more than one dictionary. I am not getting
>>> any errors, but I am always getting a specific primitive AE results when
>>> I list them in the aggregate one. Is there a straightforward way to do
>>> that?
>>> Thanks for your time!
>>> Ahmed
>>>
>>>
>

Reply via email to