code: def extract_non_mandarin(text):
      """remove Mandarin characters in a string"""
      return " ".join(
          [
              w
              for w in text.split(" ")
              if not any(is_mandarin(c) for c in w)
          ]
      )
  
imports: import argparse
  import collections
  import itertools
  import os
  import random
  import re
  import sys
label_desc: Use image node_id 6 for calling a global function with example usage: extract_non_mandarin(text) and returns: str