notice

This is documentation for Rasa Open Source Documentation v2.0.x, which is no longer actively maintained.
For up-to-date documentation, see the latest version (2.1.x).

Version: 2.0.x

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.