Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Homebrew implementation of IBM Watson DeepQA (NLTK, Semantic Web, AI strategies)
Latest commit 3607d46 @chriskelvinlee font

A Trivial Pursuit Player A Computer Program Using Natural Language Processing

Michael Chen Christopher Lee Alex McLeese

Computer Science 182 December 12, 2011 Professor Radhika Nagpal

Answering Trivial Pursuit questions

This project provides code that uses natural language processing to answer trivia questions.

Summary of included files

  • Given results, determines answer and confidence
  • Returns the top pages returned by Google, given a query
  • Reads in previously cached results
  • Caches results
  • Encoded triplets of sample questions and answers for testing
  • 4 ways to calculate scores, and a method to use them all
  • Runs provided questions through given scoring function
  • Wrapper to handle import and update
  • Given a question and answer options, finds keywords and instances of them
  • Functions to determine how heavily each kind of keyword should be weighted
Something went wrong with that request. Please try again.