github地址:https://github.com/hwwang55/DKN
数据说明
- raw_train.txt and raw_test.txt:
user_id[TAB]news_title[TAB]label[TAB]entity_info
for each line, wherenews_titleis a list of wordsw1 w2 ... wn, andentity_infois a list of pairs of entity id and entity name:entity_id_1:entity_name;entity_id_2:entity_name... - kg.txt:
head[TAB]relation[TAB]tail
for each line, whereheadandtailare entity ids andrelationis the relation id.
Q:entity_info中的entity是什么