src/models/readers/semeval_reader.py [31:47]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        self._granularity = granularity

    @overrides
    def _read(self, file_path):
        with open(cached_path(file_path), "r") as data_file:
            logger.info(
                "Reading instances from lines in file at: %s", file_path)

            for line in data_file.readlines():
                if not line:
                    continue
                for instance in self._read_line(line):
                    if instance is not None:
                        yield instance

    def _read_line(self, line):
        line = line.strip("\n")
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/models/readers/sst_reader.py [70:85]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        self._granularity = granularity

    @overrides
    def _read(self, file_path):
        with open(cached_path(file_path), "r") as data_file:
            logger.info(
                "Reading instances from lines in file at: %s", file_path)
            for line in data_file.readlines():
                if not line:
                    continue
                for instance in self._read_line(line):
                    if instance is not None:
                        yield instance

    def _read_line(self, line):
        line = line.strip("\n")
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



