This project contains a Jupyter notebook cfg-sentences-generator.ipynb
that generates sentences based on a given grammar file.
The notebook uses a context-free grammar (CFG) to generate sentences. The grammar is defined in a grammar.gr
file. The notebook reads this file and generates sentences according to the rules defined in the grammar.
The notebook will generate 10,000 sentences based on the provided grammar.