def config2normalizer(cls, config): return DictTool.lookup(config, cls.Key.NORMALIZER)
def config2pattern_generator(cls, config): return DictTool.lookup(config, cls.Key.TEXTS2PATTERN)