Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use StringDistance class in JPA

I have found a utility class StringDistance in JPA.I wants to know,how to use that class in JPA? You can get the API here.

I wants to know how to use the method getClosestLevenshteinDistance? Any help should be appreciable.

like image 971
Muneeswaran Balasubramanian Avatar asked Dec 30 '25 01:12

Muneeswaran Balasubramanian


1 Answers

The StringDistance class is not a part of JPA specification but a utility class from apache OpenJPA

The class StringDistance is helpful in order to calculate the Levenshtein distance

like image 136
Premraj Avatar answered Dec 31 '25 16:12

Premraj



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!