sagemaker_notebook_instance/containers/relationship_extraction/package/objects.py [22:35]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        self._validate()

    def _validate(self):
        assert self.start_char >= 0
        assert self.end_char > self.start_char
        assert (self.end_char - self.start_char) == len(self.text)

    def __str__(self):
        return self.text

    def __len__(self):
        return len(self.text)

    @classmethod
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



sagemaker_notebook_instance/containers/relationship_extraction/package/objects.py [58:71]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        self._validate()

    def _validate(self):
        assert self.start_char >= 0
        assert self.end_char > self.start_char
        assert (self.end_char - self.start_char) == len(self.text)

    def __str__(self):
        return self.text

    def __len__(self):
        return len(self.text)

    @classmethod
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



