On Fri, Sep 28, 2012 at 8:42 AM, Rupert Westenthaler <[email protected]> wrote: > ...AFAIK the Apache Camel example > provided by Bertrand should allow you to call the according > Engines/Chain and also support direct access to the results stored in > the AnalyzedText content part...
Yes, that's the idea - build an enhancement chain as a scripted flow, where intermediate results can influence what happens next. My prototype at https://gist.github.com/2931050 does not even use actual enhancement engines, it's just an expression of that idea so far. The idea behind that is to have a completely stateless stanbol enhancement engine, where a request would include the enhancement chain flow script as well as the input to analyze. If this work this would make it easier to use stanbol as a pure enhancement service where different users can have independent enhancement chains without having to configure anything on the stanbol instance, which also makes load balancing and scaling easier. -Bertrand (still suffering from chronical ENOTIME, not sure when I'll have time to work on that)
