Hi Melvin,

If I get your question right, a answer from the mailing list addresses your
question (more:
https://mail-archives.apache.org/mod_mbox/ctakes-user/201709.mbox/%3CCAGycqjwU3LVwdLE4fxMXDAnSkAjcFZdCMb1Z=tt7npkanmm...@mail.gmail.com%3E
)

---------- Forwarded message ----------
From: Alexandru Zbarcea <[email protected]>
Date: Fri, Sep 29, 2017 at 5:41 PM
Subject: Re: Loading ctakes-temporal
To: [email protected]


Hi Jonas,

I think the following will help you (already proposed as PR to
https://github.com/healthnlp/examples): https://github.com/azbarcea/ctakes-
examples/tree/fix-temporal-execution

As I described in the README.md:

git clone https://github.com/azbarcea/ctakes-examples.git
cd ctakes-examples
git checkout fix-temporal-execution

cd ctakes-temporal-demo

mvn clean install

export ctakes_umlsuser='<your-username>'

export ctakes_umlspw='<your-password>'

./configure.sh

MAVEN_OPTS="-Xmx4096m -Xms3072m -Xss128M -XX:+CMSClassUnloadingEnabled
-XX:-UseGCOverheadLimit" mvn jetty:run

This would lunch jetty on 8080, so visit:
http://localhost:8080/
and you should see something like:

[image: Inline image 1]



All settings are in target folder, so no need to modify source or anything
else.

Hope it helps,
Alex


Alex

On Fri, Oct 6, 2017 at 6:28 PM, Melvin Ma <[email protected]> wrote:

> This is more of a newbie question but I have not found a good document
> about it. Please help.
>
> As of now, my requirements appear to be :
>   1> use existing ctakes pipelines;
>   2> maybe develop one or two on my own
>   3> provide services (like a web server)
>
> To do that, it seems I could do the following:
>   1> java project setup with maven;
>       using ctakes APIs.
>    2> In case I need to develop my own pipeline, I will write a UIMA CAS
> thingy
>    3> I will create a piper file and then run the piper runner ..
>
> In addition, I will add resources files (dictionary) to the classpath.
>
> That seems it. Is that right? Thanks and have a nice weekend.
>
> Melvin
>

Reply via email to