google-code-export / uimafit

Automatically exported from code.google.com/p/uimafit
2 stars 1 forks source link

CASDumpWriter doesn't dump binary Sofa data #101

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
CAS can either either store String document text or binary data in Sofa. For 
the second case the current CASDumpWriter doesn't dump the binary data. 

With this patch it dumps the binary data's mime type, size and MD5 hash value 
if the data exists. It does nothing if document text is set so there is no 
duplicate output.

Original issue reported on code.google.com by iamsy...@gmail.com on 6 Oct 2011 at 10:13

Attachments:

GoogleCodeExporter commented 9 years ago
Updated version: now every View is considered instead of only the default 
_InitialView

Original comment by s.y...@ishuo.de on 8 Oct 2011 at 10:03

Attachments:

GoogleCodeExporter commented 9 years ago
Modifications integrated. Existing unit-tests in DKPro core using the 
CASDumpWriter still work as before with these changes. Thanks Shuo.
---
rev 641

Original comment by richard.eckart on 10 Oct 2011 at 5:43

GoogleCodeExporter commented 9 years ago
Made two more changes:
- Throw exception if data stream could not be read
- Close data stream in finally block
---
rev 642

Original comment by richard.eckart on 10 Oct 2011 at 5:56

GoogleCodeExporter commented 9 years ago

Original comment by richard.eckart on 2 Jan 2012 at 7:24

GoogleCodeExporter commented 9 years ago

Original comment by richard.eckart on 2 Jan 2012 at 7:25

GoogleCodeExporter commented 9 years ago

Original comment by richard.eckart on 4 Jan 2012 at 10:52