ctakes-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Coarr, Matt" <mco...@mitre.org>
Subject Re: cTakes: question on updating cue words
Date Mon, 16 Dec 2013 22:09:10 GMT
psv == pipe separated values (similar to csv being comma separated values)

Jira is not just for bugs, it's also for feature requests, changes in behavior, or just anything
that needs to be tracked.  Having a jira ticket helps track the item and when it gets incorporated
in a release, the ticket helps us list what should be documented in the release notes.

For the under development version, you'd need to update the lucene indexes for "assertion_cue_phrase_index".

ctakes-dictionary-res/src/main/resources/org/apache/ctakes/dictionary/lookup/assertion_cue_phrase_index

You can update that with:

ctakes-dictionary-lookup/src/main/java/org/apache/ctakes/dictionary/assertion/CreateAssertionLuceneIndexFromDelimitedFile.java

Run this class (I'd normally do this via the eclipse developer setup), and make sure you're
using ctakes trunk and using the source not the binary install.  The one parameter should
be the path to the directory containing the psv files.  Normally that would be (specify the
full path):

ctakes-assertion-res/src/main/resources/org/apache/ctakes/assertion/cue_words

If I remember right, this will output a lucene index directory in your current directory (if
you're doing this via eclipse, that's set via the run configuration).  After this has run,
you should delete the old "assertion_cue_phase_index" directory in ctakes-dictionary-lookup-res
and replace it with the new one you just created.

ctakes-dictionary-lookup-res/src/main/resources/org/apache/ctakes/dictionary/lookup/assertion_cue_phrase_index

If everything is working as expected, you could update a binary release built from ctakes
trunk by replacing the directory:

resources/org/apache/ctakes/dictionary/lookup/assertion_cue_phrase_index

Matt

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message