Update: A new algorithm is being used which is much faster. Feel free to kick the tires and let me know if you see anything different, better, worse or just interesting. There is also now a posting about this on my blog, where you can leave a comment if you wish.
This random name generator can be used for roleplaying games, video games, or wherever you need a name for a fictional chracter. Each style of name below is generated by assembling word-parts from a list of names. This code was originally written to generate random words for mkpasswd, a security tool. The names are chosen to represent a certain language or culture. For example for the American names, the 1990 US Census data was used,
First: Male, Korean
Sung-u Ki-hyeol Tae-ku Pye-pong O-mye-kon Chik Heung Keon-chu Chi-seol O-mye-ki