Skip to content

Enumerate the productions of a Context Free Grammar.

Notifications You must be signed in to change notification settings

eplusx/EnumerateCFG

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 

Repository files navigation

#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).

About

Enumerate the productions of a Context Free Grammar.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%