You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ctakes.apache.org by Prakhar Gaur <pr...@infosys.com> on 2018/01/02 09:00:44 UTC

cTAKES FastLookUp AE With Custom Dictionary

Hello,

I created a custom Dictionary using Dictionary creator GUI tool and the XML file for it is created successfully.


Post that, according to documentation<https://cwiki.apache.org/confluence/display/CTAKES/Dictionary+Creator+GUI> (first Information box at bottom of page)

I make required change in  UmlsLookupAnnotator.xml file for the "DictionaryDescriptor" attribute.
But on running the piper file with Piper-runner tool, the default sno_rx_16ab file is used and not the newly created one.

If I use the '-l' option followed with custom dictionary xml path with piper-runner tool, then the custom dictionary is used for UMLS lookup.

Can someone please help me in getting the solution involving changes to UmlsLookupAnnotator.xml file to work ?

Regards,

RE: cTAKES FastLookUp AE With Custom Dictionary

Posted by Prakhar Gaur <pr...@infosys.com>.
Hello James,

were you able to solve this issue?
No, I have not been able to resolve this issue.

Looking at the Dictionary Creator GUI<https://cwiki.apache.org/confluence/display/CTAKES/Dictionary+Creator+GUI> page you mentioned, I don't see a reference to a UmlsLookupAnnotator.xml file or a "DictionaryDescriptor" attribute.

I did this since on searching for ‘LookupXml’ in cTAKES installation folder, ‘UmlsLookupAnnotator.xml’ file comes up. In that file ‘DictionaryDescriptor’ is the only appropriate descriptor I could find to modify for this purpose.
Taking your reply into consideration, it seems that I was wrong in my assumption.

Have you tried to set  the fast dictionary parameter LookupXml to org/apache/ctakes/dictionary/lookup/fast/DictionaryName.xml
(where you replace DictionaryName with whatever you entered in the Dictionary Name field of the DIctionary Creator GUI)?

What is the exact name of the file where I can set “the fast dictionary parameter LookupXml” ?

Thanks a ton for the help.

Regards,

On Tue, Jan 2, 2018 at 4:00 AM, Prakhar Gaur <pr...@infosys.com>> wrote:
Hello,

I created a custom Dictionary using Dictionary creator GUI tool and the XML file for it is created successfully.


Post that, according to documentation<https://cwiki.apache.org/confluence/display/CTAKES/Dictionary+Creator+GUI> (first Information box at bottom of page)

I make required change in  UmlsLookupAnnotator.xml file for the "DictionaryDescriptor" attribute.
But on running the piper file with Piper-runner tool, the default sno_rx_16ab file is used and not the newly created one.

If I use the '-l' option followed with custom dictionary xml path with piper-runner tool, then the custom dictionary is used for UMLS lookup.

Can someone please help me in getting the solution involving changes to UmlsLookupAnnotator.xml file to work ?

Regards,


Re: cTAKES FastLookUp AE With Custom Dictionary

Posted by James Masanz <ma...@gmail.com>.
were you able to solve this issue?

Looking at the Dictionary Creator GUI
<https://cwiki.apache.org/confluence/display/CTAKES/Dictionary+Creator+GUI>
page
you mentioned, I don't see a reference to a UmlsLookupAnnotator.xml file or
a "DictionaryDescriptor" attribute.

Have you tried to set  the fast dictionary parameter *LookupXml* to
org/apache/ctakes/dictionary/lookup/fast/DictionaryName.xml
(where you replace DictionaryName with whatever you entered in the Dictionary
Name field of the DIctionary Creator GUI)?


On Tue, Jan 2, 2018 at 4:00 AM, Prakhar Gaur <pr...@infosys.com>
wrote:

> Hello,
>
> I created a custom Dictionary using Dictionary creator GUI tool and the
> XML file for it is created successfully.
>
>
> Post that, according to documentation<https://cwiki.
> apache.org/confluence/display/CTAKES/Dictionary+Creator+GUI> (first
> Information box at bottom of page)
>
> I make required change in  UmlsLookupAnnotator.xml file for the
> "DictionaryDescriptor" attribute.
> But on running the piper file with Piper-runner tool, the default
> sno_rx_16ab file is used and not the newly created one.
>
> If I use the '-l' option followed with custom dictionary xml path with
> piper-runner tool, then the custom dictionary is used for UMLS lookup.
>
> Can someone please help me in getting the solution involving changes to
> UmlsLookupAnnotator.xml file to work ?
>
> Regards,
>