If I don’t mention my component’s name (language_detect.LanguageDetector) in registry.py file, NLU throws following error during training:
Exception: Failed to find component class for ‘language_detect.LanguageDetector’. Unknown component name. Check your configured pipeline and make sure the mentioned component is not misspelled. If you are creating your own component, make sure it is either listed as part of the component_classes in rasa_nlu.registry.py or is a proper name of a class in a module.