code: def validate_corpus_content(corpus_name):
      # Level 1
      # Validate NFC Encoding
      corpus_folder = join(DATASETS_FOLDER, corpus_name)
      train = join(corpus_folder, "train.txt")
      test = join(corpus_folder, "test.txt")
      files = [train, test]
      for file in files:
          validate_utf8(file)
  
      # Level 2, 3
      # Check content
      for file in files:
          validate_content(file)
  
file_path: underthesea/underthesea/corpus/validate_corpus.py
imports: import sys
  from os import listdir
  from os.path import join, basename
  import charset_normalizer
  from underthesea.feature_engineering.text import Text
  from underthesea.file_utils import DATASETS_FOLDER
  from underthesea.pipeline.word_tokenize import tokenize
label_desc: Use image node_id 9 for calling a global function with example usage: validate_corpus_content(corpus_name) without return types