You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ctakes.apache.org by Gladia Hotan <gh...@mit.edu> on 2015/04/09 05:27:08 UTC
Error processing text documents in CPE
Hi,
I'm new to cTAKES and am using cTAKES 3.2.1. I'm trying to process a large
number of plain text files in the CPE, but I get the error:
org.apache.uima.cas.CASRuntimeException: JCas type
"org.apache.ctakes.typesystem.type.structured.DocumentID" used in Java
code, but was not declared in the XML type descriptor
I'm using test_plaintext.xml as the descriptor. Based on an archived post
regarding how to process plain text input, I changed the line below:
> <import
> location="../analysis_engine/AggregatePlaintextProcessor.xml"/>
>
> needs to be changed to use:
>
> AggregatePlaintextUMLSProcessor.xml
Could anyone tell me if there are other things I need to set?
Thank you!
Best,
Gladia
Re: Error processing text documents in CPE
Posted by britt fitch <br...@wiredinformatics.com>.
You can find details on unsubscribing here: https://ctakes.apache.org/mailing-lists.html <https://ctakes.apache.org/mailing-lists.html>
Britt Fitch
Wired Informatics
265 Franklin St Ste 1702
Boston, MA 02110
http://wiredinformatics.com
Britt.Fitch@wiredinformatics.com
> On Apr 9, 2015, at 12:22 PM, Jen Seale <je...@gmail.com> wrote:
>
> Hi! Can you take me off this mailing list? Thanks! - Jen
>
> On Thu, Apr 9, 2015 at 11:17 AM, britt fitch <
> britt.fitch@wiredinformatics.com> wrote:
>
>> Hi Gladia,
>>
>> This thread may be helpful:
>>
>> http://mail-archives.apache.org/mod_mbox/ctakes-user/201311.mbox/%3C1384464005.90860.YahooMailNeo@web140301.mail.bf1.yahoo.com%3E
>>
>> I don't recall if this has already been fixed in trunk or not. If not,
>> would you mind opening a Jira ticket for it and we can be sure to fix it in
>> the next release?
>>
>>
>> Britt Fitch
>> Wired Informatics
>> 265 Franklin St Ste 1702
>> Boston, MA 02110
>> http://wiredinformatics.com
>> Britt.Fitch@wiredinformatics.com
>>
>> On Apr 8, 2015, at 11:27 PM, Gladia Hotan <gh...@mit.edu> wrote:
>>
>> Hi,
>>
>> I'm new to cTAKES and am using cTAKES 3.2.1. I'm trying to process a large
>> number of plain text files in the CPE, but I get the error:
>>
>> org.apache.uima.cas.CASRuntimeException: JCas type
>> "org.apache.ctakes.typesystem.type.structured.DocumentID" used in Java
>> code, but was not declared in the XML type descriptor
>>
>> I'm using test_plaintext.xml as the descriptor. Based on an archived post
>> regarding how to process plain text input, I changed the line below:
>>
>>> <import
>>> location="../analysis_engine/AggregatePlaintextProcessor.xml"/>
>>>
>>> needs to be changed to use:
>>>
>>> AggregatePlaintextUMLSProcessor.xml
>>
>> Could anyone tell me if there are other things I need to set?
>>
>> Thank you!
>>
>> Best,
>>
>> Gladia
>>
>>
>>
Re: Error processing text documents in CPE
Posted by Jen Seale <je...@gmail.com>.
Hi! Can you take me off this mailing list? Thanks! - Jen
On Thu, Apr 9, 2015 at 11:17 AM, britt fitch <
britt.fitch@wiredinformatics.com> wrote:
> Hi Gladia,
>
> This thread may be helpful:
>
> http://mail-archives.apache.org/mod_mbox/ctakes-user/201311.mbox/%3C1384464005.90860.YahooMailNeo@web140301.mail.bf1.yahoo.com%3E
>
> I don't recall if this has already been fixed in trunk or not. If not,
> would you mind opening a Jira ticket for it and we can be sure to fix it in
> the next release?
>
>
> Britt Fitch
> Wired Informatics
> 265 Franklin St Ste 1702
> Boston, MA 02110
> http://wiredinformatics.com
> Britt.Fitch@wiredinformatics.com
>
> On Apr 8, 2015, at 11:27 PM, Gladia Hotan <gh...@mit.edu> wrote:
>
> Hi,
>
> I'm new to cTAKES and am using cTAKES 3.2.1. I'm trying to process a large
> number of plain text files in the CPE, but I get the error:
>
> org.apache.uima.cas.CASRuntimeException: JCas type
> "org.apache.ctakes.typesystem.type.structured.DocumentID" used in Java
> code, but was not declared in the XML type descriptor
>
> I'm using test_plaintext.xml as the descriptor. Based on an archived post
> regarding how to process plain text input, I changed the line below:
>
> > <import
> > location="../analysis_engine/AggregatePlaintextProcessor.xml"/>
> >
> > needs to be changed to use:
> >
> > AggregatePlaintextUMLSProcessor.xml
>
> Could anyone tell me if there are other things I need to set?
>
> Thank you!
>
> Best,
>
> Gladia
>
>
>
Re: Error processing text documents in CPE
Posted by britt fitch <br...@wiredinformatics.com>.
Hi Gladia,
This thread may be helpful:
http://mail-archives.apache.org/mod_mbox/ctakes-user/201311.mbox/%3C1384464005.90860.YahooMailNeo@web140301.mail.bf1.yahoo.com%3E <http://mail-archives.apache.org/mod_mbox/ctakes-user/201311.mbox/%3C1384464005.90860.YahooMailNeo@web140301.mail.bf1.yahoo.com%3E>
I don't recall if this has already been fixed in trunk or not. If not, would you mind opening a Jira ticket for it and we can be sure to fix it in the next release?
Britt Fitch
Wired Informatics
265 Franklin St Ste 1702
Boston, MA 02110
http://wiredinformatics.com
Britt.Fitch@wiredinformatics.com
> On Apr 8, 2015, at 11:27 PM, Gladia Hotan <gh...@mit.edu> wrote:
>
> Hi,
>
> I'm new to cTAKES and am using cTAKES 3.2.1. I'm trying to process a large number of plain text files in the CPE, but I get the error:
>
> org.apache.uima.cas.CASRuntimeException: JCas type "org.apache.ctakes.typesystem.type.structured.DocumentID" used in Java code, but was not declared in the XML type descriptor
>
> I'm using test_plaintext.xml as the descriptor. Based on an archived post regarding how to process plain text input, I changed the line below:
> > <import
> > location="../analysis_engine/AggregatePlaintextProcessor.xml"/>
> >
> > needs to be changed to use:
> >
> > AggregatePlaintextUMLSProcessor.xml
> Could anyone tell me if there are other things I need to set?
> Thank you!
> Best,
> Gladia
Re: Error processing text documents in CPE
Posted by britt fitch <br...@wiredinformatics.com>.
Hi Gladia,
This thread may be helpful:
http://mail-archives.apache.org/mod_mbox/ctakes-user/201311.mbox/%3C1384464005.90860.YahooMailNeo@web140301.mail.bf1.yahoo.com%3E <http://mail-archives.apache.org/mod_mbox/ctakes-user/201311.mbox/%3C1384464005.90860.YahooMailNeo@web140301.mail.bf1.yahoo.com%3E>
I don't recall if this has already been fixed in trunk or not. If not, would you mind opening a Jira ticket for it and we can be sure to fix it in the next release?
Britt Fitch
Wired Informatics
265 Franklin St Ste 1702
Boston, MA 02110
http://wiredinformatics.com
Britt.Fitch@wiredinformatics.com
> On Apr 8, 2015, at 11:27 PM, Gladia Hotan <gh...@mit.edu> wrote:
>
> Hi,
>
> I'm new to cTAKES and am using cTAKES 3.2.1. I'm trying to process a large number of plain text files in the CPE, but I get the error:
>
> org.apache.uima.cas.CASRuntimeException: JCas type "org.apache.ctakes.typesystem.type.structured.DocumentID" used in Java code, but was not declared in the XML type descriptor
>
> I'm using test_plaintext.xml as the descriptor. Based on an archived post regarding how to process plain text input, I changed the line below:
> > <import
> > location="../analysis_engine/AggregatePlaintextProcessor.xml"/>
> >
> > needs to be changed to use:
> >
> > AggregatePlaintextUMLSProcessor.xml
> Could anyone tell me if there are other things I need to set?
> Thank you!
> Best,
> Gladia