class_docstr: Detect the language used in a snippet of text.
    
class_docstr_tok: ["Detect","the","language","used","in","a","snippet","of","text","."]
code: def __str__(self):
      text = "Prediction is reliable: {}\n".format(self.reliable)
      text += "\n".join(
          [
              "Language {}: {}".format(i + 1, str(l))
              for i, l in enumerate(self.languages)
          ]
      )
      return text
  
file_path: polyglot/polyglot/detect/base.py
imports: import logging
  from icu import Locale
  import pycld2
label_desc: Use image node_id 4 for calling the Detector obj's underlying member method code with example usage: obj.__str__() and returns: text