ctakes-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Miller, Timothy" <Timothy.Mil...@childrens.harvard.edu>
Subject Re: Input file format for CPE?
Date Mon, 21 Jul 2014 17:36:26 GMT
It looks to me like you want test_plaintext.xml rather than test1.xml. test1.xml seems to expect
CDA-formatted input while test_plaintext.xml can read text files like you have.

On 07/21/2014 01:30 PM, Natalia Connolly wrote:

   I am new to cTAKES.  I am using cTAKES 3.1.  I've been able to run the visual debugger
without any trouble but now I am stuck on running the CPE version, which is what I will really
need as I have a large number of clinical documents to process.

    I loaded test1.xml as the descriptor, and made sure both the input and the output directories
exist.  My single input file in the input directory is just plain text, similar to the "Dr.
Nutritious" example.   However, I am getting the following error:

CausedBy: org,xml.sax.SAXParseException; lineNumber: 1; columnNumber: 2; Content is now allowed
in Prolog.

   Does this mean that the input file has to be in xml format?  If so, how do I convert plain
text into the format that cTAKES expects?

   Thank you.

   Natalia Connolly

View raw message