I am modifying a custom component to access a configuration variable, though I am not sure how to access this variable.
For example, if I were to modify the “CRFEntityExtractor”, how would I access the passed in “features” argument?
I took a brief look at the source file for the CRFEntityExtractor, and it looks like the configuration variables can be accessed through the init function:
def __init__( self, **component_config: Optional[Dict[Text, Any]] = None,** ent_tagger: Optional["CRF"] = None, ) -> None: **super().__init__(component_config)**
Am I on the correct path here? Thanks!