Code for building a word sense disambiguation database from Wikipedia dumps