def METHOD_NAME(config: Dict[Text, Any], load: bool = False) -> MitieEntityExtractor:
    if load:
        constructor = MitieEntityExtractor.load
    else:
        constructor = MitieEntityExtractor.create
    return constructor(
        model_storage=default_model_storage,
        execution_context=default_execution_context,
        resource=Resource("MitieEntityExtractor"),
        config={**MitieEntityExtractor.get_default_config(), **config},
    )