knowitall / relgrams

Relgrams -- Tool for computing relational co-occurrences.
2 stars 0 forks source link

Incorrect window computation #2

Closed niranjanb closed 11 years ago

niranjanb commented 11 years ago

The distance between tuples is supposed to be estimated as the distance between the source extractions that produced these tuples. This is most likely the cause of not seeing diverse relations in the rel-grams.

The actual implementation carried over from previous implementations is no longer applicable. It includes tuple variants from the same extraction in computing the distance even though the tuple variants themselves are not allowed to produce rel-grams.

niranjanb commented 11 years ago

This wasn't a bug. The distance computation was being carried out correctly, even by the previous code.

Code rewritten to clarify the behavior.