Subject: | vector_pairs.pm |
Date: | Wed, 13 Dec 2006 03:00:00 -0800 |
To: | bug-WordNet-Similarity [...] rt.cpan.org |
From: | Sushant <sushant [...] stanford.edu> |
hi,
i think i found a bug. in getRelatedness() in vector_pairs.pm there is a
for loop to iterate through all the weights corresponding to the different
relations obtained from the relation file. inside that for loop, at the
very end, variable i is incremented. this means each run through the
loop, i is incremented twice, and hence only the evenly indexed relations
are calculated. please let me know if this is indeed a bug or if i am
misinterpreting something.
thanks,
sushant