Full name parsing using treetop
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
tasks
MIT-LICENSE
README.textile
Rakefile
full_names
init.rb
install.rb
uninstall.rb

README.textile

LordBishop

Full name parsing using Treetop.

Usage:

  >> FullNames.parse("The Right Reverend and Right Honourable the Lord Bishop of London Richard John Carew Chartres")
  => {:title=>"The Right Reverend and Right Honourable the Lord Bishop of London", :first_name=>"Richard", :middle_name=>"John Carew", :last_name=>"Chartres"}