Improved error reporting for KbpCorpusParser.