class_docstr: Detect the language used in a snippet of text.
    
class_docstr_tok: ["Detect","the","language","used","in","a","snippet","of","text","."]
docstr: Detector of the language used in `text`.
  
  Args:
    text (string): unicode string.
docstr_tok: ["Detector","of","the","language","used","in","`","text","`",".","Args",":","text","(","string",")",":","unicode","string","."]
code: def __init__(self, text, quiet=False):
      """Detector of the language used in `text`.
  
      Args:
        text (string): unicode string.
      """
      self.__text = text
      self.reliable = True
      """False if the detector used Best Effort strategy in detection."""
      self.quiet = quiet
      """If true, exceptions will be silenced."""
      self.detect(text)
  
file_path: polyglot/polyglot/detect/base.py
imports: import logging
  from icu import Locale
  import pycld2
label_desc: Use image node_id 1 to create a new Detector object from inherited base classes: object with example: obj = Detector(text, quiet)