Hi Sean, Thank you for the fast reply! I imported the dictionary gui into eclipse (as standalone), added the lib folder to the build path and tried to compile with Java 8. Eclipse complained about ~ 200 errors.
What am I missing here? Leander > Am 15.03.2017 um 19:16 schrieb Finan, Sean <sean.fi...@childrens.harvard.edu>: > > Hi Leander. I think that you would be better off using the dictionary gui. > It is also in sandbox, and though it was originally a wrapper interface for > the cli tool, it has since been the more active project with new features and > bug fixes. > > -----Original Message----- > From: Leander Melms [mailto:me...@students.uni-marburg.de] > Sent: Wednesday, March 15, 2017 1:22 PM > To: dev@ctakes.apache.org > Subject: Trouble with the DictionaryTool > > Hi, > > I've followed the instructions found in this mailing list to set up and run > the dictionary tool. I made a quick summary of what I found: > > Change the configuration at /data/default/CtakesSources.txt to include ICD10 > or other extensions; there can be zero or more sources. > Copy ctakesumls.properties and ctakesumls.script from resource/memdbtemplate > to a new folder to put the new UMLS DB Run DictionaryCreator2 java -cp > dictionarytool.jar;lib/* org.apache.ctakes.dictionarytool.DictionaryCreator2 > -umls "/2015AB/META" > -atui ./data/tiny/CtakesAnatTuis.txt > -tui ./data/tiny/CtakesSnomedTuis.txt > -src ./data/tiny/CtakesSources.txt > -fd ./data/tiny > -db jdbc:hsqldb:file:pathTonewDB/snorx2015 > -tbl CUI_TERMS > Run CodeMapCreator > java -cp dictionarytool.jar;lib/* > org.apache.ctakes.dictionarytool.CodeMapCreator > -umls "/2015AB/META" > -atui ./data/tiny/CtakesAnatTuis.txt > -db jdbc:hsqldb:file:pathTonewDB/snorx2015 > -fd ./data/tiny > -tbl CUI_TERMS > Copy new DB files to new location and create a copy of cTakesHsql.xml and > update dictionary location > > I'm failing at step 3 when running the DictionaryCreator2 with the output: > > lib/hsqldb.jar: warning: cannot start debugger; debugging mode disabled > lib/hsqldb.jar: line 1: $'PK\003\004': command not found > lib/hsqldb.jar: line 2: META-INF/ PK: No such file or directory > lib/hsqldb.jar: line 3: syntax error near unexpected token `(' > lib/hsqldb.jar: line 3: p < _ xMETA-INF/MANIFEST.MFm Ok! c{ f o m {(. > \5 uf 5ڙR N 8F+w @ V %m" > =] / U { D Hc 9eٹ =b tf0 Υ &[ U m g& w > @ p % )` kQe z{' w ͩ H+. /f՜ Z ] Q S /vHG ٔ e h[ -F}PK' > > The path should be correctly pointing to the UMLS folder. I'm running Mac OS > Sierra. > > Any help is greatly appreciated. > > Leander > >