Imported from https://github.com/Transkribus/TranskribusBaseLineEvaluationScheme