You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ctakes.apache.org by "Coarr, Matt" <mc...@mitre.org> on 2013/03/13 22:03:57 UTC

running ctakes outside of eclipse?

I usually run ctakes pipelines (generally the clinical document pipeline) from within eclipse — by using the run configurations to start the cvd or cpe gui.

I'm trying to answer some questions for another group at my company that's trying to use ctakes as more of a non-developer tool.

What's the best way to run ctakes 3.0 outside eclipse?  (e.g. command-line)

When I want to "run ctakes" I usually run the clinical documents pipeline (plain text) by loading up CVD or CPE GUI and then loading the clinical documents pipeline xml descriptor.

Is there a script or something that sets up the classpath before you go off and run CVD or a CPE?  (for starting these tools from the command-line)

And what's the status of the old "runctakesCVD.sh"? Is that still supported in 3.0?

Thanks!

Matt

Re: running ctakes outside of eclipse?

Posted by "Coarr, Matt" <mc...@mitre.org>.
Thanks for all the quick replies Troy, Sean, and Pei!

Re: running ctakes outside of eclipse?

Posted by "Chen, Pei" <Pe...@childrens.harvard.edu>.
Just an FYI. Those were designed to be bundled in the bin, not to be run from source. 

Sent from my iPhone

On Mar 14, 2013, at 9:08 AM, "Finan, Sean" <Se...@childrens.harvard.edu> wrote:

>> runctakesCVD.sh|bat is in the binary distribution. The install instructions point it out. Not sure where it sits in the developer code checkout.
> 
> The runctakes* startup scripts are in ctakes-distribution/src/main/bin/
> 
> 

RE: running ctakes outside of eclipse?

Posted by "Finan, Sean" <Se...@childrens.harvard.edu>.
> runctakesCVD.sh|bat is in the binary distribution. The install instructions point it out. Not sure where it sits in the developer code checkout.

The runctakes* startup scripts are in ctakes-distribution/src/main/bin/



RE: running ctakes outside of eclipse?

Posted by "Bleeker, Troy C." <Bl...@mayo.edu>.
runctakesCVD.sh|bat is in the binary distribution. The install instructions point it out. Not sure where it sits in the developer code checkout.

The developer install instructions have a section devoted to command line:
https://cwiki.apache.org/confluence/display/CTAKES/cTAKES+3.0+Developer+Install+Guide#cTAKES3.0DeveloperInstallGuide-Commandlinestepbystepinstallinstructions
If it is not sufficient for your question then perhaps some updates are needed. Have you seen these?

Troy
-----Original Message-----
From: ctakes-dev-return-1356-Bleeker.Troy=mayo.edu@incubator.apache.org [mailto:ctakes-dev-return-1356-Bleeker.Troy=mayo.edu@incubator.apache.org] On Behalf Of Coarr, Matt
Sent: Wednesday, March 13, 2013 4:04 PM
To: ctakes-dev@incubator.apache.org
Subject: running ctakes outside of eclipse?

I usually run ctakes pipelines (generally the clinical document pipeline) from within eclipse — by using the run configurations to start the cvd or cpe gui.

I'm trying to answer some questions for another group at my company that's trying to use ctakes as more of a non-developer tool.

What's the best way to run ctakes 3.0 outside eclipse?  (e.g. command-line)

When I want to "run ctakes" I usually run the clinical documents pipeline (plain text) by loading up CVD or CPE GUI and then loading the clinical documents pipeline xml descriptor.

Is there a script or something that sets up the classpath before you go off and run CVD or a CPE?  (for starting these tools from the command-line)

And what's the status of the old "runctakesCVD.sh"? Is that still supported in 3.0?

Thanks!

Matt

Re: running ctakes outside of eclipse?

Posted by "Chen, Pei" <Pe...@childrens.harvard.edu>.
Hi Matt,
You can run it within maven via profile "mvn compile -PrunCPE"
Or if you download the bin, the same old .sh is in the /bin dir. 
HTH

Sent from my iPad

On Mar 13, 2013, at 5:04 PM, "Coarr, Matt" <mc...@mitre.org> wrote:

> I usually run ctakes pipelines (generally the clinical document pipeline) from within eclipse — by using the run configurations to start the cvd or cpe gui.
> 
> I'm trying to answer some questions for another group at my company that's trying to use ctakes as more of a non-developer tool.
> 
> What's the best way to run ctakes 3.0 outside eclipse?  (e.g. command-line)
> 
> When I want to "run ctakes" I usually run the clinical documents pipeline (plain text) by loading up CVD or CPE GUI and then loading the clinical documents pipeline xml descriptor.
> 
> Is there a script or something that sets up the classpath before you go off and run CVD or a CPE?  (for starting these tools from the command-line)
> 
> And what's the status of the old "runctakesCVD.sh"? Is that still supported in 3.0?
> 
> Thanks!
> 
> Matt