Re: Migrating type system of form 6 compressed CAS binaries

2019-09-25 Thread Mario Juric
Thanks. I will take a look at it and then I get back to you. Cheers, Mario > On 25 Sep 2019, at 20:46 , Marshall Schor wrote: > > Here's code that works that serializes in 1.1 format. > > The key idea is to set the OutputProperty OutputKeys.VERSION to "1.1". > > XmiCasSerializer

Re: Migrating type system of form 6 compressed CAS binaries

2019-09-25 Thread Marshall Schor
Here's code that works that serializes in 1.1 format. The key idea is to set the OutputProperty OutputKeys.VERSION to "1.1". XmiCasSerializer xmiCasSerializer = new XmiCasSerializer(jCas.getTypeSystem()); OutputStream out = new FileOutputStream(new File ("odd-doc-txt-v11.xmi")); try {

Re: Ruta 2.7.0 SeedLexer issue with special unicode characters

2019-09-25 Thread Mario Juric
Hi Peter, Just one more thing that came to my mind. Is there a particular reason for throwing a java.lang.Error instead of an exception? Normally that is something only thrown by the JVM when it’s really impossible to continue the process, e.g. out of memory, linkage errors or fatal VM

Re: Migrating type system of form 6 compressed CAS binaries

2019-09-25 Thread Mario Juric
Thanks Marshall, If you prefer then I can also have a look at it, although I probably need to finish something first within the next 3-4 weeks. It would probably get me faster started if you could share some of your experimental sample code. Cheers, Mario > On 24 Sep 2019, at