nltk.PCFG.is_nonempty

PCFG.is_nonempty()

Return True if there are no empty productions.