Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 314 Bytes

Readme.md

File metadata and controls

9 lines (7 loc) · 314 Bytes

#Enumerate productions given a Context Free Grammar

##enumerate.py Enumerate finite CFG. Corrects some problems with the nltk.parse.generate example.

##enumerate_small_sentences.py Enumerate sentences up to a fixed number of words. Can be used with an infinite grammar to enumerate small sentences (< n words).