Hi Peter Due to time pressures I resorted to running annotations with the user binary files from the command prompt. I used input files that were extracted from free-text fields from an animal health database. I cleaned that data with R code before inputting into cTAKES/UIMA. I was then able to create .xml files using runctakesCPE.bat with the AggretatePlaintextFastUMLSProcessor annotation engine, and with a custom dictionary that I created with SNOMED and the SNOMED_Vet extension. If I have the opportunity to do more work on this I may take another look at getting dev version running in Eclipse. The .xml files I then parsed with R code to output a text file containing the record id, mention type, CUI, preferred term, and TUI.
Barbara *Barbara Moloney* *BVSc MVS(Epidemiology) MANZCVS(Epidemiology & Pathology)* |Technical Specialist (Epidemiology) *NSW Department of Primary Industries* | *Biosecurity Intelligence & Traceability* 161 Kite Street | Orange NSW 2800| Locked Bag 21 | Orange NSW 2800 *T*: +61 (0)2 6391 3687 | *F*: +61 (0)2 6361 9976 | *M*: 0427 114 598 | *E*: [email protected] *W*: www.dpi.nsw.gov.au/biosecurity; www.industry.nsw.gov.au <http://www.trade.nsw.gov.au/> On 2 June 2018 at 16:43, Peter Abramowitsch <[email protected]> wrote: > Hi Barbara, Thanks for sharing that. > > Have you been able to build a running version from the trunk in source in > Eclipse? I’ve been having compile problems in ctakes-temporal and an API > mismatch in the casgen module when I run it from the maven system in > Eclipse. Instead I need to build the TypeSystem from the command line. > Even then, the binary distribution created by the 4.0.0 source build does > not behave like the binary distribution off the ctakes site. Have you > noticed that? > > Sent from my iPad > > > On Jun 1, 2018, at 23:13, Barbara Moloney <[email protected]. > au> wrote: > > > > I found the solution at > > https://stackoverflow.com/questions/30386833/uima- > example-in-eclipse-not-working > > with > > some modification. I needed to create a UIMA user library in Eclipse for > > each ctakes run confiiguration by adding external Jars from > UIMA_HOME\lib. > > > > Barbara > > > > > > On 1 May 2018 at 11:28, Barbara Moloney <[email protected]> > > wrote: > > > >> Hi > >> I'm new to cTAKES (and Java 1.8) and trying to get run configurations to > >> work. I have downloaded the source code from URL as specified in the > >> Developer Install instructions for cTAKES 4.0. When I try to run the > >> configuration within Eclipse (eg UIMA_CPE_GUI) I get an error message > >> > >> Error: Could not find or load main class org.apache.uima.tools.cpm.CpmF > >> rame > >> > >> I'm suspecting the problem may be in my path and/or classpath variables. > >> > >> I have another Eclipse workspace for UIMA and the run configurations are > >> working. > >> > >> Can anyone help please. > >> > >> Barbara > >> > >> > > > > -- > > > > This > > message is intended for the addressee named and may contain > > > > confidential information. If you are not the intended recipient, please > > > > delete it and notify the sender. Views expressed in this message are > > those > > of the individual sender, and are not necessarily the views of > > their > > organisation. > -- This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient, please delete it and notify the sender. Views expressed in this message are those of the individual sender, and are not necessarily the views of their organisation.
