Giter Site home page Giter Site logo

trec-podcasts-index's Introduction

TREC Podcasts

Source data

Spotify provided 100k Podcasts with metadata (podcast_summary index) and transcripts (podcasts_transcripts index). In the podcast_summary index, each document is a episode, with fields for Show Title, Show Description, Episode Title and Episode Description. In the podcasts_transcripts index each document is a two minute segment's transcript, with fields TBD.

data/ directory

You are expected to have downloaded the data files from G-Drive (requires OSC account) and have this directory structure:

data/
├── metadata.tsv
├── podcasts_2020_topics_test.xml
├── podcasts_2020_topics_train.xml
├── podcasts_2021_topics_test.xml
├── qrels.R
├── qrels.csv
├── topics.R
├── topics.csv
└── transcripts
    ├── 0
    ├── 1
    ├── 2
    ├── 3
    ├── 4
    ├── 5
    ├── 6
    └── 7

Items denoted with ### are from TREC and must be downloaded from G-Drive.

The R scripts generate a similarly named CSV file to make data frames readily available. Run:

Rscript qrels.R

To generate qrels.csv once the required TREC files are downloaded.

R dependencies

The indexers and data readers are written in R. To run them you should have R version 4.0+ installed.

This code will install required R libraries.

Rscript reqs.R

Elasticsearch via Docker

docker-compose up

It also includes Kibana for convenience.

Both services are available on the default ports.

Index

To create (or re-create if already exists) the podcasts_summary index:

Rscript index_summary.R

The schema is defined in schema_summary.json. So make any field changes there

For the `podcasts_transcripts: (a much longer endeavor)

To create (or re-create if already exists) the podcasts_summary index:

Rscript index_transcript.R

trec-podcasts-index's People

Contributors

worleydl avatar nathancday avatar

Stargazers

Qian Liu avatar koloni avatar

Watchers

Eric Pugh avatar Scott Stults avatar o19s admin avatar  avatar  avatar James Cloos avatar Bertrand Rigaldies avatar Jeff Zemerick avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.