dominictarr/random-name — pull request #2 by dtudury (2014-07-05 14:49:45+00:00)
Title: now with markov chains

_at nodeconf and there's no one to play four-square with yet so I may as well submit this..._

I couldn't avoid adding complexity so it ended up being a pretty deep change:
* there's an optional argument for the name functions that will make it do a markov chain generation rather than random selection
* if you don't pass the argument they behave the same
* there's a person function that generates an object
* the readme has been updated
* there's a new test (it passes)
* the data files are currently truncated to 500 for browser-friendliness (so far this seems like plenty)
* the data files can be regenerated for non-browser use
* data is from U.S. census (as it has statistical information and a structure that made it pretty easy to use)

I wouldn't bother looking at the diff as everything changed... there still isn't that much code, but it's hidden amongst the data files

sample markov-chain output from `random.person(true).toString())`:
```
Mather Williotte from Los Angeles, California
Jam Jamiel Walds from Goodyear, Arizona
Thon Petevenr Fis from Albuquerque, New Mexico
Karbarie Conne Lamstevers from Hollywood, Florida
Antherrah Brown from Charlotte, North Carolina
Couran Eline Martiz from Boston, Massachusetts
Rober Johnsey from Mesa, Arizona
Christistis Brown from St. Louis, Missouri
Sandren Mill from Overland Park, Kansas
Marildret Mice Hilton from Philadelphia, Pennsylvania
Katrie Chri Johns from Washington, District of Columbia
Gared Mickie Byrds from Omaha, Nebraska
Anna Cyn Ferez from Vallejo, California
Saroth Cla Full from Hawthorne, California
Patie Marolyn Johns from Wichita, Kansas
Williff Par from San Francisco, California
Berairley Adrette Rey from Grand Rapids, Michigan
Hazela Ann Thomerson from Virginia Beach, Virginia
Cath Sha Priguez from Austin, Texas
Jorgert Cald Cohnson from Greensboro, North Carolina
Ran Wil Dixonzalerne from Phoenix, Arizona
Sha Mara Murphez from Oklahoma City, Oklahoma
Everendra Marothel Evanchers from Jonesboro, Arkansas
James Johnalli Boy from Irvine, California
Eladysthae Theiditt Hown from Norwalk, Connecticut
Damuel Michard Willero from Escondido, California
```