Markov Chain based Finnish surname generator. Uses Finnish Surname data set from https://www.avoindata.fi/data/fi/dataset/none and checks that the names are not in use from https://verkkopalvelu.vrk.fi/nimipalvelu/.
The generation algorithm can be configured through the following query parameters
chainSize
: Number of adjecent characters to taken into account in the Markov chain, default 3maxLength
: Regenerate name if result is longer than this value, default 15amount
: Number of names generated per round, default 10sameness
: Weight given to common patterns, default 1hideUnavailable
: Hides unavailable names if set totrue
, defaultfalse
beginWith
: Starting characters to continue geneartion from, default emptyendWith
: Regenrate if names not ending in given characters, default empty
You might need to fiddle a bit with all the parameters to produce pleasant names. If the names sound like jibberish, you might want to increase the chainSize
and sameness
. If, on the other hand, most of the names are unavailable, you might want to reduce the chainSize
or the sameness
. Alternatively, you can hide unavailable names and increase the amount of names generated. Try out different combinations and see what happens!
https://aeirola.github.io/sukunimitin/?chainSize=4&amount=40&sameness=2&hideUnavailable=true
will produce quite common sounding surnames. Here we've bumped the chainSize
and sameness
to generate quite common sounding names. Since most of the names will have been taken, we generate more names and hide the unavailable ones.