Not able to use the method getFuzzyDistance from "org.apache.commons.lang.StringUtils" apachage commons package
Pega has the function "stringDistance" which has getLevenshteinDistance method in it. Currently we are using this function to calcuate string matching percentage. But we wanted to use getFuzzyDistance method as well from the same package. So when I tried to create function to use the getFuzzyDistance method getting below error while compiling the function.
"The method getFuzzyDistance(String, String) is undefined for the type StringUtils"
I have added apache commons package "org.apache.commons.lang.StringUtils" in Library and generated the Library.
Please refer below link to know about Levenshtein Distance and Fuzzy Distance.
anyone had this kind of issue with apache commons ?
Thank you