Closed reneverheij closed 5 years ago
Thank you for the report! It looks like the inheriting of features does not work over more than 1 level. I will have a look.
The fix is in master, it would be nice if you could test it. There was another problem in your cas which is that a feature is called "type". I also fixed that issue hopefully.
How about adding a list of "tested" type systems to the README?
Well, maybe not - after all, we want to be compatible with all of them and having a list might give people the idea that we only care to support specific ones.
I can confirm that the error no longer occurs. Thank you for your support!
When will this fix be released?
I just released it, please have a try.
I've tested it, the bug is gone in version 0.2.5
Call to load_cas_from_xmi() fails with TypeError: tokenProperties.zip
I think the error is the result of cassis not resolving features that are declared in a supertype. During a debugging session, I established that the error occurred while cassis was trying to resolve feature 'tokenProperties' on type 'TitleCaseAlphabetic'. Inspection of the type system descriptor shows that this feature is not part of type TitleCaseAlphabetic, but of a supertype called 'uima.tt.TokenLikeAnnotation'. The inheritance hierarchy is as follows:
To Reproduce Load the attached ts.xml and cas.xml files. The load_cas_from_xmi() should return a CAS object without incident.
Please complete the following information: