Re: Migrating type system of form 6 compressed CAS binaries

2019-09-16 Thread Marshall Schor
I can reproduce the problem, and see what is happening.  The deserialization code compares the two type systems, and allows for some mismatches (things present in one and not in the other), but it doesn't allow for having a feature whose range (value) is type in one type system and type

Re: Migrating type system of form 6 compressed CAS binaries

2019-09-16 Thread Richard Eckart de Castilho
On 16. Sep 2019, at 19:05, Marshall Schor wrote: > > I can reproduce the problem, and see what is happening. The deserialization > code compares the two type systems, and allows for some mismatches (things > present in one and not in the other), but it doesn't allow for having a > feature >

Re: Migrating type system of form 6 compressed CAS binaries

2019-09-16 Thread Marshall Schor
In this case, the original looks kind-of like this: Container    features -> FSArray of FeatureAnnotation each of which has 5 slots: sofaRef, begin, end, name, value the new TypeSystem has Container    features -> FSArray of FeatureRecord each of which              

Re: Migrating type system of form 6 compressed CAS binaries

2019-09-16 Thread Mario Juric
Hi Richard, Unfortunately no. We have experienced some instability with the XMI format where it wasn’t possible to read the data after writing it, and we would probably not be able to convert a percentage of documents this way. Superficially it appears to be related to encoding issues, but I

Re: Migrating type system of form 6 compressed CAS binaries

2019-09-16 Thread Mario Juric
Best Regards,Mario JuricPrincipal EngineerUNSILO.aimobile:  +45 3082 4100skype: mario.juric.dkHi Marshall,I have a small test case  with 3 files excluding any JCasGen generated types and UIMAfit types file.First you will have to generate the types and run the SaveCompressedBinary to produce the 3

Re: Migrating type system of form 6 compressed CAS binaries

2019-09-16 Thread Marshall Schor
I may have some version pblms.  The LoadCompressedBinary has refs to a class "Container", but I don't seem to have that class - where is it coming from? -Marshall On 9/16/2019 8:11 AM, Mario Juric wrote: > > Best Regards, > > Mario Juric > Principal Engineer > *UNSILO.ai* >

Re: Migrating type system of form 6 compressed CAS binaries

2019-09-16 Thread Marshall Schor
oops, ignore that - I see Container is a JCas class ...  -M On 9/16/2019 9:30 AM, Marshall Schor wrote: > I may have some version pblms.  The LoadCompressedBinary has refs to a class > "Container", but I don't seem to have that class - where is it coming from? > > -Marshall > > On 9/16/2019 8:11

Re: Migrating type system of form 6 compressed CAS binaries

2019-09-16 Thread Mario Juric
Yes, these where just generated from the type system file using JCasGen. > On 16 Sep 2019, at 15:32 , Marshall Schor wrote: > > oops, ignore that - I see Container is a JCas class ... -M > > On 9/16/2019 9:30 AM, Marshall Schor wrote: >> I may have some version pblms. The