stringi icon indicating copy to clipboard operation
stringi copied to clipboard

Feature Reqest: ICU (icu::PluralFormat)

Open hrbrmstr opened this issue 8 years ago • 2 comments

First time gh-issuer, long time stringi user and zealot :-)

I was thinking about implementing http://www.icu-project.org/apiref/icu4c/classicu_1_1PluralFormat.html outside of stringi but was wondering if it has a place in stringi instead? I have no pressing need for it but have been in a convo with other who do (and, while https://github.com/hrbrmstr/pluralize is a stop-gap for it, a speedy, robust stringi function family would be much better).

Not sure I have the time in the short-term to work on this but wanted to gauge whether it was a possibility before forking and PRing later or if this was already being worked on.

hrbrmstr avatar Dec 20 '16 13:12 hrbrmstr

Yep, feel free to contribute within stringi :)

BTW, there's a whole bunch of un-implemented features; see, e.g., the whole ICU Message/Number Format system etc. I'd like to see that in stringi, I'd love other R users have access to that but I don't have the time to work on that myself, especially in the so-called "near future".

I guess that a good place to start is to think of the API proposal = how would these ICU services be available to R users? A list of projected-expression calls + desired outputs could do the trick.

gagolews avatar Dec 21 '16 18:12 gagolews

cool. i'll see what i can put together by mid-January February.

hrbrmstr avatar Dec 25 '16 19:12 hrbrmstr