mana-ysh / knowledge-graph-embeddings

Implementations of Embedding-based methods for Knowledge Base Completion tasks
Apache License 2.0
257 stars 63 forks source link

Entity list and relation list #4

Closed kaihuchen closed 6 years ago

kaihuchen commented 6 years ago

It seems that two files needed by train.py and test.py (i.e., through the --ent and --rel arguments), i.e. the entity list and the relation list, are not included in this repository.

Can I assume that:

It is easy enough for me to write my own code to generate these files, but I just want to make sure that the above are what's expected. Thanks!

mana-ysh commented 6 years ago

Hi @kaihuchen

Your assumption is right. Entity/Relation list files contain each ID or names line by line and are generated from training triplet file. (If you run and trace preprocess.sh, it is more easy to understand, I think.)

kaihuchen commented 6 years ago

@mana-ysh

Manabe San, much appreciated for the confirmation!