/event_driven_qe

Code & Data for the Paper "Event-Driven Query Expansion", WSDM 2021

Primary LanguagePythonMIT LicenseMIT

Event-Driven Query Expansion

This repository provides the data and implementation of the paper:

Event-Driven Query Expansion
Guy D. Rosin, Ido Guy, and Kira Radinsky
WSDM 2021
Preprint: https://arxiv.org/abs/2012.12065

Prerequisites

Usage

  • Run event_projection.py to enrich the temporal embeddings with events from Wikipedia.
  • Run trec_search.py to perform retrieval with or without query expansion and evaluate, after setting the relevant parameters (model paths, dataset, QE method, etc.).

Pretrained Word Embeddings

The word embeddings used in the paper can be downloaded from here.

The embeddings were created using Gensim. Each model is based on data from a single year of the New York Times, and is then enriched with events from Wikipedia. There are 38 models in total, for the years of 1981-2018.

Dependencies