You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by Xue-Feng Yang <ju...@yahoo.com> on 2011/10/11 21:59:44 UTC

empty results with DictionaryAnnotator

I am testing DictionaryAnnotator. I setup the test with a PlacesAE.xml modified by the original AE configuration with the package, a dictionary file Places.xml generated by the tool in package and modified as manual suggested, and a data file. There are no highlights on Annotation Result windows and Legend only shows the default checkbox DocumentAnnota... There are no errors at all.

Any thought?

Thanks,

Xue-Feng

Re: empty results with DictionaryAnnotator

Posted by Marshall Schor <ms...@schor.com>.
Hi,

What did you use to do the tokinzation?  Did you set up the Input Match Type
parameter?

Did you include a tokenizer in the UIMA pipeline (ahead of the Dictionary lookup)?

-Marshall

On 10/11/2011 4:35 PM, Xue-Feng Yang wrote:
> I tried to debug the AE and found the annotation variable has the value
>
> DocumentAnnotation
>    sofa: _InitialView
>    begin: 0
>    end: 23
>    language: "x-unspecified"
>
>
> It is the whole input text. It looks DictionaryAnnotator doesn't work.
>
>
>
> ________________________________
> From: Xue-Feng Yang <ju...@yahoo.com>
> To: "dev@uima.apache.org" <de...@uima.apache.org>
> Sent: Tuesday, October 11, 2011 3:59:44 PM
> Subject: empty results with DictionaryAnnotator
>
> I am testing DictionaryAnnotator. I setup the test with a PlacesAE.xml modified by the original AE configuration with the package, a dictionary file Places.xml generated by the tool in package and modified as manual suggested, and a data file. There are no highlights on Annotation Result windows and Legend only shows the default checkbox DocumentAnnota... There are no errors at all.
>
> Any thought?
>
> Thanks,
>
> Xue-Feng

Re: empty results with DictionaryAnnotator

Posted by Xue-Feng Yang <ju...@yahoo.com>.
I tried to debug the AE and found the annotation variable has the value

DocumentAnnotation
   sofa: _InitialView
   begin: 0
   end: 23
   language: "x-unspecified"


It is the whole input text. It looks DictionaryAnnotator doesn't work.



________________________________
From: Xue-Feng Yang <ju...@yahoo.com>
To: "dev@uima.apache.org" <de...@uima.apache.org>
Sent: Tuesday, October 11, 2011 3:59:44 PM
Subject: empty results with DictionaryAnnotator

I am testing DictionaryAnnotator. I setup the test with a PlacesAE.xml modified by the original AE configuration with the package, a dictionary file Places.xml generated by the tool in package and modified as manual suggested, and a data file. There are no highlights on Annotation Result windows and Legend only shows the default checkbox DocumentAnnota... There are no errors at all.

Any thought?

Thanks,

Xue-Feng