Introducing Apache Commons Text
summary
Apache Commons Text packages reusable text utilities pulled out of Commons Lang and new algorithms: StringSubstitutor, string escape utils, StrBuilder/FormattableUtils/StringTokenizer and planned WordUtils and a random string generator. It ships similarity and distance implementations (Longest Common Subsequence with O(m·n) cost, Levenshtein, Hamming, Cosine, Jaro/Jaro-Winkler), a Myers-based diff, and JSON/Java/ECMA escapers (note ECMA escapes can break HTML). Unicode surrogate pairs are handled following Java string semantics to support non-BMP characters.
AI-written summary · about
chapters (19)
- 0:00Intro
- 2:42History of Commons Text
- 4:06Current Layout
- 6:35String Builder
- 8:20Formattable
- 10:30Templating
- 12:31String Tokenizer
- 17:29Unique Features
- 18:13Longest Common Subsequence
- 21:40Normalization
- 23:16Edit Distances
- 24:10Text Diff
- 24:53Other Similarity Scores
- 25:38Whats Next
- 27:26Release Date
- 28:48Wordutils
- 30:22Deprecation
- 31:02Applications
- 34:18Participation
related talks
48mCollections.compare(JDK, Eclipse, Guava, Apache...);
52mRobust and Flexible String Templates in Java
46mCollections.compare:JDK, Eclipse, Guava, Apache
01h 00mLatest Java Best Practices
37mOptimization: Not All That Glitters Is Gold (StudentDay)
47mThe SolutionFactory to Java's Problems
47mJava's Hidden Gems: Tools and Libraries
01h 00mUpgrade to Modern Java
