code: def _get_art_abs(story_file):
      """Get abstract (highlights) and article from a story file path."""
      # Based on https://github.com/abisee/cnn-dailymail/blob/master/
      #     make_datafiles.py
  
      lines = _read_text_file(story_file)
  
      # The github code lowercase the text and we removed it in 3.0.0.
  
      # Put periods on the ends of lines that are missing them
      # (this is a problem in the dataset because many image captions don't end in
      # periods; consequently they end up in the body of the article as run-on
      # sentences)
      def fix_missing_period(line):
          """Adds a period to a line that is missing a period."""
          if "@highlight" in line:
              return line
          if not line:
              return line
          if line[-1] in END_TOKENS:
              return line
          return line + "."
  
      lines = [fix_missing_period(line) for line in lines]
  
      # Separate out article and abstract sentences
      article_lines = []
      highlights = []
      next_is_highlight = False
      for line in lines:
          if not line:
              continue  # empty line
          elif line.startswith("@highlight"):
              next_is_highlight = True
          elif next_is_highlight:
              highlights.append(line)
          else:
              article_lines.append(line)
  
      # Make article into a single string
      article = " ".join(article_lines)
      abstract = "\n".join(highlights)
  
      return article, abstract
  
file_path: datasets/tensorflow_datasets/summarization/cnn_dailymail.py
imports: import hashlib
  import os
  from typing import Dict, List
  from absl import logging
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  import tensorflow_datasets.public_api
label_desc: Use image node_id 5 for calling a global function with example usage: _get_art_abs(story_file) and returns: article,  abstract, unknown, line, line, line