def normalize_entities(entity_name):
  """Normalizes database entities (table and column names)."""
  entity_name = normalize_sql(entity_name)
  entity_name = entity_name.replace(' ', '_').upper()
  return entity_name
Normalizes database entities (table and column names).
language/xsp/data_preprocessing/wikisql_preprocessing.py