Hi Abilash, The DictionaryCreator2 in sandbox is defunct.
To make a custom dictionary, the dictionary gui in 4.0 (or trunk) should be used. It does not take the ctakes dictionaries found on sourceforge. It starts directly with an installation of UMLS .rrf files. https://www.nlm.nih.gov/research/umls/ Please visit the dictionary gui wiki page for more information. https://cwiki.apache.org/confluence/display/CTAKES/Dictionary+Creator+GUI Sean -----Original Message----- From: abilash.mat...@cognizant.com [mailto:abilash.mat...@cognizant.com] Sent: Tuesday, August 22, 2017 9:37 AM To: dev@ctakes.apache.org Subject: ICD10 lookup [EXTERNAL] Hi, I am trying to add ICD 9 and ICD 10 dictionaries to the CTAKES code. I downloaded the ctakesicd2015.script and ctakesicd2015.properties file from the link https://urldefense.proofpoint.com/v2/url?u=https-3A__cwiki.apache.org_confluence_display_CTAKES_cTAKES-2B3.2-2BDictionaries-2Band-2BModels&d=DwIFAg&c=qS4goWBT7poplM69zy_3xhKwEW14JZMSdioCoppxeFU&r=fs67GvlGZstTpyIisCYNYmQCP6r0bcpKGd4f7d4gTao&m=gsAGYJ53KpzjH3NjyJvRCMxwmgQP6p0s3a9tnzVwqaw&s=S924zjLdnOjvexnxc2nLLhUC1PspMu6utABoCOb1pqc&e= Then, from the ctakes-dev mailing list archives dated Wed, 09 Dec 2015 00:52:51 GMT (https://urldefense.proofpoint.com/v2/url?u=http-3A__mail-2Darchives.apache.org_mod-5Fmbox_ctakes-2Ddev_201512.mbox_-253C7b83376727f240df9cfb28ba57308942-40CHEXMAIL1A.CHBOSTON.ORG-253E&d=DwIFAg&c=qS4goWBT7poplM69zy_3xhKwEW14JZMSdioCoppxeFU&r=fs67GvlGZstTpyIisCYNYmQCP6r0bcpKGd4f7d4gTao&m=gsAGYJ53KpzjH3NjyJvRCMxwmgQP6p0s3a9tnzVwqaw&s=DehyLv5IRcC24-UASwiitU1lJi8axmtiOO5lkL43O-U&e= ) I found the below steps 1.[DictionaryCreator2] -umls C:\Spiffy\umls\data\external\2015AB\META -db jdbc:hsqldb:file:C:/Spiffy/rword_dict/output/umls2015icd_hsql/ctakesicd2015 -tbl CUI_TERMS -fd ./data/tiny -src ./data/tiny/CtakesSources.txt -atui ./data/tiny/CtakesAnatTuis.txt -tui ./data/tiny/CtakesSnomedTuis.txt 2.Add ICD9CM and ICD10PCS to CtakesSources.txt 3.[CodeMapCreator] -umls C:\Spiffy\umls\data\external\2015AB\META -db jdbc:hsqldb:file:C:/Spiffy/rword_dict/output/umls2015icd_hsql/ctakesicd2015 -tbl kludge -fd ./data/tiny -src ./data/tiny/CtakesSources.txt 4.Copy the .script and .properties into the ctakes root resources/ directory parallel to the existing ctakessnorx/ directory: [CTAKES_ROOT]/resources/org/apache/ctakes/dictionary/lookup/fast/ctakesicd2015/ 5.Then, in ctakes-dictionary-fast-res, edit your cTakesHsql.xml file: [CTAKES_ROOT]/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/cTakesHsql.xml Change both entries of value="jdbc:hsqldb:file:resources/org/apache/ctakes/dictionary/lookup/fast/ctakessnorx/ctakessnorx"/> to value="jdbc:hsqldb:file:resources/org/apache/ctakes/dictionary/lookup/fast/ctakesicd2015/ctakesicd2015"/> Then get rid of the lines that look like <property key="snomedTable" value="snomedct"/> <property key="rxnormTable" value="rxnorm"/> <property key="icd9Table" value="icd9cm"/> <property key="icd10Table" value="icd10pcs"/> And replace them with <property key="snomedct_usTable" value="long"/> <property key="rxnormTable" value="text"/> <property key="icd9cmTable" value="text"/> <property key="icd10pcsTable" value="text"/> I am able to complete steps 2, 4 and 5 My questions here are 1. What is code map creator? 2. How to implement steps 1 and 3? 3. I am using CTAKES version 4. Is there any alternate to steps 1 and 3? If yes please let me know them 4. What is expected inside the directory C:\Spiffy\umls\data\external\2015AB\META in the steps above? 5. I have added script and properties file(CTAKESICD2015), what is the need for Dictionary creator here? Dictionary Creator 1. In Dictionary Creator 4.0 GUI, I'm getting the error message " Path is not a valid path to a UMLS Installation". Is there any rule to set the path? Please help me with the appropriate steps to add ICD 9 and ICD 10 codes. Thanks Abilash Mathew This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient(s), please reply to the sender and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email, and/or any action taken in reliance on the contents of this e-mail is strictly prohibited and may be unlawful. Where permitted by applicable law, this e-mail and other e-mail communications sent to and from Cognizant e-mail addresses may be monitored.