Error checks for parsing wikipedia dumps