Francesco-Sovrano / Legal-Knowledge-Extraction-for-Knowledge-Graph-Based-Question-Answering

Extra documentation (knowledge graph, images, etc..) for the paper "Legal Knowledge Extraction for Knowledge Graph Based Question-Answering".
9 stars 1 forks source link

How to run the code? #1

Open NxxTGT opened 2 years ago

NxxTGT commented 2 years ago

Hi there, Good idea and great work you made! But I am a little confused about how to run the code of this project you have shared on the github. Thx

Francesco-Sovrano commented 2 years ago

Hi,

Sorry for the late reply! You can find most of the code here: • https://github.com/Francesco-Sovrano/DoXpy, you can import it with “from doxpy.models.reasoning.question_answerer import QuestionAnswerer“

• you can find the question answerer also inside here https://github.com/Francesco-Sovrano/YAI4Hu/tree/main/code/Packages. You can install knowpy with “pip install -e knowpy” and import the Q/A with “from knwopy.models.reasoning.question_answerer import QuestionAnswerer“

The source code of “ Legal-Knowledge-Extraction-for-Knowledge-Graph-Based-Question-Answering” is mostly the same