Hi Tom,

That is odd.  An mvn -U compile brings it down from sourceforge and unpacks it 
for me.  But oddly enough (and I hadn't previously noticed) I don't have the 
example/ directory and that is most likely a bug.  Apparently some of the 
unpacking config is bad in our latest pom.

Just to make certain, you are downloading the 4.0 released code or checking out 
4.0.1 trunk?
Just to get things working, you can manually install the dictionary.  On the 
ctakes.apache.org downloads page there is a button for "UMLS Dictionary" "Fast 
Version".  Click that and it should download a sno_rx_16ab.zip file.  You will 
need to unzip that in the resources/org/apache/../fast/ directory.  It includes 
the .xml configuration file and the dictionary script and property files.

I'm sorry that this is broken.  I will have to debug and get a fix in for 4.0.1 
- would you mind creating a jira for the problem?   If not I can create one and 
paste your emails.
https://issues.apache.org/jira/browse/ctakes/?selectedTab=com.atlassian.jira.jira-projects-plugin:summary-panel

Thanks,
Sean

-----Original Message-----
From: Thomas W Loehfelm [mailto:twloehf...@ucdavis.edu] 
Sent: Thursday, May 11, 2017 12:11 AM
To: dev@ctakes.apache.org
Subject: RE: Issues changing term consumer

Hi Sean - 

I'm not seeing it. The only folder there is 'example' which contains a folder 
'bsv' that has some bar-separated text files and xml. I tried a fresh install, 
even deleting my eclipse installation and starting from scratch.

Tom

-----Original Message-----
From: Finan, Sean [mailto:sean.fi...@childrens.harvard.edu] 
Sent: Tuesday, May 9, 2017 1:19 PM
To: dev@ctakes.apache.org
Subject: RE: Issues changing term consumer

Hi Tom,

After you perform a mvn compile there should be a copy of that file in the 
resources/ directory under org/apache/ctakes/dictionary/lookup/fast/

Let me  know if you don't  see it after performing a mvn compile as that would 
indicate a bug.

Thanks,
Sean

-----Original Message-----
From: Thomas W Loehfelm [mailto:twloehf...@ucdavis.edu] 
Sent: Tuesday, May 09, 2017 3:30 PM
To: dev@ctakes.apache.org
Subject: Issues changing term consumer

I'm having trouble changing the DefaultTermConsumer to my preferred 
SemanticCleanupTermConsumer.

I followed the Dev install in Eclipse for cTAKES 4.0.

I'm referencing the cTAKES 4.0 Component Use Guide>Fast Dictionary Lookup>Most 
Precise Terms Persistence, and I understand that I have to edit sno_rx_16ab.xml.

My issue is that as far as I can tell cTAKES is pulling that file from a JAR 
now rather than from a separate file. The jar seems to be:
ctakes-dictionary-lookup-fast>Maven 
Dependencies>ctakes-resources-sno_rx-4.0.0.jar which contains 
org.apache.ctakes.dictionary.lookup.fast>sno_rx_16ab.xml.

Is the intention that I modify the contents of that jar? Am I missing something 
obvious?

Thanks in advance -

Tom

Reply via email to