Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
grammar for gossipy stories - for use with the CFG generator discussed here: http://wp.me/PfzbG-a4
Para -> It all started when S . ManyContinueS . ConclusionS
ManyContinueS -> ContinueS . ManyContinueS
ManyContinueS -> ContinueS . ManyContinueS
ManyContinueS -> ContinueS . ManyContinueS
ManyContinueS -> ContinueS . ManyContinueS
ManyContinueS -> ContinueS . ManyContinueS
ManyContinueS -> ContinueS . ManyContinueS
ManyContinueS -> ContinueS . ManyContinueS
ManyContinueS -> ContinueS
S -> PersonPsg VPsg
S -> PersonPpl VPpl
ContinueS -> Cohesion PersonPsg VPsg
ContinueS -> Cohesion PersonPpl VPpl
ContinueS -> Cohesion PersonPsg VPsg
ContinueS -> Cohesion PersonPpl VPpl
ContinueS -> Cohesion PersonPsg VPsg , and S
ContinueS -> Cohesion PersonPsg VPsg , and then S
ContinueS -> Cohesion PersonPpl VPpl , and S
ContinueS -> Cohesion PersonPpl VPpl , and then S
ContinueS -> PastCohesion PersonPsg PastVPsg
ContinueS -> PastCohesion PersonPpl PastVPpl
ConclusionS -> The whole thing was EvalAdjP . | It was EvalAdjP . | I thought it was EvalAdjP . | From start to finish, it was EvalAdjP .
EvalAdjP -> EvalAdv EvalAdj | both EvalAdj and EvalAdj | EvalAdj but not really EvalAdj | EvalAdj | EvalAdj
EvalAdv -> really | pretty | extremely | awfully | more than | completely | simply
EvalAdj -> surprising | amazing | awesome | stupid | unremarkable | bizarre | nauseating
PersonPsg -> Person
PersonPpl -> Person and Person
PersonPpl -> Person and Person
PersonPpl -> Person , Person and Person
Person -> @mnames.txt # read from mnames.txt (not included)
Person -> @fnames.txt # read from fnames.txt (not included)
VPsg -> was there
VPsg -> arrived
VPsg -> was Part
VPsg -> was Part
VPsg -> was Part
VPsg -> wasn't Part , but WAS Part
VPsg -> was Part with PersonPsg
VPsg -> was Part with PersonPsg
VPsg -> was Part with PersonPpl
VPsg -> was Part AdvP
PastVPsg -> had been Part PastAdvP
VPpl -> were there
VPpl -> arrived
VPpl -> were Part
VPpl -> were Part
VPpl -> were Part
VPpl -> weren't Part but WERE Part
VPpl -> were Part with PersonPsg
VPpl -> were Part with PersonPsg
VPpl -> were Part with PersonPpl
VPpl -> were Part AdvP
PastVPpl -> had been Part PastAdvP
Part -> @verbs.txt # read from verbs.txt (not included)
AdvP -> a little bit | vigorously | (more or less) | (secretly) | at the same time | (but I digress) | a lot | sort of | with reckless abandon | without telling anyone | quickly | , bit by bit | in spite of all that | twice
PastAdvP -> the previous night | the day before | forever | as a matter of habit | but no one had said anything | for at least a few weeks | for a few seconds | in secret
Cohesion -> According to Person , | I heard from Person that | Don't tell Person I said this, but | Person will deny it, but I'm sure that | Cohesion | Cohesion | Cohesion
Cohesion -> PastCohesion | Meanwhile | Later, | Afterwards, | Before that,
PastCohesion -> That's okay, because | Nevertheless, | Moreover, | Likewise, | Across town, | But don't worry. | Thankfully, | Never mind that, though. | But | And | So | Having heard about that, | Regardless, | You'd never guess, but | Anyway, | Not to be outdone, | Apparently, | Hilariously, | What's more, | Suddenly, | Which is funny because | Ironically, | That's why
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment