code: def get_languages() -> set:
      
      try:
          languages = cache['languages']
      except KeyError:
          languages = LanguageTool._get_languages()
          cache['languages'] = languages
      return languages
docs: Get supported languages.