You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ctakes.apache.org by samir chabou <sa...@yahoo.com> on 2015/06/14 17:24:35 UTC
keep file name when using CPE_GUI
Hi,When I use CPE_GUI it does not keep the input file name but it changes it to doc0.Example input file = test123.txtthe output file for test123.txt from the CPE_GUI = doc0. Is there any way to get the output file name = test123 instead of doc0 ?Thanks for your help
Re: keep file name when using CPE_GUI
Posted by samir chabou <sa...@yahoo.com.INVALID>.
Hi Pei,I'm using the UIMA_CPE_GUI--clinical_documents_pipeline.launche
On Sunday, June 14, 2015 5:27 PM, "Chen, Pei" <Pe...@childrens.harvard.edu> wrote:
Samir,Which cas consumer are you using?
Sent from my iPhone
On Jun 14, 2015, at 11:24 AM, samir chabou <sa...@yahoo.com> wrote:
Hi,When I use CPE_GUI it does not keep the input file name but it changes it to doc0.Example input file = test123.txtthe output file for test123.txt from the CPE_GUI = doc0. Is there any way to get the output file name = test123 instead of doc0 ?Thanks for your help
Re: keep file name when using CPE_GUI
Posted by samir chabou <sa...@yahoo.com.INVALID>.
Pei,the problem that I used the jCas to extract interrelated information as in he example bellow (EventMention by sentence):
List<EventMention> tokens = JCasUtil.selectCovered(EventMention.class, sentence);
I'm not sure if I can do the same with FileWriterCasConsumer where it generates an XML file ?
On Monday, June 15, 2015 4:15 PM, "Chen, Pei" <Pe...@childrens.harvard.edu> wrote:
Samir,
I believe the
FileWriterCasConsumer.xml or FilesInDirectoryCasConsumer.example.xml
Should use the DocumentID as the filename if it was populated.
--Pei
-----Original Message-----
From: samir chabou [mailto:samirchb@yahoo.com.INVALID]
Sent: Monday, June 15, 2015 4:49 AM
To: dev@ctakes.apache.org; <us...@ctakes.apache.org>
Subject: Re: keep file name when using CPE_GUI
Hi Pei,the CASconsumer is: XCAS Writer CAS ConsumerThanks
On Sunday, June 14, 2015 5:27 PM, "Chen, Pei" <Pe...@childrens.harvard.edu> wrote:
Samir,
Which cas consumer are you using?
Sent from my iPhone
On Jun 14, 2015, at 11:24 AM, samir chabou <sa...@yahoo.com>> wrote:
Hi,
When I use CPE_GUI it does not keep the input file name but it changes it to doc0.
Example input file = test123.txt
the output file for test123.txt from the CPE_GUI = doc0. Is there any way to get the output file name = test123 instead of doc0 ?
Thanks for your help
Re: keep file name when using CPE_GUI
Posted by samir chabou <sa...@yahoo.com>.
Pei,the problem that I used the jCas to extract interrelated information as in he example bellow (EventMention by sentence):
List<EventMention> tokens = JCasUtil.selectCovered(EventMention.class, sentence);
I'm not sure if I can do the same with FileWriterCasConsumer where it generates an XML file ?
On Monday, June 15, 2015 4:15 PM, "Chen, Pei" <Pe...@childrens.harvard.edu> wrote:
Samir,
I believe the
FileWriterCasConsumer.xml or FilesInDirectoryCasConsumer.example.xml
Should use the DocumentID as the filename if it was populated.
--Pei
-----Original Message-----
From: samir chabou [mailto:samirchb@yahoo.com.INVALID]
Sent: Monday, June 15, 2015 4:49 AM
To: dev@ctakes.apache.org; <us...@ctakes.apache.org>
Subject: Re: keep file name when using CPE_GUI
Hi Pei,the CASconsumer is: XCAS Writer CAS ConsumerThanks
On Sunday, June 14, 2015 5:27 PM, "Chen, Pei" <Pe...@childrens.harvard.edu> wrote:
Samir,
Which cas consumer are you using?
Sent from my iPhone
On Jun 14, 2015, at 11:24 AM, samir chabou <sa...@yahoo.com>> wrote:
Hi,
When I use CPE_GUI it does not keep the input file name but it changes it to doc0.
Example input file = test123.txt
the output file for test123.txt from the CPE_GUI = doc0. Is there any way to get the output file name = test123 instead of doc0 ?
Thanks for your help
RE: keep file name when using CPE_GUI
Posted by "Chen, Pei" <Pe...@childrens.harvard.edu>.
Samir,
I believe the
FileWriterCasConsumer.xml or FilesInDirectoryCasConsumer.example.xml
Should use the DocumentID as the filename if it was populated.
--Pei
-----Original Message-----
From: samir chabou [mailto:samirchb@yahoo.com.INVALID]
Sent: Monday, June 15, 2015 4:49 AM
To: dev@ctakes.apache.org; <us...@ctakes.apache.org>
Subject: Re: keep file name when using CPE_GUI
Hi Pei,the CASconsumer is: XCAS Writer CAS ConsumerThanks
On Sunday, June 14, 2015 5:27 PM, "Chen, Pei" <Pe...@childrens.harvard.edu> wrote:
Samir,
Which cas consumer are you using?
Sent from my iPhone
On Jun 14, 2015, at 11:24 AM, samir chabou <sa...@yahoo.com>> wrote:
Hi,
When I use CPE_GUI it does not keep the input file name but it changes it to doc0.
Example input file = test123.txt
the output file for test123.txt from the CPE_GUI = doc0. Is there any way to get the output file name = test123 instead of doc0 ?
Thanks for your help
RE: keep file name when using CPE_GUI
Posted by "Chen, Pei" <Pe...@childrens.harvard.edu>.
Samir,
I believe the
FileWriterCasConsumer.xml or FilesInDirectoryCasConsumer.example.xml
Should use the DocumentID as the filename if it was populated.
--Pei
-----Original Message-----
From: samir chabou [mailto:samirchb@yahoo.com.INVALID]
Sent: Monday, June 15, 2015 4:49 AM
To: dev@ctakes.apache.org; <us...@ctakes.apache.org>
Subject: Re: keep file name when using CPE_GUI
Hi Pei,the CASconsumer is: XCAS Writer CAS ConsumerThanks
On Sunday, June 14, 2015 5:27 PM, "Chen, Pei" <Pe...@childrens.harvard.edu> wrote:
Samir,
Which cas consumer are you using?
Sent from my iPhone
On Jun 14, 2015, at 11:24 AM, samir chabou <sa...@yahoo.com>> wrote:
Hi,
When I use CPE_GUI it does not keep the input file name but it changes it to doc0.
Example input file = test123.txt
the output file for test123.txt from the CPE_GUI = doc0. Is there any way to get the output file name = test123 instead of doc0 ?
Thanks for your help
Re: keep file name when using CPE_GUI
Posted by samir chabou <sa...@yahoo.com>.
Hi Pei,the CASconsumer is: XCAS Writer CAS ConsumerThanks
On Sunday, June 14, 2015 5:27 PM, "Chen, Pei" <Pe...@childrens.harvard.edu> wrote:
Samir,
Which cas consumer are you using?
Sent from my iPhone
On Jun 14, 2015, at 11:24 AM, samir chabou <sa...@yahoo.com>> wrote:
Hi,
When I use CPE_GUI it does not keep the input file name but it changes it to doc0.
Example input file = test123.txt
the output file for test123.txt from the CPE_GUI = doc0. Is there any way to get the output file name = test123 instead of doc0 ?
Thanks for your help
Re: keep file name when using CPE_GUI
Posted by samir chabou <sa...@yahoo.com.INVALID>.
Hi Pei,the CASconsumer is: XCAS Writer CAS ConsumerThanks
On Sunday, June 14, 2015 5:27 PM, "Chen, Pei" <Pe...@childrens.harvard.edu> wrote:
Samir,
Which cas consumer are you using?
Sent from my iPhone
On Jun 14, 2015, at 11:24 AM, samir chabou <sa...@yahoo.com>> wrote:
Hi,
When I use CPE_GUI it does not keep the input file name but it changes it to doc0.
Example input file = test123.txt
the output file for test123.txt from the CPE_GUI = doc0. Is there any way to get the output file name = test123 instead of doc0 ?
Thanks for your help
Re: keep file name when using CPE_GUI
Posted by samir chabou <sa...@yahoo.com>.
Hi Pei,I'm using the UIMA_CPE_GUI--clinical_documents_pipeline.launche
On Sunday, June 14, 2015 5:27 PM, "Chen, Pei" <Pe...@childrens.harvard.edu> wrote:
Samir,Which cas consumer are you using?
Sent from my iPhone
On Jun 14, 2015, at 11:24 AM, samir chabou <sa...@yahoo.com> wrote:
Hi,When I use CPE_GUI it does not keep the input file name but it changes it to doc0.Example input file = test123.txtthe output file for test123.txt from the CPE_GUI = doc0. Is there any way to get the output file name = test123 instead of doc0 ?Thanks for your help
Re: keep file name when using CPE_GUI
Posted by "Chen, Pei" <Pe...@childrens.harvard.edu>.
Samir,
Which cas consumer are you using?
Sent from my iPhone
On Jun 14, 2015, at 11:24 AM, samir chabou <sa...@yahoo.com>> wrote:
Hi,
When I use CPE_GUI it does not keep the input file name but it changes it to doc0.
Example input file = test123.txt
the output file for test123.txt from the CPE_GUI = doc0. Is there any way to get the output file name = test123 instead of doc0 ?
Thanks for your help
Re: keep file name when using CPE_GUI
Posted by "Chen, Pei" <Pe...@childrens.harvard.edu>.
Samir,
Which cas consumer are you using?
Sent from my iPhone
On Jun 14, 2015, at 11:24 AM, samir chabou <sa...@yahoo.com>> wrote:
Hi,
When I use CPE_GUI it does not keep the input file name but it changes it to doc0.
Example input file = test123.txt
the output file for test123.txt from the CPE_GUI = doc0. Is there any way to get the output file name = test123 instead of doc0 ?
Thanks for your help