Question Answer Ranker as part of the Exploratory Project in 4th Semester by under supervision of Prof.A.K. Singh
- Run the GBRank.py file.
- By default it runs on dataTrec99.txt(Data of TREC Evaluation 1999)
- This can be modified by changing the line 57
from
fea=process_doc("dataTrec99.txt")
tofea=process_doc(Name Of Data File in String)
Yahoo spider conatins python crawler built using scrapy to extract Yahoo Answers data.
- 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.
- clfvec is a part of the above function definition and once it is learnt it can be used to score any given feature vector.
- After running GBrank.py file the clfvec list can be input to function_h to get the final ranking function.
- Arjun Malik
- Manish Kumar Singh