You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Rob Tompkins <ch...@gmail.com> on 2016/11/06 16:20:29 UTC

[Text,Lang] Moving code into commons-text

Hi,

I’ve heard of some intent to get the text functionality out of Lang in the long term future and am thinking about starting to chip away at doing this. It seems that minimally moving over “org.apache.commons.lang3.text" would be a start. Does anyone have any thoughts about what else might migrate from Lang into Text?

Cheers,
-Rob
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [Text,Lang] Moving code into commons-text

Posted by Benedikt Ritter <br...@apache.org>.
Hello Rob,

Rob Tompkins <ch...@gmail.com> schrieb am So., 6. Nov. 2016 um 17:20 Uhr:

> Hi,
>
> I’ve heard of some intent to get the text functionality out of Lang in the
> long term future and am thinking about starting to chip away at doing this.
> It seems that minimally moving over “org.apache.commons.lang3.text" would
> be a start. Does anyone have any thoughts about what else might migrate
> from Lang into Text?
>

Sorry for being very quite recently. You plan sounds awesome. I hope to
have some time to work on commons again in the next weeks. End of the year
is always busy :-)

Regards and keep up the good work,
Benedikt


>
> Cheers,
> -Rob
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>

Re: [Text,Lang] Moving code into commons-text

Posted by Gary Gregory <ga...@gmail.com>.
On Sun, Nov 6, 2016 at 12:22 PM, Bruno P. Kinoshita <
brunodepaulak@yahoo.com.br.invalid> wrote:

> Hi Rob,
>
> > I’ve heard of some intent to get the text functionality out of Lang in
> the long
> > term future and am thinking about starting to chip away at doing this.
> It seems
> > that minimally moving over “org.apache.commons.lang3.text" would be a
> > start. Does anyone have any thoughts about what else might migrate from
> Lang
> > into Text?
>
> I haven't looked at all of the code under o.a.c.l.text, but it sounds like
> a good plan. We can start with a import of the package, and then refine and
> check if everything fits into [text], and if there are no other
> classes/methods in [lang] that depend on this package.
>
>
> There are methods in StringUtils that could be implemented in [text] too.
> For example, the Levenshtein edit distance, and the Jaro Wrinkler
> similarity metric have been ported over as separate objects (which needs
> better modeling actually, see https://issues.apache.org/
> jira/browse/TEXT-21)
>
> I think moving o.a.c.l.text and pruning StringUtils a little bit would be
> a great start for an initial release of [text], and simplify [lang] a
> little bit too.
>

+1 to all of that :-)

Gary


>
>
> Cheers
> Bruno
>
>
>
> ----- Original Message -----
> > From: Rob Tompkins <ch...@gmail.com>
> > To: Commons Developers List <de...@commons.apache.org>
> > Sent: Monday, 7 November 2016 5:20 AM
> > Subject: [Text,Lang] Moving code into commons-text
> >
> > Hi,
> >
> > I’ve heard of some intent to get the text functionality out of Lang in
> the long
> > term future and am thinking about starting to chip away at doing this.
> It seems
> > that minimally moving over “org.apache.commons.lang3.text" would be a
> > start. Does anyone have any thoughts about what else might migrate from
> Lang
> > into Text?
> >
> > Cheers,
> > -Rob
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> > For additional commands, e-mail: dev-help@commons.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>


-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition
<https://www.amazon.com/gp/product/1617290459/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1617290459&linkCode=as2&tag=garygregory-20&linkId=cadb800f39946ec62ea2b1af9fe6a2b8>

<http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1617290459>
JUnit in Action, Second Edition
<https://www.amazon.com/gp/product/1935182021/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182021&linkCode=as2&tag=garygregory-20&linkId=31ecd1f6b6d1eaf8886ac902a24de418%22>

<http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1935182021>
Spring Batch in Action
<https://www.amazon.com/gp/product/1935182951/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182951&linkCode=%7B%7BlinkCode%7D%7D&tag=garygregory-20&linkId=%7B%7Blink_id%7D%7D%22%3ESpring+Batch+in+Action>
<http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1935182951>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Re: [Text,Lang] Moving code into commons-text

Posted by "Bruno P. Kinoshita" <br...@yahoo.com.br.INVALID>.
Hi Rob,

> I’ve heard of some intent to get the text functionality out of Lang in the long
> term future and am thinking about starting to chip away at doing this. It seems
> that minimally moving over “org.apache.commons.lang3.text" would be a
> start. Does anyone have any thoughts about what else might migrate from Lang
> into Text?

I haven't looked at all of the code under o.a.c.l.text, but it sounds like a good plan. We can start with a import of the package, and then refine and check if everything fits into [text], and if there are no other classes/methods in [lang] that depend on this package.


There are methods in StringUtils that could be implemented in [text] too. For example, the Levenshtein edit distance, and the Jaro Wrinkler similarity metric have been ported over as separate objects (which needs better modeling actually, see https://issues.apache.org/jira/browse/TEXT-21)

I think moving o.a.c.l.text and pruning StringUtils a little bit would be a great start for an initial release of [text], and simplify [lang] a little bit too.


Cheers
Bruno



----- Original Message -----
> From: Rob Tompkins <ch...@gmail.com>
> To: Commons Developers List <de...@commons.apache.org>
> Sent: Monday, 7 November 2016 5:20 AM
> Subject: [Text,Lang] Moving code into commons-text
> 
> Hi,
> 
> I’ve heard of some intent to get the text functionality out of Lang in the long 
> term future and am thinking about starting to chip away at doing this. It seems 
> that minimally moving over “org.apache.commons.lang3.text" would be a 
> start. Does anyone have any thoughts about what else might migrate from Lang 
> into Text?
> 
> Cheers,
> -Rob
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org