Hello,

Unfortunately, a CAS is not represantable neither as XML nor CSV.

Here is the list of all supported formats for the output:

 * XMI
 * XCAS
 * BINARY
 * COMPRESSED
 * COMPRESSED_FILTERED
 * SERIALIZED
 * SERIALIZED_TSI

An example for setting the output format would look like:

CasIOUtils.save(cas, outputStream, SerialFormat.SERIALIZED_TSI);

Hope that helps.

Kind Regards,
Viorel


Am 29.03.2019 um 13:23 schrieb Ankit Bajaj:
Hi Team,

I have made annotation rules and I'm also able to produce outputs in UIMA
Ruta. My query is that the output is only produced in XMI format, how can
we produce the output in other formats as in XML or CSV format?

Awaiting your reply.
Regards,
Ankit

Reply via email to