Skip to content

zermelozf/EnumerateCFG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 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