* @throws Exception
*/
public void getErrorsAsCSV(String filePath) throws Exception {
String result = "";
if (exampleDocuments == null) {
exampleDocuments = new TextRulerExampleDocumentSet(inputDirectory, casCache);
}
getAdditionalDocuments();
errors = createErrorList();
result += "'ErrorType';'FileName';'AnnotationType';'Annotation';'TargetAnnotationType';'TargetAnnotation';\n";
for (AnnotationError each : errors) {