class_docstr: Detect the language used in a snippet of text.
    
class_docstr_tok: ["Detect","the","language","used","in","a","snippet","of","text","."]
docstr: Returns a list of the languages that can be detected by pycld2.
docstr_tok: ["Returns","a","list","of","the","languages","that","can","be","detected","by","pycld2","."]
code: def supported_languages():
      """Returns a list of the languages that can be detected by pycld2."""
      return [
          name.capitalize()
          for name, code in cld2.LANGUAGES
          if not name.startswith("X_")
      ]
  
file_path: polyglot/polyglot/detect/base.py
imports: import logging
  from icu import Locale
  import pycld2
label_desc: Use image node_id 2 for calling the Detector obj's underlying member method code with example usage: obj.supported_languages() and returns: unknown