Reads each binary/serialized CAS file from the corpus in the specified folder and writes them to the target folder using the UIMA XMI format.
Copy the script to a file called binary2xmi.groovy and call it e.g. using groovy binary2xmi.groovy binaryCasFile.ser .. This creates a file called in UIMA XMI format in the current directory. The name of the created file depends on the document metadata encoded in the binary CAS and may well be different from the file name of the binary CAS! A type-system file will be written to the same folder. This will allow you to open load the file e.g. using the UIMA CAS Editor plugin for Eclipse.
Do you allow tracking your activity on this site using cookies?