Hi Richard,
here some feedback:
On Thu, Jan 23, 2014 at 6:18 PM, Richard Eckart de Castilho
<[email protected]>wrote:
> Thanks. Here are some more specific tips:
>
>
[...]
> uimaFIT should be able to automatically coerce single values into
> multi-valued parameters. So it should be possible to write this
>
> AnalysisEngineFactory.createEngineDescription(WhitespaceTokenizer.class,
> "SofaNames", SimpleParserAE.SOFA_NAME_TEXT_ONLY);
>
>
This is not working, I got a ClassCastException
Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to
[Ljava.lang.String;
at
org.apache.uima.annotator.WhitespaceTokenizer.initialize(WhitespaceTokenizer.java:328)
at
org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.initializeAnalysisComponent(PrimitiveAnalysisEngine_impl.java:252)
In principle I don't have control over that annotator, so if it does
strange operation on the initialization, I'm not able to change it. If I
leave the String[] works without problems.
Thanks
--
Luca Foppiano
Software Engineer
+31615253280
[email protected]
www.foppiano.org