Re: cTAKES Groovy...

2013-12-06 Thread Chen, Pei
+1 for that. We should also address the TODO comment in there before release... > On Dec 6, 2013, at 3:01 PM, "Masanz, James J." wrote: > > > Sounds like before publicizing any groovy scripts we need to have some > testing on clean Win and clean *nix systems. > > FYI, after I fixed the typo

RE: cTAKES Groovy...

2013-12-06 Thread Finan, Sean
Good stuff - Thanks Richard -Original Message- From: Masanz, James J. [mailto:masanz.ja...@mayo.edu] Sent: Friday, December 06, 2013 3:30 PM To: 'dev@ctakes.apache.org' Subject: RE: cTAKES Groovy... Thanks Richard! That did the trick I'll create a JIRA and update the script including a

RE: cTAKES Groovy...

2013-12-06 Thread Masanz, James J.
Thanks Richard! That did the trick I'll create a JIRA and update the script including adding a comment that that @GrabResolver is only needed for pre-OpenNLP 1.5.3 and should be removed when we upgrade to 1.5.3+. and I'll update CTAKES-191 "Update Apache OpenNLP dependency to 1.5.3" with a re

Re: cTAKES Groovy...

2013-12-06 Thread Richard Eckart de Castilho
On 06.12.2013, at 18:01, "Masanz, James J." wrote: > I have not solved my issues on my ubuntu server yet where > "Error grabbing Grapes -- [unresolved dependency: jwnl#jwnl;1.3.3: not found]" This has also already been fixed in OpenNLP 1.5.3, so there must be some dependency on OpenNLP 1.5.(1|

RE: cTAKES Groovy...

2013-12-06 Thread Masanz, James J.
Sounds like before publicizing any groovy scripts we need to have some testing on clean Win and clean *nix systems. FYI, after I fixed the typo I had in the script on my Windows 7 machine where I do cTAKES development (and hence has jwnl under my .m2) and set JAVA_OPTS to have enough heap spa

RE: cTAKES Groovy...

2013-12-06 Thread Finan, Sean
Hi James, As Tim states > I have it in my .m2 directory And I think that is why it is working for Tim. You may -not- have the same version (if any) in your .m2 directory. I have had problems maintaining multiple dev versions of cTakes on a single machine because of maven's utilization of the

Re: cTAKES Groovy...

2013-12-06 Thread Richard Eckart de Castilho
Anybody who has been using OpenNLP via Maven (not Groovy grapes) should already have that in their local .m2 repos. While the library is not on Maven Central, OpenNLP fetches it from some other repository that is declared in the OpenNLP POM. I believe that Grape does not take additional reposi

Re: cTAKES Groovy...

2013-12-06 Thread Tim Miller
I have it in my .m2 directory timestamped October 2012. I believe the most recent versions of grape will look in m2 and grab from there if it exists. Tim On 12/06/2013 02:14 PM, Masanz, James J. wrote: Thanks Sean. Something doesn't seem to be working for me related to getting dependencies.

RE: cTAKES Groovy...

2013-12-06 Thread Masanz, James J.
Thanks Sean. Something doesn't seem to be working for me related to getting dependencies. I did a wget of the parser.groovy that Tim just checked in today. Then trying to run that groovy script I get this error: $ groovy parser.groovy test-data-for-groovy/ org.codehaus.groovy.control.Multiple

Re: cTAKES Groovy...

2013-12-06 Thread Chen, Pei
I originally had it had pure java buffered file writer... But this should work for win7 (tested) Sent from my iPhone > On Dec 6, 2013, at 12:09 PM, "Masanz, James J." wrote: > > Tim, could you check that change in you made to not download the big > resources, or post it somewhere temporarily.

RE: cTAKES Groovy...

2013-12-06 Thread Masanz, James J.
Sounds good to me. Thanks! -Original Message- From: dev-return-2289-Masanz.James=mayo@ctakes.apache.org [mailto:dev-return-2289-Masanz.James=mayo@ctakes.apache.org] On Behalf Of Tim Miller Sent: Friday, December 06, 2013 11:36 AM To: dev@ctakes.apache.org Subject: Re: cTAKES Groo

Re: cTAKES Groovy...

2013-12-06 Thread Tim Miller
Sure, I checked it in under ctakes-constituency-parser/scripts/groovy/parser.groovy per my understanding of the thread from a few days go about where to put these things. Tim On 12/06/2013 12:03 PM, Masanz, James J. wrote: Tim, could you check that change in you made to not download the big r

RE: cTAKES Groovy...

2013-12-06 Thread Finan, Sean
Aside from a crash course almost 10 years ago, I haven't touched groovy very much. However, if you are having issues with" shifts" and files, you can look here: http://blog.retep.org/category/development/java/groovy/ He defines what he calls shift operators for the file operations. For all I

RE: cTAKES Groovy...

2013-12-06 Thread Masanz, James J.
FYI, the groovy error I was getting was a typo on my part I had this: out >> new URL(url).openStream() instead of out << new URL(url).openStream() so it was trying to do a shift operation of some sort -Original Message- From: dev-return-2286-Masanz.James=mayo@ctakes.apache.org [mai

RE: cTAKES Groovy...

2013-12-06 Thread Masanz, James J.
Tim, could you check that change in you made to not download the big resources, or post it somewhere temporarily. I'm having this issue when trying to run the groovy script (I'm on Windows 7, if that makes a difference) and having it faster might help debug. C:\using-groovy> groovy parser.gr