human
Can you show me a Python program to clean foreign language characters text.
assistant
Here is a Python program to clean foreign language characters text

import string

def _clean_text(text):
  """Clean text by removing all non-ASCII characters."""
  return text.encode("ascii", "ignore").decode("ascii")

# Enter the text
text = "This is a test of a python function for clean foreign language characters text"

# Calling the function
print((_clean_text(text)))

#Example Output
# This is a test of a python function for clean foreign language characters text

#Remember to inspect code for bugs.