Skip to content

Ranks query, question and answer obtained from Yahoo Answers

Notifications You must be signed in to change notification settings

arjunmalik09/Question-Answer-Ranker

Repository files navigation

Question Answer Ranker as part of the Exploratory Project in 4th Semester by under supervision of Prof.A.K. Singh

Running Ranker

  1. Run the GBRank.py file.
  2. By default it runs on dataTrec99.txt(Data of TREC Evaluation 1999)
  3. This can be modified by changing the line 57 from fea=process_doc("dataTrec99.txt") to fea=process_doc(Name Of Data File in String)

Generating Data

Yahoo spider conatins python crawler built using scrapy to extract Yahoo Answers data.

Description

  1. The function_h function can be used to calculate score of any question answer tuple in order to compare it with some other tuple corresponding to same query.
  2. clfvec is a part of the above function definition and once it is learnt it can be used to score any given feature vector.
  3. After running GBrank.py file the clfvec list can be input to function_h to get the final ranking function.

Authors

  1. Arjun Malik
  2. Manish Kumar Singh

About

Ranks query, question and answer obtained from Yahoo Answers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages