dalab / deep-ed

Source code for the EMNLP'17 paper "Deep Joint Entity Disambiguation with Local Neural Attention", https://arxiv.org/abs/1704.04920
Apache License 2.0
223 stars 50 forks source link

Which file generated in your system saved the candidate entities? #14

Open berryxue opened 6 years ago

berryxue commented 6 years ago

Dear authors: I wonder which file generated in your system saved the candidate entities? I can get the candidate entities of each mention from this file directly so that we can use these candidates directly?

octavian-ganea commented 6 years ago

Hi,

This is the line where the tds.Hash() containing the map between candidate wikipedia ids and new generated rltd_ids is saved. https://github.com/dalab/deep-ed/blob/master/entities/relatedness/relatedness.lua#L327

However, this info is not stored per each mention, unfortunately, but the code can be modified to achieve this goal. Hope it helps,