Thanks Marshall. 

I got my own DictionaryAnnotator works and it satisfies my requirements.  



________________________________
From: Xue-Feng Yang <[email protected]>
To: "[email protected]" <[email protected]>
Sent: Saturday, October 15, 2011 6:08:06 PM
Subject: Re: empty results with DictionaryAnnotator


Thanks Marshall. 


DictionaryAnnotator is working now, but the printed results are not satisfied. 
I copied first 2 results here. It looks only use  WhitespaceTokenizer innovator.


Xue-Feng



Oct 15, 2011 6:03:17 PM WhitespaceTokenizer initialize
INFO: "Whitespace tokenizer successfully initialized"
Oct 15, 2011 6:03:17 PM WhitespaceTokenizer typeSystemInit
INFO: "Whitespace tokenizer typesystem initialized"
Oct 15, 2011 6:03:17 PM WhitespaceTokenizer process
INFO: "Whitespace tokenizer starts processing"
Oct 15, 2011 6:03:17 PM WhitespaceTokenizer
 process
INFO: "Whitespace tokenizer finished processing"
SentenceAnnotation: King James Version(KJV)  0:23
TokenAnnotation: King tokenType="null" 0:4
TokenAnnotation: James tokenType="null" 5:10
TokenAnnotation: Version tokenType="null" 11:18
TokenAnnotation: ( tokenType="null" 18:19
TokenAnnotation: KJV tokenType="null" 19:22
TokenAnnotation: ) tokenType="null" 22:23
Oct 15, 2011 6:03:20 PM WhitespaceTokenizer typeSystemInit
INFO: "Whitespace tokenizer typesystem initialized"
Oct 15, 2011 6:03:20 PM WhitespaceTokenizer process
INFO: "Whitespace tokenizer starts processing"
Oct 15, 2011 6:03:20 PM WhitespaceTokenizer process
INFO: "Whitespace tokenizer finished processing"
SentenceAnnotation: Genesis 1:1 In the beginning God created the heaven and the 
earth.  0:66
TokenAnnotation: Genesis tokenType="null" 0:7
TokenAnnotation: 1 tokenType="null" 8:9
TokenAnnotation: : tokenType="null"
 9:10
TokenAnnotation: 1 tokenType="null" 10:11
TokenAnnotation: In tokenType="null" 12:14
TokenAnnotation: the tokenType="null" 15:18
TokenAnnotation: beginning tokenType="null" 19:28
TokenAnnotation: God tokenType="null" 29:32
TokenAnnotation: created tokenType="null" 33:40
TokenAnnotation: the tokenType="null" 41:44
TokenAnnotation: heaven tokenType="null" 45:51
TokenAnnotation: and tokenType="null" 52:55
TokenAnnotation: the tokenType="null" 56:59
TokenAnnotation: earth tokenType="null" 60:65
TokenAnnotation: . tokenType="null" 65:66



________________________________
From: Marshall Schor <[email protected]>
To: [email protected]
Sent: Saturday, October 15, 2011 1:01:42 AM
Subject: Re: empty results with DictionaryAnnotator

sorry, the mailing list doesn't permit attachments.

You can post what you're trying to attach somewhere on the internet,
and include a URL in your email that allows readers to read what
you were trying to attach.

-Marshall

On 10/13/2011 10:11 PM, Xue-Feng Yang wrote:
> The attachment was not successful. Try again. Sorry for that.
>
>
>
> ________________________________
> From: Xue-Feng Yang <[email protected]>
> To: "[email protected]" <[email protected]>
> Sent: Thursday, October 13, 2011 9:58:50 PM
> Subject: Re: empty results with DictionaryAnnotator
>
>
> Sorry. I forgot the attachment.
>
>
>
> ________________________________
> From: Xue-Feng Yang <[email protected]>
> To: "[email protected]" <[email protected]>
> Sent: Thursday, October 13, 2011 9:56:20 PM
> Subject: Re: empty results with DictionaryAnnotator
>
> Hi Marshall,
>
> I am sorry. I posted this on "dev" at the beginning, but realized it was not 
> a right place. So I turned to post here. I didn't
>  see what you
 posted.
>
> It was possible that I deleted accidentally since there were too many post 
> each day. I just googled and found your post which I copied and pasted after 
> this message.
>
> Attached is my AE xml. I didn't see tokenizer but 
> org.apache.uima.TokenAnnotation. As I mentioned I just modified the AE a 
> little in the package. I didn't add anything more, but an output.
>
>
> Thank you very mush,
>
>
> Xue-Feng
>
>
> ////////////////////////////////////////////////////////////////////////////////////
> Marshall Schor |  12 Oct 23:19  
> Re: empty results with DictionaryAnnotator
> 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
>
>
>
> ________________________________
>
 From: Marshall Schor <[email protected]>
> To: [email protected]
> Sent: Thursday, October 13, 2011 4:35:00 PM
> Subject: Re: empty results with DictionaryAnnotator
>
> Hi Xue-Feng,
>
> I see you have posted this same query to both the "dev" and "user" mailing
> lists.  I responded to this on the "dev" list, asking for a bit more
> information.  Did you see that message?
>
> Please pick one list to have this conversation on; it is quite confusing when 
> it
> is spread over multiple lists.
>
> -Marshall
>
> On 10/11/2011 4:40 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 <[email protected]>
>> To: "[email protected]" <[email protected]>
>> 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

Reply via email to