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 ...

Friday, April 9, 2010

Windows to mac tips part 6: control-alt-delete for OSX

Two years later and I'm still finding out new shortcuts!

If you want the equivalent of control-alt-delete on OSX then use command-option-escape and you can force an application to quit.

Sunday, March 21, 2010

NLP blog reports weird results in Google 5-gram list

Has anyone else spotted similar stuff to this?

Recently Oliver Charles (an undergrad at Lancaster University) has been comparing Google, Bing and Yahoo word counts for several thousand single words and MWEs. Paper coming soon!

Saturday, March 6, 2010

Windows to mac tips part 5: zip with password

If you're used to Winzip or the Windows built in possibility to add a password to a zip file, then this can be done on OSX with "zip -e zipfile.zip /dir/files*" on the command line. You're then prompted for a password. To unzip, I've found it best to use Stuffit expander rather than the default archive utility.

Saturday, January 9, 2010

Computing in the news

AI and chatbots are made famous in a BBC News story about game design.

Apple Forum posts on iPod Touch crashing apps

It seems that this is happening a lot with third party apps on the iPod Touch. It begins with one app crashing as soon as you open it and eventually all the other third party apps stop working. There are a lot of solutions offered on the forums here and here, but the only thing that worked for me was a complete reset.

Shared items from Google Reader