Closed reckoner closed 6 years ago
What I use is rule.disable()
on the rule itself, you can also grammar.unload()
.
If you really want to remove a rule, the exact method you mentioned does exist: https://github.com/t4ngo/dragonfly/blob/master/dragonfly/grammar/grammar_base.py#L175
There is a
Is there something like a
to remove a rule that had previously been added?