code: def read_text_classification_file(path_to_file) -> List[Sentence]:
      sentences = []
      with open(path_to_file) as f:
          lines = f.read().splitlines()
          for line in lines:
              label_pattern = r"__label__(?P<label>[\w#]+)"
              labels = re.findall(label_pattern, line)
              labels = [Label(label) for label in labels]
              text = re.sub(label_pattern, "", line)
              s = Sentence(text, labels)
              sentences.append(s)
      return sentences
  
imports: import os
  import re
  import shutil
  from enum import Enum
  from os.path import dirname, join
  from typing import Union, List
  import yaml
  from underthesea.corpus import Corpus
  from underthesea.corpus.categorized_corpus import CategorizedCorpus
  from underthesea.corpus.data import Sentence, Label
  from underthesea.file_utils import cached_path, UNDERTHESEA_FOLDER
  from pathlib import Path
  import zipfile
  from underthesea.utils import print_table
label_desc: Use image node_id 10 for calling the DataFetcher obj's underlying member method code with example usage: obj.read_text_classification_file(path_to_file) and returns: sentences