Apache Commons Text 1.7 发布,处理字符串的算法库

栏目: 软件资讯 · 发布时间: 6年前

内容简介:Apache Commons Text 1.7 发布了,Commons Text 是一组用于在 Java 环境中使用的处理文本的实用、可重用组件。 主要更新内容: 新特性 TEXT-148:在查找包中添加枚举,列出所有 StringLookup TEXT-127:新增一个切...

Apache Commons Text 1.7 发布了,Commons Text 是一组用于在 Java 环境中使用的处理文本的实用、可重用组件。

主要更新内容:

新特性

  • TEXT-148:在查找包中添加枚举,列出所有 StringLookup
  • TEXT-127:新增一个切换(toggle)以在 StringSubstitutor 中的变量未知时抛出异常
  • TEXT-138:TextStringBuilder 追加与 Appendable 不一致的子序列
  • TEXT-152:修复 WordUtils.wrap 中可能的无限循环,以获得在 0 长度匹配时触发的正则表达式模式
  • TEXT-155:添加通用的 IntersectionSimilarity 度量

Bug 修复

  • TEXT-111: WordUtils.wrap 必须从 wrapOn 模式长度计算偏移量增量
  • TEXT-151:修复 JaroWinklerSimilarity 以使用 StringUtils.equals 来测试 CharSequence 相等性
  • TEXT-165:ResourceBundleStringLookup.lookup(String)抛出 MissingResourceException 而不是返回 null

变动

  • TEXT-104:Jaro Winkler 距离是指相似性
  • TEXT-153:使 LookupTranslator 中的 prefixSet 成为 BitSet
  • TEXT-156:修复 RegexTokenizer 以使用静态模式
  • TEXT-157:从 JaccardDistance 和 JaccardSimilarity 中删除舍入
  • TEXT-162:将 Apache Commons Lang 从 3.8.1 更新到 3.9
  • 从 org.assertj 更新测试:assertj-core 3.12.1 更新至 3.12.2
  • 从 com.puppycrawl.tools 更新站点:checkstyle 8.18 更新至 8.21

发布说明 和 下载地址

历史变更列表:https://commons.apache.org/proper/commons-text/changes-report.html


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Programming PHP

Programming PHP

Rasmus Lerdorf、Kevin Tatroe、Peter MacIntyre / O'Reilly Media / 2006-5-5 / USD 39.99

Programming PHP, 2nd Edition, is the authoritative guide to PHP 5 and is filled with the unique knowledge of the creator of PHP (Rasmus Lerdorf) and other PHP experts. When it comes to creating websit......一起来看看 《Programming PHP》 这本书的介绍吧!

在线进制转换器
在线进制转换器

各进制数互转换器

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具