bnf ::= <sex::=sexes> line1 <br> line2 <br> line3 <br> line4 <br> line5 line1 ::= "There was" sub_adj sub_noun##sex "from" sub_place_rhyme1 line2 ::= "that" silly_thing_rhyme1 line3 ::= silly_action_rhyme2 line4 ::= silly_context_rhyme2 line5 ::= punchline_rhyme1 sexes ::= male | female sub_adj ::= "an old" | "a young" sub_noun_male ::= "man" sub_noun_female ::= "lady" | "woman" sub_place_rhyme1 ::= "Niger" silly_thing_rhyme1 ::= "smiled as" pronoun##sex "rode on a tiger" silly_action_rhyme2 ::= "they returned from the ride" silly_context_rhyme2 ::= "with the" noun##sex "inside" punchline_rhyme1 ::= "and a smile on the face of the tiger" pronoun_male ::= "he" pronoun_female ::= "she" noun_male ::= "poor man" noun_female ::= "lady"
|