Therefore, there is a possibility that we obtain pattern pairs with a high similarity when both of the patterns contain one of the same entity types.
we need to encode not entities separately but maintaining entity pair as a pattern feature vector.