code: def replace_types(text):
      
      if not hasattr(replace_types, '_replacer'):
          replace_types._replacer = build_replacer()
      return replace_types._replacer(text)
docs: Chomp down company types to a more convention form.