You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ctakes.apache.org by Jonas Spenger <sp...@informatik.hu-berlin.de> on 2017/09/19 14:11:51 UTC
Loading ctakes-temporal
Dear all,
I have a question regarding the cTAKES 4.0 - Temporal Module, as I would
like to use it in a project.
There is no direct guide on how to use / access it. So how can I use it,
i.e. what shell command should I use? Is it the same as the clinical
pipeline, if so, why does not f.e. ‘yesterday’ get recognised as a
Timeex by the clinical pipeline?
Also, maybe it is correllated, I have the same issue as message no. 1418
“Cannot load ctakes-temporal” by Zeyu Li. I try to use the
TemporalAggregatePipeline.xml but get the exact same error as mentioned
by Zeyu.
Additional Info:
MacOs, have not installed UMLS as not residing in a member country.
cTAKES clinical pipeline works but does not recognize time expressions
satisfactorily.
Thank you in advance and best regards,
Jonas
--
Jonas S
Re: Loading ctakes-temporal
Posted by Jonas Spenger <sp...@informatik.hu-berlin.de>.
Hi Alex,
That is exactly what i was looking for.
Thank you very much!
Jonas S
Am 29.09.17 um 23:41 schrieb Alexandru Zbarcea:
> Hi Jonas,
>
> I think the following will help you (already proposed as PR to
> https://github.com/healthnlp/examples
> <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 mvn jetty:run|
> This would lunch jetty on 8080, so visit:
> http://localhost:8080/
> and you should see something like:
>
> Inline image 1
>
>
>
> All settings are in target folder, so no need to modify source or
> anything else.
>
> Hope it helps,
> Alex
>
>
> On Fri, Sep 29, 2017 at 4:00 PM, Jonas S
> <spengerj@informatik.hu-berlin.de
> <ma...@informatik.hu-berlin.de>> wrote:
>
> Hi!
>
> I managed to get it working (and it works great as a REST service)
> by installing through https://github.com/healthnlp/examples
> <https://github.com/healthnlp/examples>
> http://healthnlp.github.io/examples/
> <http://healthnlp.github.io/examples/> .
>
> It works great, but as an aside, how would I add the full UMLS to
> the web service?
>
> Best regards,
> Jonas
>
> Am 19.09.17 um 16:11 schrieb Jonas Spenger:
>
> Dear all,
>
>
> I have a question regarding the cTAKES 4.0 - Temporal Module,
> as I would like to use it in a project.
>
>
> There is no direct guide on how to use / access it. So how can
> I use it, i.e. what shell command should I use? Is it the same
> as the clinical pipeline, if so, why does not f.e. ‘yesterday’
> get recognised as a Timeex by the clinical pipeline?
>
>
> Also, maybe it is correllated, I have the same issue as
> message no. 1418 “Cannot load ctakes-temporal” by Zeyu Li. I
> try to use the TemporalAggregatePipeline.xml but get the exact
> same error as mentioned by Zeyu.
>
> Additional Info:
> MacOs, have not installed UMLS as not residing in a member
> country. cTAKES clinical pipeline works but does not recognize
> time expressions satisfactorily.
>
>
> Thank you in advance and best regards,
> Jonas
>
>
>
>
Re: Loading ctakes-temporal
Posted by Alexandru Zbarcea <zb...@gmail.com>.
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
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
On Fri, Sep 29, 2017 at 4:00 PM, Jonas S <sp...@informatik.hu-berlin.de>
wrote:
> Hi!
>
> I managed to get it working (and it works great as a REST service) by
> installing through https://github.com/healthnlp/examples
> http://healthnlp.github.io/examples/ .
>
> It works great, but as an aside, how would I add the full UMLS to the web
> service?
>
> Best regards,
> Jonas
>
> Am 19.09.17 um 16:11 schrieb Jonas Spenger:
>
> Dear all,
>>
>>
>> I have a question regarding the cTAKES 4.0 - Temporal Module, as I would
>> like to use it in a project.
>>
>>
>> There is no direct guide on how to use / access it. So how can I use it,
>> i.e. what shell command should I use? Is it the same as the clinical
>> pipeline, if so, why does not f.e. ‘yesterday’ get recognised as a Timeex
>> by the clinical pipeline?
>>
>>
>> Also, maybe it is correllated, I have the same issue as message no. 1418
>> “Cannot load ctakes-temporal” by Zeyu Li. I try to use the
>> TemporalAggregatePipeline.xml but get the exact same error as mentioned by
>> Zeyu.
>>
>> Additional Info:
>> MacOs, have not installed UMLS as not residing in a member country.
>> cTAKES clinical pipeline works but does not recognize time expressions
>> satisfactorily.
>>
>>
>> Thank you in advance and best regards,
>> Jonas
>>
>>
>>
>
Re: Loading ctakes-temporal
Posted by Jonas S <sp...@informatik.hu-berlin.de>.
Hi!
I managed to get it working (and it works great as a REST service) by
installing through https://github.com/healthnlp/examples
http://healthnlp.github.io/examples/ .
It works great, but as an aside, how would I add the full UMLS to the
web service?
Best regards,
Jonas
Am 19.09.17 um 16:11 schrieb Jonas Spenger:
> Dear all,
>
>
> I have a question regarding the cTAKES 4.0 - Temporal Module, as I
> would like to use it in a project.
>
>
> There is no direct guide on how to use / access it. So how can I use
> it, i.e. what shell command should I use? Is it the same as the
> clinical pipeline, if so, why does not f.e. ‘yesterday’ get recognised
> as a Timeex by the clinical pipeline?
>
>
> Also, maybe it is correllated, I have the same issue as message no.
> 1418 “Cannot load ctakes-temporal” by Zeyu Li. I try to use the
> TemporalAggregatePipeline.xml but get the exact same error as
> mentioned by Zeyu.
>
> Additional Info:
> MacOs, have not installed UMLS as not residing in a member country.
> cTAKES clinical pipeline works but does not recognize time expressions
> satisfactorily.
>
>
> Thank you in advance and best regards,
> Jonas
>
>