Using Context Free Grammar to Generate sentences!


an umbrella on a president knew that an observer ate the pickle .

Sally under an apple knew that an apple jumped weakly .

Eva kissed Adam .

an observer in an umbrella under Sally loved an observer .

every chief of staff knew that an observer worked weakly .

Mary knew that a sandwich engaged Adam in the sandwich in the floor .

Adam with every bell wallowed deeply in an umbrella .

a pickle wanted a president on Mary under an umbrella .

every proposal married an umbrella !

an umbrella in Sally sighed strongly in every sandwich !