On 15. Dec 2018, at 13:20, Alain Désilets <[email protected]> wrote: > > Is it possible to create dynamically typed annotations in UIMA? In other > words, would it be possible for users of my system to create a new type of > annotation without having to recompile the Java code?
Alain had also posted this question on the DKPro Core user's mailing list. Part of my answer can be found there: https://groups.google.com/d/msg/dkpro-core-user/irvvRr0MaBo/IIabZSslCgAJ In short: I personally tend towards dynamically changing the type system, redefining the CAS using the code I posted in my other mail to this list and using the CAS API in order to work with the CAS. Works nicely for any types that are not known at compile time. -- Richard
