Can SpanRuler do everything EntityRuler does? #11098
-
|
I'm belatedly realizing that there's an I'm basically wondering if I can simplify my code and use |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
spaCy/spacy/pipeline/span_ruler.py Lines 22 to 63 in 86ee26e The plan is to remove the current |
Beta Was this translation helpful? Give feedback.
SpanRulercan do everything thatEntityRulerdoes. If you look at the factory forfuture_entity_ruleryou can see how we have implemented the originalEntityRulerfunctionality usingSpanRuler:spaCy/spacy/pipeline/span_ruler.py
Lines 22 to 63 in 86ee26e