Re: Is it possible to define dynamically typed annotations?

2018-12-17 Thread Alain Désilets
> > > > There is never a need to recompile as long as you simply stick to the CAS > API. It is possible to write a piece of Java code that sets up a type system, a CAS, adds annotations, etc. without ever having to run JCasGen. E.g. Thx Richard. BTW, your Inception project sounds really

Re: Is it possible to define dynamically typed annotations?

2018-12-16 Thread Richard Eckart de Castilho
On 16. Dec 2018, at 01:56, Alain Désilets wrote: > > I am not sure I understand what you wrote. Although I have been using UIMA > for 2 years now, I am still baffled by it most of the time ;-). > > It SOUNDS like you are saying that it's possible to add new types in the > XML typesystem file,

Re: Is it possible to define dynamically typed annotations?

2018-12-15 Thread Alain Désilets
On Sat, Dec 15, 2018 at 1:15 PM Marshall Schor wrote: > I guess the question is why have a new type? The answer to that could > motivate > what properties the solution should have. > > What you propose is fine, but in some ways is not a new type, in that it > doesn't > seem to have many of the

Re: Is it possible to define dynamically typed annotations?

2018-12-15 Thread Alain Désilets
I am not sure I understand what you wrote. Although I have been using UIMA for 2 years now, I am still baffled by it most of the time ;-). It SOUNDS like you are saying that it's possible to add new types in the XML typesystem file, and tell a RUNNING application to reload the XML file without

Re: Is it possible to define dynamically typed annotations?

2018-12-15 Thread Richard Eckart de Castilho
On 15. Dec 2018, at 13:20, Alain Désilets 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

Re: Is it possible to define dynamically typed annotations?

2018-12-15 Thread Richard Eckart de Castilho
Hi folks > On 15. Dec 2018, at 13:41, Nicolas Paris wrote: > > On Sat, Dec 15, 2018 at 07:20:33AM -0500, Alain Désilets 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

Re: Is it possible to define dynamically typed annotations?

2018-12-15 Thread Marshall Schor
I guess the question is why have a new type?  The answer to that could motivate what properties the solution should have. What you propose is fine, but in some ways is not a new type, in that it doesn't seem to have many of the properties UIMA types have.      If that is OK in your application,

Re: Is it possible to define dynamically typed annotations?

2018-12-15 Thread Nicolas Paris
Hi Alain, On Sat, Dec 15, 2018 at 07:20:33AM -0500, Alain Désilets 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? Also very