The program compares the most similar strings from the first set with the strings from the second set and outputs the result to file.
The java-string-similarity library is used, namely Ratcliff/Obershelp Pattern Recognition:
<dependency>
<groupId>info.debatty</groupId>
<artifactId>java-string-similarity</artifactId>
<version>RELEASE</version>
</dependency>
input example:
output example: