On Thu, Mar 13, 2008 at 11:00 AM, Katrin Tomanek
<[EMAIL PROTECTED]> wrote:
> is there a way to programmatically define type priorities?
I was advised to look at the UIMA test suite for things like this. I
see that org.apache.uima.analysis_engine.impl.AnalysisEngine_implTest
has the following code::
TypePriorities typePriorities = new TypePriorities_impl();
TypePriorityList priorityList = typePriorities.addPriorityList();
priorityList.addType("Type1");
priorityList.addType("Type2");
desc.getAnalysisEngineMetaData().setTypePriorities(typePriorities);
Maybe that helps?
Steve
--
I'm not *in*-sane. Indeed, I am so far *out* of sane that you appear a
tiny blip on the distant coast of sanity.
--- Bucky Katt, Get Fuzzy