Return-Path: X-Original-To: apmail-ctakes-dev-archive@www.apache.org Delivered-To: apmail-ctakes-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 14C02173CC for ; Thu, 9 Apr 2015 16:18:49 +0000 (UTC) Received: (qmail 79262 invoked by uid 500); 9 Apr 2015 16:18:42 -0000 Delivered-To: apmail-ctakes-dev-archive@ctakes.apache.org Received: (qmail 79211 invoked by uid 500); 9 Apr 2015 16:18:42 -0000 Mailing-List: contact dev-help@ctakes.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ctakes.apache.org Delivered-To: mailing list dev@ctakes.apache.org Received: (qmail 79200 invoked by uid 99); 9 Apr 2015 16:18:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Apr 2015 16:18:42 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW X-Spam-Check-By: apache.org Received-SPF: error (nike.apache.org: local policy) Received: from [209.85.220.177] (HELO mail-qk0-f177.google.com) (209.85.220.177) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Apr 2015 16:18:17 +0000 Received: by qku63 with SMTP id 63so129480638qku.3 for ; Thu, 09 Apr 2015 09:17:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:message-id:references:to; bh=wZxgs93AKlCWduBhAnzzXC4o9OpfJIGTGB3k66qDIbc=; b=kMoVlslynvKyCqmv99dABedtfWOf6Ik5d6XeAzBGe0UUAZ2WGgw42q5KrwLYu87mSU n+1sVjqnivIhdkZBqGGw0xJtgBKS+Em4V57UIXAhtwtv+8kzpl0PlJPO0egYUmGNsGoU ykEd1OPbiuqcPXrRa3CjGbd9uJg2oYWVKaGAR/y3mp/o5Hrd0EDenZ/ztIdFrXX0O7Y5 Jb7DboXYLVfo5Wf5+X78Q0+JdtAVQCXjvKOQogfHc9IPH8k+dBVXYXvj9BxJR38ZVKrP VPOItIHf4n84acA2QQq9MGdJZ35WxeB+PO9hHPyI8DDdLzxzEV+NIE6W9VcKM7tzjw+2 ylnA== X-Gm-Message-State: ALoCoQkts9/8V2gWYLs/N48l2m2FF6iiGy9UP+rxqC2EsufD82HcB+N8KuTE2xCHw01TUEftDqAk X-Received: by 10.229.26.135 with SMTP id e7mr38448030qcc.5.1428596229969; Thu, 09 Apr 2015 09:17:09 -0700 (PDT) Received: from ?IPv6:2601:6:3000:991:69d8:5004:c0f2:d138? ([2601:6:3000:991:69d8:5004:c0f2:d138]) by mx.google.com with ESMTPSA id 41sm10111497qkx.16.2015.04.09.09.17.09 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 09 Apr 2015 09:17:09 -0700 (PDT) Content-Type: multipart/signed; boundary="Apple-Mail=_095F8809-860C-41C3-8A69-180B577EF49E"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Subject: Re: Error processing text documents in CPE X-Pgp-Agent: GPGMail 2.5b6 From: britt fitch In-Reply-To: Date: Thu, 9 Apr 2015 12:17:06 -0400 Message-Id: <7563AEEC-A9C3-4B51-AB16-9DF8CCACB4E6@wiredinformatics.com> References: To: user@ctakes.apache.org, dev@ctakes.apache.org X-Mailer: Apple Mail (2.2070.6) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_095F8809-860C-41C3-8A69-180B577EF49E Content-Type: multipart/alternative; boundary="Apple-Mail=_ABE30303-CC3A-47A1-A7FD-CDAB0A15727B" --Apple-Mail=_ABE30303-CC3A-47A1-A7FD-CDAB0A15727B Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi Gladia, This thread may be helpful: = http://mail-archives.apache.org/mod_mbox/ctakes-user/201311.mbox/%3C138446= 4005.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 wrote: >=20 > Hi, >=20 > 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: >=20 > 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 >=20 > 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: > > > location=3D"../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 --Apple-Mail=_ABE30303-CC3A-47A1-A7FD-CDAB0A15727B Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Hi Gladia, 

This thread may be helpful:

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 <ghotan@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=3D"../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

= --Apple-Mail=_ABE30303-CC3A-47A1-A7FD-CDAB0A15727B-- --Apple-Mail=_095F8809-860C-41C3-8A69-180B577EF49E Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJVJqYCAAoJEN9mP6PnnMibrf4IAKb6MHNxupOlYY249gsqrh4O whBmJoIJyK2YQqNK5kv+8cV9F9y71MkdjPTk3f/jglWcgvI+CE0cEfQn3NdR0+tr z+gy8wBcORVjxGS1/WT00Ww/3S4OdvZrqRJjhoGq6ZmxsAeKpYEDgQFNDlty5qA9 bVb0I4xB5Q5ANcqdFmKSuxMEZBMVZVgEPyusnH9taQPFbRLfTVIonH4W6JM2m+hR vvlxNEPAQssv+lSdyBJ3qi6k71mlzHCPfPBjcIyupp3EM1Hc6VCBCDYuOFb09E9/ mSTuSB1EeGZdsx37/arRQ6oI2TleEpFE1oZg5Tyag5yiQmdZ/jomtaNmNf7fuQ0= =eHU2 -----END PGP SIGNATURE----- --Apple-Mail=_095F8809-860C-41C3-8A69-180B577EF49E--