Open GoogleCodeExporter opened 9 years ago
It seems like the main reason for using external resources has to do with the
ability to share an expensive resource between analysis engines. If that is an
uncommon scenario in a CleartkAnnotator, then why should we make such a big API
change? Perhaps it would make sense for TF-IDF data or a language model. But
I'd hate to see this hang up a 2.0 release.
Original comment by phi...@ogren.info
on 8 Dec 2013 at 3:23
It is a matter of separating concerns. With the external resources, you can
define parameters where they belong and set them where they are defined. No
need to manually tunnel them through any AEs.
The approach of prefixing parameter names with the class name does not work in
cases where you want to pass the same class twice to an AE but with different
parameters.
We had been talking longer about this in
http://code.google.com/p/uimafit/issues/detail?id=70
Original comment by richard.eckart
on 8 Dec 2013 at 6:46
Btw. this should also eventually lead into addressing
https://code.google.com/p/uimafit/issues/detail?id=7
Original comment by richard.eckart
on 8 Dec 2013 at 6:51
I believe you already switched to uimaFIT 2.0.0. Did that break this
Initializable stuff for you? I suppose you could go on using the
classname-prefixed fields and Initializable, but the factory which was used to
create the parameter names would need to go to ClearTK, because it has been
removed from uimaFIT 2.0.0. In fact, I would also like to remove the whole
Initializable stuff at some point. If the current way of using the external
resources doesn't meet your approval, we should continue to discuss the
requirements. I have ideas for further improving that, but currently no time to
work on it.
Original comment by richard.eckart
on 8 Dec 2013 at 6:56
We did switch to 2.0.0 and we switched to the simple parameter naming scheme.
But we still use Initializable.
Original comment by steven.b...@gmail.com
on 8 Dec 2013 at 10:48
Original comment by phi...@ogren.info
on 15 Mar 2014 at 5:43
Original issue reported on code.google.com by
steven.b...@gmail.com
on 16 Nov 2013 at 6:08