Thursday, November 29, 2012

Key Clouds for the four-volume Leveson Inquiry Report

And just in case you haven't had time to read all 1,078,416 words in the Leveson Inquiry Report, here are the Key Clouds produced by Wmatrix for all four volumes conflated together. I took the reports available from the Inquiry website (http://www.levesoninquiry.org.uk/), downloaded the PDFs, converted them to text using PDFbox ExtractText tool (http://pdfbox.apache.org/commandlineutilities/ExtractText.html) and then loaded them in to Wmatrix (http://ucrel.lancs.ac.uk/wmatrix/) and compared them to the BNC written sampler.

The statistically most significant key words (i.e. not just the most frequent words) are:


And the statistically most significant key semantic categories are:


All these items are significant, but the larger the font, the more significant they are. If you want to have a look at these texts in Wmatrix, just let me know and I can share the folders with you. You'll then be able to click through the clouds to see each example of the word and tags in context.

Clouds for Leveson Inquiry Executive Summary

If you don't have time to read even the Executive Summary of the Leveson report (26345 words) published today, then here's what Wmatrix shows as the key words compared to the BNC sampler written reference corpus:



And now for the key semantic tags:


Sunday, August 5, 2012

Mac tips part 7: moving your iTunes library to a new computer

I decided to blog this one rather than tweet it. I needed to shift my iTunes library from my old MacBook to the new MacBook Pro so that I can sync with my shiny new iPad. Follow these instructions if you need to do so. Note that it shifts everything in your library not just your music: http://support.apple.com/kb/HT4527

Monday, February 14, 2011

IBM computer Watson plays Jeopardy

IBM are in the news again in relation to AI. Their computer (Watson) is playing in the American TV programme Jeopardy.

Friday, November 5, 2010

Sunday, October 31, 2010

Wednesday, September 29, 2010

Fred Jelinek RIP

It has been reported elsewhere (Google research blog, New York Times, Language Log, IBM Research) that Fred Jelinek passed away on September 14th, 2010. I heard Fred (at a talk in Prague I think) repeat his famous 'quote' about the accuracy of his MT system going up when the linguists left the room!

Saturday, August 28, 2010

The Little Book of Sustainable Living

Produced by the Recycling Forum in the Lancaster area. Lots of interesting tips in this booklet.

Saturday, August 21, 2010

David Lodge: Deaf sentence

Deaf Sentence: A NovelAnd the other book I read on the beach (two books in a week!) was David Lodge's Deaf Sentence. Although the UK cover quotes the Guardian "Very funny" and the New Statesman "Seriously funny", I'd probably pick out the following key words: death, suicide and obviously deafness. Okay, so corpus linguistics gets a mention (page 32 in my edition).

Iain M Banks: Feersum Endjinn

Feersum EndjinnWhile sitting on the beach recently, I read Feersum Endjinn by Iain M. Banks, recommended by Stuart. Okay, it did have something to do with work: one of the main character's thoughts are written in SMS-style shortenings and abbreviations.

Thursday, July 1, 2010

What are you doing here?

A fantastic montage of clips from Doctor Who over the last 11 doctors:

http://www.youtube.com/watch?v=DtG5dK_HaGg

Thanks to Jam for spotting that one.

Wednesday, April 28, 2010

Libdem manifesto key concepts


And finally the key concepts for the Libdem manifesto.

Labour key concept cloud


And here's the key concept cloud from the Labour manifesto ... there seems to be much more variety of concepts here and hence the cloud is much bigger. I had to shrink it further to get it all in one screenshot.

Conservative key concept cloud


In addition to key words, Wmatrix can produce key concepts by comparing a frequency list of semantic fields automatically tagged in the data with a reference corpus, again here the BNC written sampler. This shows statistically key concepts in the Conservative manifesto

Tuesday, April 20, 2010

TEI versions of UK election manifestos

Meanwhile, somewhere deep in France with a laptop, Lou Burnard has created TEI encoded versions of the UK election manifestos, tagged and lemmatised them with TreeTagger. Download from http://ucrel.lancs.ac.uk/wmatrix/ukmanifestos2010/TEIversion/

Thanks Lou!

Updated Libdem manifesto and cloud


Lou Burnard spotted some conversion errors in the Libdem manifesto (extra spaces after ligatures e.g. 'fi') and Martin has now fixed smart quotes to straight ones. The new text version of the Libdem manifesto is at http://ucrel.lancs.ac.uk/wmatrix/ukmanifestos2010/ and here is the updated key word cloud. You'll notice the main difference is that "Britains" is no longer key because it was actually "Britain's" and the apostrophe now being fixed means that it combines its frequency with "Britain".

Thursday, April 15, 2010

Libdem manifesto key words


And finally the Liberal Democrat manifesto key word cloud.

Labour key word cloud


And here's the Labour key word cloud ...

Conservative key word cloud


Unlike tag clouds or those produced by Wordle where the size of a word depends on its frequency, the Wmatrix key word clouds show words where their size is related to their statistical keyness i.e. how different their frequency is from what it is expected to be (based on a large reference corpus). Here's the conservative key word cloud.

UK election manifestos 2010

This week I've been reading the UK election manifestos, or rather I've set Wmatrix to read them for me. First, you have to convert the online versions in PDF or HTML into plain text. Saving automatically from Acrobat as plain text leaves unwanted headers and footers and some lost capitalisation. Thanks to Martin Wynne for editing the Libdem and Conservative files. I've edited the Labour manifesto by taking the HTML version from their website and marking the chapter boundaries with a pseudo-XML tag. The edited full plain text versions are available to download at: http://ucrel.lancs.ac.uk/wmatrix/ukmanifestos2010/

Labour's manifesto is 29,508 words long. The Conservative manifesto is 27,562 words and the LibDem one is shorter at 18,433 words.

Next, I loaded the files into Wmatrix and compared them to a general reference corpus for written British English. Key word clouds coming up ...

Shared items from Google Reader