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/23 10:59:43 UTC

Creating Custom Dictionary

Hi,
I am trying to build a custom dictionary (our own, and not UMLS subset one) and below are steps how far we reached.


1.       Used a program to develop Lucene form of custom dictionary.

Output - LuceneIndexDirectory

2.       Made changes to LookupDESC.XML file to configure our own dictionary (LuceneIndexDirectory in externalResourceKey node).

3.       Included the dictionary lookup annotator in the pipeline using UIMAFit.

builder.add(AnalysisEngineFactory.createEngineDescription(DictionaryLookupAnnotator.class)); // Not able to resolve the path of LookupDESC.Xml

Unable to find descriptor file of DictionaryLookupAnnotator and hence unable to give the path of LookupDESC.xml in that descriptor file.

4.       Ran the project and got resource initialization exception.

Please let me know what I am missing here. Or if you can send us a guide to develop custom dictionary and integrate it would be helpful.

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.