Re: [LANG] Add alphabet conversion API

2016-09-18 Thread Benedikt Ritter
Hello Eyal, yes you should close the PR against Commons Lang and create a new one for Commons Text [1]. I think I can move the Issue to the Commons Text Project, so you don't need to create a new one. General design discussions are usually held on the mailing list. But details around a specific is

Re: [LANG] Add alphabet conversion API

2016-09-18 Thread Eyal Allweil
Ok, I'm convinced. Should I cancel my existing pull request and close the existing jira issue (LANG-1266) and make a new jira issue? Do we need a new thread (in the mailing list for this, or is working with comments in jira enough?) Regards,Eyal On Thursday, September 15, 2016 8:37 PM, Ga

Re: [LANG] Add alphabet conversion API

2016-09-15 Thread Gary Gregory
There is already creep of text-like code in [lang] like org.apache.commons.lang3.text.WordUtils. I'd rather see a [text] component come alive. Gary On Thu, Sep 15, 2016 at 4:22 AM, Benedikt Ritter wrote: > Hello Eyal, > > Commons Text started as an experiment but we never pushed out a release.

Re: [LANG] Add alphabet conversion API

2016-09-15 Thread Benedikt Ritter
Hello Eyal, Commons Text started as an experiment but we never pushed out a release. If there is interest again, we can get things started again. Regards, Benedikt Eyal Allweil schrieb am Do., 15. Sep. 2016 um 12:34 Uhr: > Hi Benedict, Bruno - > I can see that commons-text might be a better ho

Re: [LANG] Add alphabet conversion API

2016-09-15 Thread Eyal Allweil
Hi Benedict, Bruno - I can see that commons-text might be a better home for this functionality than commons-lang. But is the project still active? There haven't been any commits in the past year, and there seem to be no maven binaries available (http://stackoverflow.com/questions/36374510/maven-

Re: [LANG] Add alphabet conversion API

2016-09-13 Thread Bruno P. Kinoshita
+1 Bruno From: Benedikt Ritter To: Commons Developers List Sent: Wednesday, 14 September 2016 2:06 AM Subject: Re: [LANG] Add alphabet conversion API Does this really belong into [LANG]? We also have Commons Text [1] in the sandbox, which seems to be a better home for this

Re: [LANG] Add alphabet conversion API

2016-09-13 Thread Benedikt Ritter
Does this really belong into [LANG]? We also have Commons Text [1] in the sandbox, which seems to be a better home for this functionality. Benedikt [1] http://commons.apache.org/sandbox/commons-text/ Rob Tompkins schrieb am Di., 13. Sep. 2016 um 15:48 Uhr: > > > On Sep 13, 2016, at 4:39 AM, Ey

Re: [LANG] Add alphabet conversion API

2016-09-13 Thread Rob Tompkins
> On Sep 13, 2016, at 4:39 AM, Eyal Allweil > wrote: > > I've created a JIRA issue, https://issues.apache.org/jira/browse/LANG-1266, > and a pull request for this: https://github.com/apache/commons-lang/pull/188 > Regards,Eyal > > > > >On Wednesday, September 7, 2016 5:27 PM, Eyal Allw

Re: [LANG] Add alphabet conversion API

2016-09-13 Thread Eyal Allweil
I've created a JIRA issue, https://issues.apache.org/jira/browse/LANG-1266, and a pull request for this: https://github.com/apache/commons-lang/pull/188 Regards,Eyal On Wednesday, September 7, 2016 5:27 PM, Eyal Allweil wrote: Hi Simo, I'm not sure I understood how BitSets would be

Re: [LANG] Add alphabet conversion API

2016-09-07 Thread Eyal Allweil
Hi Simo, I'm not sure I understood how BitSets would be used in this case. For example, an example with chars might look like this. AlphabetConverter ac = new AlphabetConverter(['a','b','c','d'], ['a','e','f','g'],['a']) // 'a' is not encoded and the mapping would become a -> a, b -> e, c -> f,

Re: [LANG] Add alphabet conversion API

2016-09-03 Thread Benedikt Ritter
Hi Simo, nice seeing a message from you again. Hope you're doing fine! I currently don't understand the proposed API. Can you give some more examples? Thank you! Benedikt Simone Tripodi schrieb am Do., 1. Sep. 2016 um 11:26 Uhr: > Hi, > I personally think it would a very "nice to have" featur

Re: [LANG] Add alphabet conversion API

2016-09-01 Thread Simone Tripodi
Hi, I personally think it would a very "nice to have" feature, I had to face similar issues in the past and, if that feature was available would have saved me developing time. I just have a small request/suggestion: since int/char can be casted to each other, I would use BitSets rather than Sets.

[LANG] Add alphabet conversion API

2016-09-01 Thread Eyal Allweil
Hi guys, Would you be interested in adding a utility class that creates alphabet converters, perhaps using a helper method available from StringUtils? It doesn't have to stay the way it is now, but the API for the class - AlphabetConverter - is currently: /** * The input is integers representing