Currently playing on my computer (tune in: pls, asx)
     
 
Mon, 06 Mar 2006

Baby Name Libraries
I scraped a few sites to build my baby name library, including the Social Security Administration. Direct downloadable copies of the "basic" versions of my boy and girl name libraries are available:

:: Posted by rus on Mon, 06 Mar 2006 11:35 pm
:: Filed under /contrib/babynames


Baby Name Regex Search
As I mentioned previously, we are expecting another girl. Furthermore, our previous name of choice ("Olivia") is a very common one (at least going back for the past 5 years). So Kristy and I hunkered down around the computer and tried to find a good alternative to "Olivia".

While looking, I decided that the search interface at many of the baby name sites was just too limiting. For example, we like the nickname "Liv" but it is pretty hard to search for all names that have "liv" somewhere in the beginning, middle, or end of the name. Enter perl (see perl, see perl run, run perl run!).

Using a small script, I scraped a bunch of names off of a few web sites that seem to have a fairly comprehensive list. Using those names, I built a small local library for my own personal use. Then I authored a very simple interface to search the library using any (well... most any) regular expression. It makes baby name searching that much more fun! Here's the link:

So if I punch in 'liv' and search (on the extended lib), I get a small set of alternatives to Olivia. I did a bunch of other regex searches. For example, the regex "^(a|e|i|o|u)[a-z]{4}(a|e|i|o|u)$" will yield all six letter names that begin and end with a vowel. If you aren't familiar with regular expressions, here are some other examples:

    RegexFunctional Meaning
    ^zstarts with 'z'
    a$ends with 'a'
    ^z.*a$starts with 'z' and ends with 'a'
    ^e.*ana$starts with 'e' and ends with 'ana'
    ^[a-z]{3,4}$ all 3-letter and 4-letter names

The links provided by the search utility go to a handy little site that provides the meaning, origin, and relative popularity of the name.

(Update Mon Mar 13 14:34:22 PST 2006 // fixed an html problemo)

:: Posted by rus on Mon, 06 Mar 2006 11:16 pm
:: Filed under /daily_journal/2006, /contrib/babynames



       

November 2008
Sun Mon Tue Wed Thu Fri Sat
           
23 24 25 26 27 28 29
30            

About
The Daily Biff
Rus Berrett's weblog

Contact Me
Email: rus at berrett dot org
AIM: biffordtdavis

Search 'The Daily Biff'



Proclamations
Exaggerated opinions of my own importance. Proceed with caution.

Buy Me Stuff
My wish list is my gift to you (yes, shameless, I know).

Subscribe
Subscribe to a syndicated feed of my weblog, brought to you by the wonders of RSS.

Categories
You can isolate posts by category using the following links.

Archives
Past entries are available for review.

Blogroll
These are a few blogs run by my esteemed friends and colleagues. My personal comments about the blog (and its author) can be accessed by clicking on the "wtf?" graphic to the immediate right of each entry (wtf = "What the flip?" as in "What the flip is grandma doing at the sand dunes?").

Family
What the flip is "Yatyk's Musings"?  And who the flip is Mark Berrett?

Friends
What the flip is "The Improvist"?  And who the flip is Dan Brian?
What the flip is "The Borel-Cantelli Lemma"?  And who the flip is Norm Jones?