Skip to content

Instantly share code, notes, and snippets.

@adamjgrant
Created January 12, 2021 21:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adamjgrant/c17b8e505b45022b939a9a715d1b43ab to your computer and use it in GitHub Desktop.
Save adamjgrant/c17b8e505b45022b939a9a715d1b43ab to your computer and use it in GitHub Desktop.
Political rhetoric generation
{
"main": [
[
"My opponent is for ", {
"branch": "vote-againsts"
}
],
[
"I'm for ", {
"branch": "vote-fors"
}
]
],
"vote-fors": [
{ "branch": "vote-fors-as-prefix" },
{ "branch": "vote-fors-as-suffix" }
],
"vote-fors-as-prefix": [
{ "branch": "prefix-issues", "then": [" ", { "branch": "vf-adjective-suffixes" }] },
{ "branch": "prefix-issues-loaded-positively", "then": [" ", { "branch": "vf-adjective-suffixes" }] },
{ "branch": "prefix-issues-loaded-negatively", "then": [" ", { "branch": "vf-adjective-suffixes" }] }
],
"vote-fors-as-suffix": [
{
"branch": "vote-fors-as-suffix-prefixes", "then": [
" ", { "branch": "suffix-issues" },
{ "branch": "suffix-issues-loaded-positively" },
{ "branch": "suffix-issues-loaded-negatively" }
]
}
],
"vote-fors-as-suffix-prefixes": { "branch": "vf-adjective-prefixes" },
"vf-adjective-prefixes": { "ps":
"sharing|changing|pride for|protecting|mobilizing|time in prison for|reforming|humane|tough|common sense for|hard work for|informed choice for|family|creating opportunity for|preserving|courage in|truthful|secure|transparent"
},
"vf-adjective-suffixes": { "ps": "sharing|challenge|opportunity|protection|legacy preservation|challenges|incentives|common sense|choice|fairness|toughness|mobilization|time in prison|vision|reform|success|change|control|morality|courage|truth|security|transparency"
},
"vote-againsts": [
{ "branch": "vote-againsts-as-prefix" },
{ "branch": "vote-againsts-as-suffix" }
],
"vote-againsts-as-prefix": [
{ "branch": "prefix-issues", "then": [" ", { "branch": "va-adjective-suffixes" }] },
{ "branch": "prefix-issues-loaded-negatively", "then": [" ", { "branch": "va-adjective-suffixes" }] },
{ "branch": "prefix-issues-loaded-positively", "then": [" ", { "branch": "va-adjective-suffixes" }] }
],
"vote-againsts-as-suffix": [
{
"branch": "vote-againsts-as-suffix-prefixes", "then": [
" ", { "branch": "suffix-issues"},
{ "branch": "suffix-issues-loaded-negatively" },
{ "branch": "suffix-issues-loaded-positively" }
]
}
],
"vote-againsts-as-suffix-prefixes": { "branch": "va-adjective-prefixes" },
"va-adjective-prefixes": { "ps":
"the decay of|failing|collapsing|destroying|betraying|limiting|sensationalizing|endangering|radical|radicalizing|wasting|imposing|mandating|intolerance of|corrupting|stealing|cheating|censoring"
},
"va-adjective-suffixes": { "ps":
"decay|failure|collapse|crisis|destruction|sickness|lies|bureaucracy|betrayl|sensationalism|endangerment|waste|corruption|incompetence|greed|insecurity|intolerance|stagnation|mandates|spending|taxes|abuse|punishment|cynicism|red tape|theft|censorship"
},
"prefix-issues": {"ps": "gun|vaccine|voter|mask-wearing|lgbt|first amendment|police" },
"suffix-issues": { "ps": "guns|vaccines|voting|wearing of masks|lgbt rights|the first amendment|police" },
"prefix-issues-loaded-negatively": { "ps": "abortion|hate speech|special treatment of religion|treatment preferential to gender" },
"prefix-issues-loaded-positively": { "ps": "right to choose for women|freedom of speech|freedom of religion|diversity of gender in the workplace" },
"suffix-issues-loaded-negatively": { "ps": "abortion|hate speech|religious special treatment|gender-based preferential treatment" },
"suffix-issues-loaded-positively": { "ps": "rights for women to choose|freedom of speech|religious freedom|gender workplace diversity" }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment