You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@uima.apache.org by "bp.untn@gmail.com" <bp...@gmail.com> on 2012/06/11 17:56:42 UTC
Annotation: can see it in CAS Visual Debugger and Annotation Viewer
but not in Document Analyzer
Dear all,
I'm new to UIMA. I do have a lemmatizer written as primitive AE.
When running it from the CAS Visual Debugger I do see the Lemma annotation,
the same happens when I run it from the Annotation Viewer. However, by
running
the same AE from the Document Analyzer, I don't see the "Lemma" annotation,
despite that it's in the xmi. How can that be? Any idea?
Thanks for helping.
BP
--
here is an excerpt of the generated xmi:
<?xml version="1.0" encoding="UTF-8"?><xmi:XMI
xmlns:cas="http:///uima/cas.ecore"
xmlns:xmi="http://www.omg.org/XMI" xmlns:tcas="http:///uima/tcas.ecore"
xmlns:type="http:///it/unitn/nlpir/type.ecore"
xmlns:examples="http:///org/apache/uima/examples.ecore"
xmi:version="2.0"><cas:NULL xmi:id="0"/><cas:Sofa xmi:id="1" sofaNum="1"
sofaID="_InitialView" mimeType="text" sofaString="<U+FEFF>Upcoming UIMA
Seminars April 7, 2004 Distillery Lunch Seminar UIMA and its
Metadata 12:00PM-1:00PM in HAW GN-K35. Dave Ferrucci will
give a UIMA overview and discuss the types of component metadata that UIMA
components provide. Jon Lenchner will give a demo of the Text Analysis
Engine configurator tool. April 16, 2004 KM & I
Department Tea Title: An Eclipse-based TAE Configurator
Tool 3:00PM-4:30PM in HAW GN-K35 . Jon Lenchner will demo an
Eclipse plugin for configuring TAE descriptors, which will be available
soon for you to use. No more editing XML descriptors by
hand! May 11, 2004 UIMA Tutorial 9:00AM-5:00PM in HAW
GN-K35. This is a full-day, hands-on tutorial on UIMA, covering
the development of Text Analysis Engines and Collection Processing Engines,
as well as how to include these components in your own
applications. "/><tcas:DocumentAnnotation xmi:id="8" sofa="1" begin="0"
end="849" language="en"/><examples:SourceDocumentInformation xmi:id="13"
sofa="1" begin="0" end="0" uri="file:/tmp/in/UIMA_Seminars.txt"
offsetInSource="0" documentSize="851" lastSegment="true"/><type:Lemma
xmi:id="21" sofa="1" begin="1" end="9" lemma="upcome"/><type:Lemma
xmi:id="26" sofa="1" begin="10" end="14" lemma="UIMA"/><type:Lemma
xmi:id="31" sofa="1" begin="15" end="23" lemma="Seminars"/><type:Lemma
xmi:id="36" sofa="1" begin="25" end="30" lemma="April"/><type:Lemma
xmi:id="41" sofa="1" begin="31" end="32" lemma="7"/><type:Lemma xmi:id="46"
sofa="1" begin="32" end="33" lemma=","/><type:Lemma xmi:id="51" sofa="1"
begin="34" end="38" lemma="2004"/><type:Lemma xmi:id="56" sofa="1"
begin="39" end="49" lemma="Distillery"/>
Re: Annotation: can see it in CAS Visual Debugger and Annotation
Viewer but not in Document Analyzer
Posted by "bp.untn@gmail.com" <bp...@gmail.com>.
Problem solved. (arg) I didn't specify the output in the capabilities page,
that's why the annotation was not visibile in the Document Analyzer, but
well visibile in the CAS visual debugger....
On Mon, Jun 11, 2012 at 5:56 PM, bp.untn@gmail.com <bp...@gmail.com>wrote:
> Dear all,
> I'm new to UIMA. I do have a lemmatizer written as primitive AE.
> When running it from the CAS Visual Debugger I do see the Lemma annotation,
> the same happens when I run it from the Annotation Viewer. However, by
> running
> the same AE from the Document Analyzer, I don't see the "Lemma" annotation,
> despite that it's in the xmi. How can that be? Any idea?
>
> Thanks for helping.
> BP
> --
>
> here is an excerpt of the generated xmi:
>
> <?xml version="1.0" encoding="UTF-8"?><xmi:XMI xmlns:cas="http:///uima/cas.ecore"
> xmlns:xmi="http://www.omg.org/XMI" xmlns:tcas="http:///uima/tcas.ecore"
> xmlns:type="http:///it/unitn/nlpir/type.ecore" xmlns:examples="http:///org/apache/uima/examples.ecore"
> xmi:version="2.0"><cas:NULL xmi:id="0"/><cas:Sofa xmi:id="1" sofaNum="1"
> sofaID="_InitialView" mimeType="text" sofaString="<U+FEFF>Upcoming UIMA
> Seminars April 7, 2004 Distillery Lunch Seminar UIMA and its
> Metadata 12:00PM-1:00PM in HAW GN-K35. Dave Ferrucci will
> give a UIMA overview and discuss the types of component metadata that UIMA
> components provide. Jon Lenchner will give a demo of the Text Analysis
> Engine configurator tool. April 16, 2004 KM & I
> Department Tea Title: An Eclipse-based TAE Configurator
> Tool 3:00PM-4:30PM in HAW GN-K35 . Jon Lenchner will demo an
> Eclipse plugin for configuring TAE descriptors, which will be available
> soon for you to use. No more editing XML descriptors by
> hand! May 11, 2004 UIMA Tutorial 9:00AM-5:00PM in HAW
> GN-K35. This is a full-day, hands-on tutorial on UIMA, covering
> the development of Text Analysis Engines and Collection Processing Engines,
> as well as how to include these components in your own
> applications. "/><tcas:DocumentAnnotation xmi:id="8" sofa="1" begin="0"
> end="849" language="en"/><examples:SourceDocumentInformation xmi:id="13"
> sofa="1" begin="0" end="0" uri="file:/tmp/in/UIMA_Seminars.txt"
> offsetInSource="0" documentSize="851" lastSegment="true"/><type:Lemma
> xmi:id="21" sofa="1" begin="1" end="9" lemma="upcome"/><type:Lemma
> xmi:id="26" sofa="1" begin="10" end="14" lemma="UIMA"/><type:Lemma
> xmi:id="31" sofa="1" begin="15" end="23" lemma="Seminars"/><type:Lemma
> xmi:id="36" sofa="1" begin="25" end="30" lemma="April"/><type:Lemma
> xmi:id="41" sofa="1" begin="31" end="32" lemma="7"/><type:Lemma xmi:id="46"
> sofa="1" begin="32" end="33" lemma=","/><type:Lemma xmi:id="51" sofa="1"
> begin="34" end="38" lemma="2004"/><type:Lemma xmi:id="56" sofa="1"
> begin="39" end="49" lemma="Distillery"/>
>