Some code for processing the Wikipedia dataset