def _clean_text(text, cleaner_names):
    for name in cleaner_names:
        cleaner = getattr(cleaners, name)
        if (not cleaner):
            raise Exception(('Unknown cleaner: %s' % name))
        text = cleaner(text)
    return text
def _clean_text(text, cleaner_names):
    for name in cleaner_names:
        cleaner = getattr(cleaners, name)
        if (not cleaner):
            raise Exception(('Unknown cleaner: %s' % name))
        text = cleaner(text)
    return text