Actually, I think Matt's suggestion is a bit out of date -- during development we removed the dependency on the lucene dictionary lookup and now the under development version does read those psv files directly.
But this still doesn't help Paula since she's trying to run the current release. I thought Matt or Pei might have some info about whether its possible to modify negation cue words for that release? For example, I can see in the code it uses a "cue model" which can be found in ctakes-assertion-res but it is a binary and I'm not sure what kind. Is there any way to modify that file? Tim On 12/24/2013 12:09 AM, digital paula wrote: Thank you, Pei. I believe I had signed up for the dev list right after Matt posted so I didn't see his email. I will try it out. Merry Christmas to you and everyone on the list. :-) Regards, Paula ________________________________ Date: Mon, 23 Dec 2013 23:42:30 -0500 Subject: Re: cTakes: question on updating cue words From: [email protected]<mailto:[email protected]> To: [email protected]<mailto:[email protected]> Paula, Were you able to try Matt's suggestion on dev@? http://mail-archives.apache.org/mod_mbox/ctakes-dev/201312.mbox/%3cced4dccb.126b0%[email protected]%3e<http://mail-archives.apache.org/mod_mbox/ctakes-dev/201312.mbox/%3cCED4DCCB.126B0%25mcoarr%40mitre.org%3e> On Mon, Dec 23, 2013 at 11:57 AM, digital paula <[email protected]<mailto:[email protected]>> wrote: Hello again cTAKES Community, I think Tim's away for the holidays since I didn't see any response. Could someone else assist? To reiterate, I'd like to manually update the cue words for the polarity and uncertainty features. Please see below for details. Thanks. Regards, Paula ________________________________ From: [email protected]<mailto:[email protected]> To: [email protected]<mailto:[email protected]> Subject: RE: cTakes: question on updating cue words Date: Thu, 19 Dec 2013 16:20:25 -0500 Hi Tim, I just realized that my manual cue word updates didn't take. :-( I updated these two files from the med-facts.i2b21.2-SNAPSHOT.jar, then rebundled and added back to cTAKES: 1. negation_cue_list.txt 2. certainty.txt Is there another file that you know of that needs to be updated? In the cue folder under the jar contains only text files perhaps there's another text file I need to update, would you know what the files would be or what other updates need to be made? Thanks. Regards, Paula ________________________________ Date: Mon, 16 Dec 2013 16:12:29 -0500 From: [email protected]<mailto:[email protected]> To: [email protected]<mailto:[email protected]> Subject: Re: cTakes: question on updating cue words Paula, I think to use the released version of ctakes you will have to do what you proposed - modify the jar. The checked in files (*.psv) that you are finding are for the under-development version. Tim On 12/16/2013 03:27 PM, digital paula wrote: Hi Pei, I don't consider this a bug so not sure why a jira ticket is needed, I just need to add 2 cue words wondering if I can do it manually? Exploring a bit, I see there are .psv files in Assertion component in the Cue_Words folder that I updated but it doesn't seem to work. I also added to the Semantic_Classes folder (in Assertion as well), the cue words in the .txt file and that didn't work either. One thing that I haven't tried is updating the cue words in the org.mitre.medfacts.i2b2.cuefiles package for the jar file: medfacts-i2b2-1.2.SNAPSHPOT.jar. That would be a little more work since I need to extract and rebuild jar file and add back to project. I'm kind of on a huge deadline and hoping I can make these changes today so hoping this doesn't require a lot of time to just add a couple cue words. By the way, was is a .psv file? Thanks. Regards, Paula ________________________________ From: [email protected]<mailto:[email protected]> To: [email protected]<mailto:[email protected]> Subject: RE: cTakes: question on updating cue words Date: Mon, 16 Dec 2013 19:31:45 +0000 [moved to dev@] Hi Paula, My suggestion would be to open a Jira item so that it could be tracked: https://issues.apache.org/jira/browse/CTAKES (Feel free to create a new account). Even cooler if you could attach the affected files with the patch(diffs) and any tests. --Pei From: digital paula [mailto:[email protected]] Sent: Monday, December 16, 2013 1:30 PM To: [email protected]<mailto:[email protected]> Subject: cTakes: question on updating cue words Hello again cTAKES Community, I would like to add additional cue words to polarity (for negation) and uncertainty. I would so appreciate if someone can let me know how I can add additional cue words. Thanks. Regards, Paula
