def get_extractor(coarse, fine):
    log.debug("getting fine extractor for '{}: {}'".format(coarse, fine))
    try:
        extractor = importlib.import_module(__package__+'.'+question_types[fine])
    except (ImportError, __HOLE__):
        log.warn("Extractor for fine type '{}: {}' not implemented".format(coarse, fine))
        raise NoExtractorError(coarse, fine)

    return extractor.Extractor
dataset/ETHPy150Open jcelliott/inquire/inquire/extraction/numeric/extractors.py/get_extractor