Closed ivkovicdjordje closed 1 year ago
The save method doesn't work for Earley.
But we need a better error for that.
Can you explain why save method doesn't work for Earley?
I just never implemented it.
See issue #788
But if anyone wants to contribute a PR for it, they are more than welcome.
Describe the bug
Saving Earley parser with
parser.save(file)
throwsTypeError: cannot pickle 'module' object
.To Reproduce
Logs:
Lark version used is 1.1.7