How to use an XML file as input for an algorithm in java?
Dear java gurus,
Here is my problem:
I need to generate 30 input string-pairs to the Jaro-Winkler algorithm(determines how similar two strings are, I have already implemented this) and I had this idea of using an xml file as input. The xml for the first inputs:
Or maybe this is not the smartest way to evaluate the algorithm for 30(!!) inputs? Or if it is, how do I proceed now? Can java read each pair and give me a value for them so that i can print it out in the console?
I'm looking forward and would appreciate any suggestion!!