:page_facing_up: A Study of Redundancies

:page_facing_up: A Study of Redundancies

- 2 mins

The Project: A Study of Redundancies

First, to clear up any ambiguity: this was a study of textual redundancies, not occupational ones.

Government documents are hard to read. When government documents are made public, they are hardly ever crafted to make them easy for the public to digest.

Text mining may be able to help citizens understand large corpii of government documents. Repetition in these texts conveys summary information about how a government entity operates and the actions of the government entity. Using Barcelona’s Municipal Gazette and the minutes of the Federal Open Market Committee (FOMC), my data science master’s practicum surfaced redundancies in these documents using the Needleman-Wunsch algorithm.

Why those data sources?

Why Needleman-Wunsch?

The NW is a dynamic programming algorithm which finds the best global alignment in two sequences of text and returns a score indicating how similar or dissimilar they are. This algorithm was relatively simple to implement, understand and derive reasonable inferences from.

The scores returned however needed a reasonable threshold for redundancy. To determine this I used the human crowdsourcing platform Pybossa to poll experts and derive a threshold indicating when 2 sequences of text were redundant.

What were the results?

I found this methodology to be successful for the minutes of the FOMC. Once all pairs of sentences had been scored, I found clusters of text sequences, in other words, groups sentences that were redundant with each other and identified centroids of those clusters as representatives of the cluster.

For the minutes of the FOMC, the centroids provided clear summary information about the operations and responsibilities of the FOMC. For example, three of the top 5 centroids were:

The Manager also reported on developments in domestic financial markets and on System open market transactions in government securities and federal agency obligations during the period December 14, 2004 to February 1, 2005.

There were no open market operations in foreign currencies for the Systems account in the period since the previous meeting.

At its June meeting, the Federal Open Market Committee decided to increase the target level of the federal funds rate 25 basis points, to 3 percent.

Final paper and presentation

The final paper and presentation can be found in this google drive folder.

Some historical context

I wrote the original version of this post a year ago (almost, in six days!). In that post I wrote:

Inspired: This project was hugely inspiring to helping define goals I want to achieve personally. Specifically, I wish to pursue work facilitating access to social goods and services.

I’m proud to say that’s what I found with Nava PBC, where we work on improving government services through user research and technology.

rss facebook twitter github youtube mail spotify lastfm instagram linkedin google google-plus pinterest medium vimeo stackoverflow reddit quora