{"id":362,"date":"2011-09-08T19:08:03","date_gmt":"2011-09-08T16:08:03","guid":{"rendered":"http:\/\/newage.ql.lt\/blog\/?p=362"},"modified":"2022-01-19T08:34:45","modified_gmt":"2022-01-19T06:34:45","slug":"python-most-common-name-generator","status":"publish","type":"post","link":"http:\/\/9v.lt\/blog\/python-most-common-name-generator\/","title":{"rendered":"[Python] Most common name generator"},"content":{"rendered":"<p>Script to take a list of most common names and randomly picking them creates a full name, like &#8220;Name Surname&#8221;. My friend requested this to generate fictional names for his project, so I took a list of names from Wikipedia, used my awesome <a href=\"http:\/\/en.wikipedia.org\/wiki\/Regular_expression\">Regex<\/a> skills to remove crap data and leave the names and here it it is.<br \/>\n<!--more--><br \/>\nScript: <a href=\"http:\/\/9v.lt\/projects\/python\/RandomName\/GeneratedNames.py\">GeneratedNames.py<\/a><br \/>\nCommon name list: <a href=\"http:\/\/9v.lt\/projects\/python\/RandomName\/names\">names<\/a><br \/>\nOutput sample: <a href=\"http:\/\/9v.lt\/projects\/python\/RandomName\/Generated_names\">Generated_names<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Script to take a list of most common names and randomly picking them creates a<\/p>\n","protected":false},"author":2,"featured_media":1706,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,750],"tags":[377,109,113,112,376,375,108,374],"class_list":["post-362","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-projects","category-software-projects","tag-common","tag-delphi","tag-freepascal","tag-lazarus","tag-most","tag-name","tag-python","tag-random"],"_links":{"self":[{"href":"http:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/posts\/362","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/comments?post=362"}],"version-history":[{"count":0,"href":"http:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/posts\/362\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/media\/1706"}],"wp:attachment":[{"href":"http:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/media?parent=362"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/categories?post=362"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/9v.lt\/blog\/wp-json\/wp\/v2\/tags?post=362"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}