This is what I've managed to get through today:
- Prepared an input data set consisting of "long" passages (speeches from Hamlet, Quarto 1 vs Folio 1, running from a few lines to a few dozen), and created a batch script that processes these, which are read from separate files as opposed to a single input file.
- Created a data set from lines in two versions of one speech (Quarto 2 vs Folio 1), and a script to process that data set.
- Created a third data set which consists of a variety of specific mutations and combinations of mutations of one input sentence, to demonstrate the situations in which the two similarity metrics throw up similar and different results.
MB has just sent me some more interesting sample data from Shakespeare, which I'll also prepare, and AM has sent the chapter of his thesis dealing with ShingleCloud, which I'll need to read carefully tomorrow. He may also be able to add the jaccard measure to ShingleCloud, which would probably give a better test of similarity than the crude averaging of needle and haystack containment that I'm currently using.
I'm also going to prepare some data sets using XML markup. I'm expecting to see that the USM performs a bit more effectively on this data than the pure textual data, but that remains to be seen.