sunlightlabs/congress — Issue #533: Acronyms should find bills
Author: klondike
Created: 2012-01-31 04:01:07+00:00
State: open

This is really more of an RTC issue, but to keep the work together - "sopa" should find the Stop Online Piracy Act, and it should be the top result.

To do this, create two fields on bills/bill_versions, and make them searchable, "nicknames", and "possible_nicknames".

Start automatically calculating possible acronyms upon index, and adding them to the "possible_nicknames" field as an array.

Create a CSV, by hand, with known acronyms, publish them on Github somewhere, and start wiring these acronyms into the "acronyms" field on index, by wgetting the file from Github directly. This will work for a long, long time, and is not a load on Github (twice a day, tiny file).

Starting examples: "sopa" => SOPA, "pipa" => PIPA, "obamacare" => [PPACA, Reconciliation]

Make it publicly known that we're keeping this file, and welcome contributions from OC, GovTrack, others.