Hi John, Are you still around and able to contribute to this issue? This entire issue got bumped off of my list of TODO so I apologize about that. I agree with your points and I think your fix sounds very reasonable. Can you possibly post your code (if you still have it) to https://issues.apache.org/jira/browse/CTAKES-385 Thanks LEwis
On Wed, Dec 2, 2015 at 9:40 AM, John David Osborne (Campus) <[email protected]> wrote: > Hi Lewis and Pei, > > Thanks for updating trunk to allow loading of LVG from a jar. > Unfortunately I am still having a problem using the ctakes default clinical > pipeline (which calls LVG) without making modifications to ctakes when > bringing in ctakes from maven dependencies. > > The problem is that the current fix reads in lvg.properties as an input > stream (wonderful) but then goes and copies lvg.properties to > /tmp/lvg.properties > > This can create a problem because only lvg.properties is copied across AND > the lvg.properties file is used to locate the rest of the needed lvg files. > In most scenarios where ctakes-lvg is brought in as a maven dependency I > think those files are unlikely to be in /tmp (if it even exists) or under > the current working directory. My files for instance live under > target/unpacked/org/apache/ctakes/lvg/ > > Maybe it would be better to allow the setting of the lvg.properties file > path when creating the annotator descriptor? I have such a fix in my > checked out trunk of ctakes, but there may be better ways of doing this... > > -John > > -- *Lewis*
