in reply to table of values
There seems to be a problem with the output -- since a comparison of two words should produce a single result, regardless of the word order, the results should be identical along the diagonal axis -- yet DOG/COT has values of 1 and 2; the correct value is 2. All that to say that you could get away with a triangular presentation of the results.
In Section
Seekers of Perl Wisdom