You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Bruno P. Kinoshita (JIRA)" <ji...@apache.org> on 2017/04/16 11:07:42 UTC

[jira] [Commented] (TEXT-57) Formatting numbers

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

Bruno P. Kinoshita commented on TEXT-57:
----------------------------------------

It would be useful, specially when (pre)processing NLP corpora to have code that could convert (not exactly format... or format converting?) numbers to roman numbers, and the other way around.

Like https://github.com/keon/algorithms/blob/master/string/int_to_roman.py

> Formatting numbers
> ------------------
>
>                 Key: TEXT-57
>                 URL: https://issues.apache.org/jira/browse/TEXT-57
>             Project: Commons Text
>          Issue Type: Wish
>            Reporter: Gilles
>            Priority: Minor
>              Labels: api, scope
>             Fix For: 1.x
>
>
> "Commons Math" contains formatting classes whose purpose are to beautify the printout of such objects as "complex number" and "matrix" instances.
> I suggest that such functionality would be a better fit for "Commons Text".
> Rationale is that it is an endeavour unto itself rather than something which other components can easily implement themselves, aside from their "core business".
> As an example, in "Commons Math", there was an issue in that fixed precision was maintained in numbers close to 0, leading to meaningless error messages.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)