drmfinlay / pyjsgf

JSpeech Grammar Format (JSGF) compiler, matcher and parser package for Python.
MIT License
53 stars 22 forks source link

Fix serialization #29

Closed drmfinlay closed 4 years ago

drmfinlay commented 4 years ago

Fixes #26.

@rhyspang This should allow grammars, rules and elements/expansions to be serialized properly with dill. Pyparsing matcher elements are not preserved in the pickling process because they don't seem to support pickling.

You probably don't need this any more, sorry it took me so long to fix it!