notice
This is unreleased documentation for Rasa Open Source Documentation Master/Unreleased version.
For the latest released documentation, see the latest version (2.2.x).
Version: Master/Unreleased
rasa.nlu.extractors.regex_entity_extractor
RegexEntityExtractor Objects
class RegexEntityExtractor(EntityExtractor)
Searches for entities in the user's message using the lookup tables and regexes defined in the training data.
__init__
| __init__(component_config: Optional[Dict[Text, Any]] = None, patterns: Optional[List[Dict[Text, Text]]] = None)
Extracts entities using the lookup tables and/or regexes defined in the training data.
persist
| persist(file_name: Text, model_dir: Text) -> Optional[Dict[Text, Any]]
Persist this model into the passed directory. Return the metadata necessary to load the model again.