The Apache Commons team has released Apache Commons Text 1.7. This document contains the release notes for the 1.7 version of Apache Commons Text. Commons Text is a set of utility functions and reusable components for the purpose of processing and manipulating text that should be of use in a Java environment.
Apache Commons Text is a library focused on algorithms working on strings. Changes in this version include: New features: o TEXT-148: Add an enum to the lookup package that lists all StringLookups o TEXT-127: Add a toggle to throw an exception when a variable is unknown in StringSubstitutor Thanks to Jean-Baptiste REICH, Sebb, Don Jeba, Gary Gregory. o TEXT-138: TextStringBuilder append sub-sequence not consistent with Appendable. Thanks to Neal Johnson, Don Jeba. o TEXT-152: Fix possible infinite loop in WordUtils.wrap for a regex pattern that would trigger on a match of 0 length Thanks to @CAPS50. o TEXT-155: Add a generic IntersectionSimilarity measure Fixed Bugs: o TEXT-111: WordUtils.wrap must calculate offset increment from wrapOn pattern length Thanks to @CAPS50. o TEXT-151: Fix the JaroWinklerSimilarity to use StringUtils.equals to test for CharSequence equality o TEXT-165: ResourceBundleStringLookup.lookup(String) throws MissingResourceException instead of returning null. Changes: o TEXT-104: Jaro Winkler Distance refers to similarity Thanks to Sascha Szott. o TEXT-153: Make prefixSet in LookupTranslator a BitSet Thanks to amirhadadi. o TEXT-156: Fix the RegexTokenizer to use a static Pattern o TEXT-157: Remove rounding from JaccardDistance and JaccardSimilarity o TEXT-162: Update Apache Commons Lang from 3.8.1 to 3.9. o Update tests from org.assertj:assertj-core 3.12.1 to 3.12.2. o Update site from com.puppycrawl.tools:checkstyle 8.18 to 8.21. Historical list of changes: https://commons.apache.org/proper/commons-text/changes-report.html For complete information on Apache Commons Text, including instructions on how to submit bug reports, patches, or suggestions for improvement, see the Apache Apache Commons Text website: https://commons.apache.org/proper/commons-text Download it from https://commons.apache.org/proper/commons-text/download_text.cgi Gary Gregory on behalf of Apache Commons