Skip to content

Instantly share code, notes, and snippets.

@omri374
Last active October 16, 2021 11:35
Show Gist options
  • Save omri374/f13bba0c7b08a8b9ee4a809fb42e5eda to your computer and use it in GitHub Desktop.
Save omri374/f13bba0c7b08a8b9ee4a809fb42e5eda to your computer and use it in GitHub Desktop.
Setting up name lists and templates
biblical_names = ["David", "Moses", "Abraham", "Samuel", "Jacob",
"Isaac", "Jesus", "Matthew",
"John", "Judas","Simon", "Mary"] # Random biblical names
other_names = ["Beyonce", "Ariana", "Katy", # Singers
"Lebron", "Coby", # NBA players
"William", "Charles","Robert", "Margaret","Frank", "Helen", # Popular (non biblical) names in 1900 (https://www.ssa.gov/oact/babynames/decades/names1900s.html)
"Ronald", "George", "Bill", "Barack", "Donald", "Joe" # Presidents
]
template1 = "My name is {}"
template2 = "And {} said, Why hast thou troubled us?"
template3 = "And she conceived again, a bare a son; and she called his name {}."
name_sets = {"Biblical": biblical_names, "Other": other_names}
templates = (template1, template2, template3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment