def _check_label_size()

in comprehend_groundtruth_integration/src/comprehend_customer_scripts/GroundTruth/DocumentClassifier/groundtruth_to_comprehend_clr_format_converter.py [0:0]


    def _check_label_size(self, label, index, limits):
        if len(label) > limits['MAX_LABEL_SIZE_IN_CHARS']:
            raise Exception(LABEL_TOO_BIG.substitute(size=limits['MAX_LABEL_SIZE_IN_CHARS'],
                                                     line=index,
                                                     file=self.groundtruth_manifest_file_name))