Skip to content

Instantly share code, notes, and snippets.

@rschenk
Created October 25, 2012 15:50
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 rschenk/3953569 to your computer and use it in GitHub Desktop.
Save rschenk/3953569 to your computer and use it in GitHub Desktop.
Humanities Article Title Generator
adjectives = %w(Modern Global Discursive Rural Representational Credit Affective Domestic Transnational Nuclear Colonial Saharan Queer Fordist Contemporary Socialist Socioeconomic Marxist Buddhist Kinky Forgotten Ghandian Conservative)
prefixes = %w(Pre Post Meta Neo Sub Multi Self Trans)
locations = ["Empire", "United States", "South America", "New Europe", "Chile", "Diaspora", "Worlds", "State", "India", "China", "Labor Camps", "Margin", "Tibet", "Urban Space", "Cyberspace", "Africa", "Bollywood", "Wall Street", "Truth", "Fear", "Violence", "Corporations"]
nouns = ["The Gaze", "Survival", "Privatization", "Commodity", "Conservation", "Mediation", "Protest", "Sovereignty", "Narrative", "Stiob", "Communication", "Materiality", "Faciality", "Territorialization", "New Media", "Industrialism", "Machine", "Ethnography", "Dialectic", "Cyborg", "Anthropology", "Economy", "Philanthropy", "Sexuality", "Life", "Democracy", "Personhood", "Revival", "Culture"]
adjective_phrase = {
:a => adjectives,
:b => [prefixes, "-", adjectives]
}
location_phrase = {
:a => locations,
:b => [adjective_phrase, " ", locations]
}
introduction = {
:a => [adjective_phrase, " ", location_phrase, ": "],
:b => [adjective_phrase, " ", adjective_phrase, " ", nouns, ": "],
:c => [nouns, ", "]
}
subject = {
:a => ["the ", adjective_phrase, " ", nouns],
:b => [nouns, " in ", nouns, "s"],
:c => [nouns, " of ", adjective_phrase, " ", nouns, "s"]
}
location = {
:a => [" in ", location_phrase],
:b => [" Outside the ", location_phrase],
:c => [" Within ", location_phrase]
}
title = [:introduction, :subject, " and ", :subject, :location]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment