Open crownpku opened 7 years ago
I think @Mariobai provides a good solution #22 , which makes rel_e1_posId of certain key word/char to be independent of the length of entity1. For example:
Mike
and John
are good friends.Cristiano Ronaldo Dos Santos Aveiro
and Messi
are friends?
Current entity location embedding is the first character of the entity, the rest of the entity characters are calculated as part of the sentence.
An improvement is to rewrite the original sentence, and make all characters within the entity as one unit only so that only entity location is embedded, and characters within the entity will not be involved into embedding calculation.