Hello Rupert,

 

Could you please give me an example of annotation various types of
documents?

As I understood from
http://incubator.apache.org/stanbol/docs/trunk/enhancer/engines/metaxaengine
.html

 

And 

 

curl -i -X POST -H "Content-Type:text/html" -T testpage.html
http://localhost:8080/engines

 

MIME type should match to document type. But (maybe this is going to be
stupid question). when I annotated text, I called method like this:

 

IOUtils.write(_string_to_annotate, out);           

IOUtils.closeQuietly(out);

 

For document of any type, I should probably convert document content to byte
array, and then call similar method?

I'm asking this because I didn't see the possibility to provide document URL
and to get results. I suppose that this would be the only way?

 

Best,

Srecko

 

Reply via email to