script for processing wikipedia articles