def METHOD_NAME(cls,
         model_dir=None,  # type: Text
         model_metadata=None,  # type: Metadata
         cached_component=None,  # type: Optional[DucklingHTTPExtractor]
         **kwargs  # type: **Any
         ):
    # type: (...) -> DucklingHTTPExtractor
    component_config = model_metadata.for_component(cls.name)
    return cls(component_config, model_metadata.get("language"))