You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ctakes.apache.org by "Kumar, Avanish" <av...@optum.com> on 2017/06/20 07:51:45 UTC

Custom Dictionary

Hi,
     I want to make a custom dictionary using pipe delimited file and configure the lookup-descriptor to lookup from that file. Do anyone have any idea about how to do that? I had searched about it but couldn't find a detailed description on that.

Thanks,
Avanish

This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity
to which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.

RE: Custom Dictionary [EXTERNAL]

Posted by "Finan, Sean" <Se...@childrens.harvard.edu>.
You can see example files in ctakes dictionary-lookup-res.  Start with the simplest 2:
Cui to term text:
http://svn.apache.org/repos/asf/ctakes/tags/ctakes-4.0.0/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/example/bsv/custom_cui_bsv.bsv

Cui and tui to term text:
http://svn.apache.org/repos/asf/ctakes/tags/ctakes-4.0.0/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/example/bsv/custom_cui_tui_bsv.bsv

There are also example configuration xml files, such as:
http://svn.apache.org/repos/asf/ctakes/tags/ctakes-4.0.0/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/example/bsv/CustomCuiTuiBsv.xml

*note: there is a missed directory in the examples paths in the example xml files.  To use them directly you'll need to add "bsv/" to the .bsv paths in the xml files.  I thought that I had fixed that ...

Sean
 
-----Original Message-----
From: Kumar, Avanish [mailto:avanish.kumar@optum.com] 
Sent: Tuesday, June 20, 2017 3:52 AM
To: dev@ctakes.apache.org
Subject: Custom Dictionary [EXTERNAL]

Hi,
     I want to make a custom dictionary using pipe delimited file and configure the lookup-descriptor to lookup from that file. Do anyone have any idea about how to do that? I had searched about it but couldn't find a detailed description on that.

Thanks,
Avanish

This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately.