I'm trying to use Rasa to detect entities such as phone numbers or contract ID. It seems natural to use regular expressions to define precisely those entities, and Rasa does have something called "Regular Expression Features" which allows us to define regular expressions.
Except I don't understand how to use them. In the Rasa-NLU tutorial, there are regexes (like "zipcode"
), but I don't see how they are linked to entities ("location"
).
Does anyone have a clue about how regexes work with Rasa ?
ner_crf
component will be able to use this information to improve results. – Loiret"The name doesn’t define the entity nor the intent, it is just a human readable description for you to remember what this regex is used for."
, so the name is meaningless for Rasa. And the regex does not define a location, but a zipcode, and the example takes zipcodes as values for thelocation
entity. – Jude