notice

This is unreleased documentation for Rasa Open Source Documentation Master/Unreleased version.
For the latest released documentation, see the latest version (2.0.x).

Version: Master/Unreleased

rasa.shared.nlu.interpreter

RegexInterpreter Objects

class RegexInterpreter(NaturalLanguageInterpreter)

extract_intent_and_entities

| @staticmethod
| extract_intent_and_entities(user_input: Text) -> Tuple[Optional[Text], float, List[Dict[Text, Any]]]

Parse the user input using regexes to extract intent & entities.

parse

| async parse(text: Text, message_id: Optional[Text] = None, tracker: Optional[DialogueStateTracker] = None, metadata: Optional[Dict] = None) -> Dict[Text, Any]

Parse a text message.

synchronous_parse

| synchronous_parse(text: Text) -> Dict[Text, Any]

Parse a text message.