code: def format_specifications(specifications):
      # type: (Iterable[str]) -> List[str]
      
      transformed = set()
      for original in specifications:
          try:
              lang, spec = _extract_specification_parts(original)
              transformed.add(_format_specification(lang, spec))
          except ValueError:
              # Ignore invalid specifications
              pass
  
      return list(transformed)
docs: Transforms the interfaces names into URI strings, with the interface
      implementation language as a scheme.
  
      :param specifications: Specifications to transform
      :return: The transformed names