Return-Path: X-Original-To: apmail-uima-user-archive@www.apache.org Delivered-To: apmail-uima-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3C7889933 for ; Mon, 20 Feb 2012 02:46:25 +0000 (UTC) Received: (qmail 21087 invoked by uid 500); 20 Feb 2012 02:46:25 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 20922 invoked by uid 500); 20 Feb 2012 02:46:23 -0000 Mailing-List: contact user-help@uima.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@uima.apache.org Delivered-To: mailing list user@uima.apache.org Received: (qmail 20886 invoked by uid 99); 20 Feb 2012 02:46:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Feb 2012 02:46:22 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=FSL_RCVD_USER,HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_NEUTRAL,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [141.211.14.81] (HELO hackers.mr.itd.umich.edu) (141.211.14.81) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Feb 2012 02:46:17 +0000 Received: FROM mail-wi0-f175.google.com (mail-wi0-f175.google.com [209.85.212.175]) By hackers.mr.itd.umich.edu ID 4F41B3E3.62154.28964 ; Authuser rahuljha; 19 Feb 2012 21:45:55 EST Received: by wibhq7 with SMTP id hq7so2739573wib.6 for ; Sun, 19 Feb 2012 18:45:54 -0800 (PST) Received-SPF: pass (google.com: domain of rahuljha@umich.edu designates 10.180.80.226 as permitted sender) client-ip=10.180.80.226; Authentication-Results: mr.google.com; spf=pass (google.com: domain of rahuljha@umich.edu designates 10.180.80.226 as permitted sender) smtp.mail=rahuljha@umich.edu Received: from mr.google.com ([10.180.80.226]) by 10.180.80.226 with SMTP id u2mr15640442wix.0.1329705954428 (num_hops = 1); Sun, 19 Feb 2012 18:45:54 -0800 (PST) MIME-Version: 1.0 Received: by 10.180.80.226 with SMTP id u2mr13082618wix.0.1329705954416; Sun, 19 Feb 2012 18:45:54 -0800 (PST) Received: by 10.227.26.9 with HTTP; Sun, 19 Feb 2012 18:45:54 -0800 (PST) In-Reply-To: <4F404B51.8090200@schor.com> References: <4F404B51.8090200@schor.com> Date: Sun, 19 Feb 2012 21:45:54 -0500 Message-ID: Subject: Re: Error while parsing XMI file generated from Java Annotator in a UIMACPP Annotator From: Rahul Jha To: user@uima.apache.org Content-Type: multipart/alternative; boundary=f46d044288d211970b04b95c4b66 --f46d044288d211970b04b95c4b66 Content-Type: text/plain; charset=ISO-8859-1 It works that way too, I tried it with an XMI generated from the C++ annotator and it worked. So the command sytax is correct. -Rahul On Sat, Feb 18, 2012 at 8:07 PM, Marshall Schor wrote: > I'm no expert, but isn't the runAECpp command meant to take different > parameters, in perhaps different order? > > Try typing the runAECpp without any parameters. I did that and it said: > > Usage: runAECpp UimaCppDescriptor <-x> InputFileOrDir > <-s Sofa> <-l LogLevel> > UimaCppDescriptor Analysis Engine descriptor for a CPP annotator > InputFileOrDir Input file or directory of files to process > OutputDir Existing directory for Xmi outputs (optional) > Options: > -x [-xmi] Input(s) must be in XCAS [XMI] format (default is raw text) > -lenient For -xmi, ignore unknown types & features > -s Sofa Name of a Sofa to process (input must be an XCAS or XMI) > -l logLevel Set to 0, 1, or 2 for Message, Warning, or Error > -n numInstances number of annotator instances each running in a separate > thread > -r numRuns number of iterations over the same input. > -rand randomize the selection on next input to process. > -rdelay Max add random delay between 0 and Max milliseconds between > calls to process. > > So it looks to me like you didn't get the parameters in the right way to > the command. > > -Marshall > > > On 2/17/2012 10:23 PM, Rahul Jha wrote: > >> Hi, >> >> I am writing a UIMA annotator in Perl which needs to be integrated with a >> pipeline of annotators primarily written in Java. To test my annotator, I >> write out the XMI from the Java annotator and then try to input it to the >> Perl annotator using: >> >> runAECpp -xmi PerlDescriptor.xml Input.xmi >> >> I made sure to import all the necessary types in PerlDescriptor.xml. >> However, I get the following error: >> ------------------------------**---------- >> runAECPP::Error 5041 XML parse fatal error in >> Exception : unspecified exception >> >> Error number : 5041 >> Recoverable : No >> Error : XML parse fatal error in edu.umich.fuse.fuse.Citation at >> line ??? character ???: ??? >> >> at line 0 character 0: ??? >> ------------------------------**---------- >> >> Any clue as to what might be causing this? >> >> Thanks, >> Rahul >> >> -- http://umich.edu/~rahuljha --f46d044288d211970b04b95c4b66--