in comprehend_groundtruth_integration/src/comprehend_customer_scripts/GroundTruth/DocumentClassifier/groundtruth_to_comprehend_clr_format_converter.py [0:0]
def _parse_manifest_input(self, index, input):
try:
if input is not None:
return json.loads(input)
except ValueError:
raise Exception(CANNOT_PARSE_AUGMENTED_MANIFEST.substitute(line=index,
file_name=self.groundtruth_manifest_file_name))