WWW 2018: CESI:使用嵌入和侧面信息实现开放知识库的卡通化
Source code and dataset for The WebConf 2018 (WWW 2018) paper: CESI: Canonicalizing Open Knowledge Bases using Embeddings and Side Information.
Overview of CESI. CESI first acquires side information of noun and relation phrases of Open KB triples. In the second step, it learns embeddings of these NPs and relation phrases while utilizing the side information obtained in previous step. In the third step, CESI performs clustering over the learned embeddings to canonicalize NP and relation phrases. Please refer paper for more details
requirements.txt{
"_id": 36952,
"triple": [
"Frederick",
"had reached",
"Alessandria"
],
"triple_norm": [
"frederick",
"have reach",
"alessandria"
],
"true_link": {
"subject": "/m/09w_9",
"object": "/m/02bb_4"
},
"src_sentences": [
"Frederick had reached Alessandria",
"By late October, Frederick had reached Alessandria."
],
"entity_linking": {
"subject": "Frederick,_Maryland",
"object": "Alessandria"
},
"kbp_info": []
} _id unique id of each triple in the Knowledge Graph. triple denotes the actual triple in the Knowledge Graphtriple_norm denotes the normalized form of the triple (after lemmatization, lower casing ...)true_link is the gold canonicalization of subject and object. For relations gold linking is not available.src_sentences is the list of sentences from which the triple was extracted by Open IE algorithms. entity_linking is the Entity Linking side information which is utilized by CESI.kbp_info Knowledge-Base Propagation side information used by CESI.sh setup.sh for setting up required things.python ppdb/ppdb_server.py -port 9997 (Let the server run in a separate terminal)python src/cesi_main.py -name reverb45_test_runoutput/reverb45_test_run directory. -name is an arbitrary name assigned to the run.Please cite the following paper if you use this code in your work.
…暂无开放 Issues,或尚未同步最近议题。