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

Peter Klügl commented on UIMA-2313:
-----------------------------------

Thanks for pointing this out.

I missed uima.cas.Float also at several other classes that need also be fixed. 

TextMarker should probably support Float same as Double and Integer meaning 
that a new kind of variable is needed in the TextMarker language. Otherwise it 
might introduce some number conversion problems.

If nobody objects, then I will rename this issue to the more general case of 
introducing float numbers and make the necessary changes next week when I am 
back in my office.


                
> SETFEATURE action does not work for Float-valued features
> ---------------------------------------------------------
>
>                 Key: UIMA-2313
>                 URL: https://issues.apache.org/jira/browse/UIMA-2313
>             Project: UIMA
>          Issue Type: Bug
>          Components: TextMarker
>            Reporter: Alex Nevidomsky
>            Assignee: Peter Klügl
>            Priority: Minor
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> In org.apache.uima.textmarker.action.SetFeatureAction.execute() numberExpr is 
> checked for being uima.cas.Integer or uima.cas.Double but not for 
> uima.cas.Float 
> Float is quite popular for storing confidence values (and it is used 
> exclusively in uima.tt, not Double)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to