API reference

The top-level neologism package re-exports the three names you need from day to day:

neologism.DCFG()

A class that represents dynamically modifiable context-free grammar.

neologism.Rule(lhs, rhs)

A class that is used to create and modify the DCFG.

neologism.YaccDecodeError