K-Cap 2017 Project
Note: The evaluation results for K-Cap 2017 paper is in "Evaluation results" Folder.
Please read the entire README file before doing anything
Python 2.7 :thumbsup:
PS. File names are self explanatory
Running the service via ./webService.py [port]
and calling it is simple i.e. (http://localhost/question_url_encoded)
{
"results":[
"result 1",
"result 2", ...
],
"parts":[
"part 1",
"part 2", ...
],
"pos":[
[
"word",
"pos tag"
], ...
],
"relation 1": "dbpedia relation lable",
"relation 2": "dbpedia relation lable",
...
"relation N": "dbpedia relation lable",
"gen_question":"generalized question here",
"question":"the input question"
}
please run the code once using the main file to create the *.dat files that will be just loaded other times which will reduce processing time because not extra processing is done.
running main file is straightforward ./main.py
Please email :email: to Yaser (yaser.jaradeh@gmail.com) or Kuldeep (kskuldeepvit@gmail.com) if you face any problem.