NaNoGenMo / 2020

National Novel Generation Month, 2020 edition.
76 stars 0 forks source link

Family (hi)story #75

Open kappa opened 3 years ago

kappa commented 3 years ago

Generate a genealogical tree and short biographies for the people based on dates, places and relationships.

There are so many cool ideas on how to make it historically plausible and engaging to read. Try at least some :)

kappa commented 3 years ago

Running late, but still wanted to publish.

The code: https://github.com/kappa/nanogenmo-2020-fastory One possible result: https://kapranoff.ru/~kappa/nanogenmo-2020.result.txt (~720k words -- really changes from run to run, on many occasions it does not go above 1k).

kappa commented 3 years ago

Here is what it does. There's a small database of countries and common first/last names based on countries and era.

We generate several progenitor persons long time in the past and starting from them, generate their descendants based on (normally distributed) life expectancies, various marriage/childbirth probabilities, families moving to other countries etc.

We than keep unique names and create a short bio for each and every person up until present times or everyone dying off (extremely rare) or lack of unique given/family names combinations (much more often).