incubator-ctakes-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bleeker, Troy C." <>
Subject RE: ctakes-resources
Date Tue, 25 Sep 2012 14:50:58 GMT
This discussion speaks to the install cases and the vote we took in the SDG meetings. I agree
with putting the resources in one place. There is still a use case for the easiest adoption.
That is, probably a first time user that wants to kick the tires. For the best first experience,
is it best to include an all-in-one package, including the LVG and dictionary lookup, even
though it will take longer to download? If so, shouldn't they be co-located with the other

-----Original Message-----
From: []
On Behalf Of Chen, Pei
Sent: Tuesday, September 25, 2012 8:52 AM
Subject: RE: ctakes-resources

The downside of putting descriptors inside a jar/war is that you would need to recompile/re-jar
for simple xml changes.  I think for some, they might consider xml a configuration change
and not necessary a code change.  I wonder if that was the motivation of why if you create
a new UIMA nature, it puts it in a desc directory (let's dig into it a little bit, but probably
could go either way on that).

What about those larger resources such as LVG or Dictionary Lookup?  In my opinion, they probably
shouldn't even be versioned in the same spot as the java srcs... Perhaps an /incr directory
outside of trunk?  I would image something like /dictionarylook2011ab, /dictionaryloookup2012aa
doesn't need to be inside a particular release.

> -----Original Message-----
> From: Steven Bethard [mailto:steven.bethard@Colorado.EDU]
> Sent: Tuesday, September 25, 2012 3:20 AM
> To:
> Subject: Re: ctakes-resources
> On Sep 25, 2012, at 12:10 AM, "Chen, Pei"
> <> wrote:
> > During the updating of the project names, I left the resources 
> > folders
> intact.
> >
> > What do folks think about the resources?
> >
> > 1)      Should we leave the resources as is (within each project)? Or
> >
> > 2)      Create a ctakes-resources module that contains all of the resource
> files?
> >
> > For example:
> > ctakes-resources/
> >                ctakes-chunker/desc
> > ctakes-chunker/models
> > ctakes-dictionary-lookup/somelookupbinariesfolder
> In an ideal world, all resources (descriptors, models, etc.) would be 
> distributed in the jar file and referenced via Java's 
> Class.getResource mechanism. In Maven, this means putting them into src/main/resources.
> So my vote would be one of:
> (1) In the src/main/resources directory of the ctakes-XXX project.
> (2) Descriptors that don't refer to specific models would go into 
> src/main/resources of ctakes-XXX, but the models and the descriptors 
> that refer to them would go into src/main/resources of a separate 
> ctakes-XXX- models project. This would allow people to exclude the 
> models if they don't need them, which can make a lot of sense for the big models.
> Steve

View raw message