Understanding the RegexEntityExtractor in RASA
dev.to·2d·
Discuss: DEV
🔤Regex Engines
Preview
Report Post

Our previous blog explored how the Entity Synonym Mapper helps normalize extracted entities into canonical values.

Hereafter, we’ll move one step deeper into how entities are detected in the first place, specifically using pattern-based extraction. This is where the RegexEntityExtractor comes into play.

Contents of this blog

  • What is RegexEntityExtractor
  • YAML configuration
  • Internal working
  • When and why to use it

What is the RegexEntityExtractor? The RegexEntityExtractor is a rule-based entity extractor that uses regular expressions to identify entities in user input. Unlike ML-based extractors, it does not learn from data. Instead, it works on a very simple principle:

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help