Error with EntitySynonymMapper

ComponentNotFoundException: Failed to load the component ‘EntitySynonymMapperS’. Cannot find class ‘EntitySynonymMapperS’ in global namespace. Please check that there is no typo in the class name and that you have imported the class into the global namespace. Either your pipeline configuration contains an error or the module you are trying to import is broken (e.g. the module is trying to import a package that is not installed). Traceback (most recent call last): File “c:\users\vikash\anaconda3\envs\installingrasa\lib\site-packages\rasa\nlu\”, line 121, in get_component_class return rasa.shared.utils.common.class_from_module_path(component_name) File “c:\users\vikash\anaconda3\envs\installingrasa\lib\site-packages\rasa\shared\utils\”, line 45, in class_from_module_path raise ImportError(f"Cannot retrieve class from path {module_path}.") ImportError: Cannot retrieve class from path EntitySynonymMapperS.

Hello, this is an error which I am getting. I have even tried resetting up my environment didn’t help

Here is the link to the code

Hi @viku , Welcome to the forum!

It should be EntitySynonymMapper, not EntitySynonymMapperS.