Project X: GUI refinements, recursive NCD calcs, and more
I've added recent file handling for the application, which makes testing much easier because recent files are automatically reloaded. I've also finished a first pass through the output system, which now saves copies of the modified original XML files (including line ids); an XML version of the data structure; and a CSV version of it, suitable for loading into a spreadsheet program. I got hold of a nice pair of witnesses for a Wyatt poem, and I'm now using this for testing; they diverge quite a bit, so I was pleased to find that the app is actually doing its job, in the sense that for each line in each witness, it is fairly reliably identifying the "correct" corresponding line in the other witness, even when they're quite far apart. I'm now also able to run several recursions of the NCD adjustment algorithm, and the indications are that eventually you end up with a stable dataset (i.e. additional recursions don't change the data), but I haven't tested enough to know that yet. We also don't know whether multiple recursions make the results more or less reliable or useful; that remains to be seen.
Also tested on Wine, and everything works, but takes about 33% longer. Not a big deal really, although it would add up on a very large data set.
Next I have to make the recursion configurable, and have the record also keep the original raw score throughout the recursions; and I also want to enable it to do recursions until no further changes happen, if that ever arises.