WDAqua / ReMatch

6 stars 2 forks source link

ReMatch

K-Cap 2017 Project

Capturing Knowledge in Semantically-typed Relational Patterns to Enhance Relation Linking

Note: The evaluation results for K-Cap 2017 paper is in "Evaluation results" Folder.

For Installation and Running

Please read the entire README file before doing anything

Python Version

Python 2.7 :thumbsup:

Required packages

Required data files

Required Data

Code explanation:

PS. File names are self explanatory

  1. Tagger: POS tagger
  2. Splitter: split the question into combinations
  3. Embedder: glove wrapper to convert question into vectors
  4. Reader: PATTY data reader
  5. Backend: the complete process of reading PATTY data and create embeddings, with the cosine similarity code
  6. Frontend: the complete process of reading a question and processing it
  7. Textrazor_Api: the API wrapper for the textrazor service
  8. main: where the magic happens
  9. api: for the web UI interface
  10. webService: for calling the system as a web service locally

Running local web service

Running the service via ./webService.py [port]

and calling it is simple i.e. (http://localhost/question_url_encoded)

Fast run

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

Any other issues while running the code:

Please email :email: to Yaser (yaser.jaradeh@gmail.com) or Kuldeep (kskuldeepvit@gmail.com) if you face any problem.