'Detector constructor.
Detector is configured with a list of extractors and a list of post
processors. When Detect() is called, Detector will first split the
source string into components using SplitIntoComponents function,
then it will feed the resulting components to extractors. Whatever
the extractors produce will be fed to post processors and then
returned to the user.
Args:
extractors: Extractors to be applied to source strings.
post_processors: Post processors to be applied to source strings.'

def __init__(self, extractors=None, post_processors=None):

    self.extractors = (extractors or [])
    self.post_processors = (post_processors or [])
