[ 
https://issues.apache.org/jira/browse/UIMA-3591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13906719#comment-13906719
 ] 

Richard Eckart de Castilho commented on UIMA-3591:
--------------------------------------------------

Marshall, I like the idea of course :)

However, I think Luca is right. Adding another dependency itself is not a 
problem, but uimaFIT-core also drags in a little bit of Spring. I think it 
would be a sensible idea to separate the Java annotations out into a separate 
module. This should not have any further dependencies, it should be small, and 
it should be conveniently includable with annotators - even if they do not use 
any of the other uimaFIT features.

> Multi-values parameter does not accept single value when 
> @ConfigurationParameter is not present
> -----------------------------------------------------------------------------------------------
>
>                 Key: UIMA-3591
>                 URL: https://issues.apache.org/jira/browse/UIMA-3591
>             Project: UIMA
>          Issue Type: Bug
>          Components: uimaFIT
>    Affects Versions: 2.0.0uimaFIT
>            Reporter: Richard Eckart de Castilho
>            Assignee: Richard Eckart de Castilho
>            Priority: Minor
>             Fix For: 2.0.1uimaFIT
>
>
> This is not working
> {noformat}
> AnalysisEngineFactory.createEngineDescription(WhitespaceTokenizer.class,
>                "SofaNames", SimpleParserAE.SOFA_NAME_TEXT_ONLY);
> {noformat}
> I got a ClassCastException
> {noformat}
> 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)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to