All Projects â†’ abachman â†’ Human_name_parser

abachman / Human_name_parser

Licence: mit
A name parsing library

Programming Languages

ruby
36898 projects - #4 most used programming language

Labels

Projects that are alternatives of or similar to Human name parser

Docx
a ruby library/gem for interacting with .docx files
Stars: ✭ 288 (+4014.29%)
Mutual labels:  rubygem
Strip attributes
🔪 An ActiveModel extension that automatically strips all attributes of leading and trailing whitespace before validation. If the attribute is blank, it strips the value to nil.
Stars: ✭ 441 (+6200%)
Mutual labels:  rubygem
Scientist
🔬 A Ruby library for carefully refactoring critical paths.
Stars: ✭ 6,301 (+89914.29%)
Mutual labels:  rubygem
Tapping device
TappingDevice makes objects tell you what they do, so you don't need to track them yourself.
Stars: ✭ 296 (+4128.57%)
Mutual labels:  rubygem
Gemoji
Emoji images and names.
Stars: ✭ 3,890 (+55471.43%)
Mutual labels:  rubygem
Matestack Ui Core
Matestack enables you to create sophisticated, reactive UIs in pure Ruby, without touching JavaScript and HTML. You end up writing 50% less code while increasing productivity, maintainability and developer happiness.
Stars: ✭ 469 (+6600%)
Mutual labels:  rubygem
Dry Configurable
A simple mixin to make Ruby classes configurable
Stars: ✭ 280 (+3900%)
Mutual labels:  rubygem
Green Button Data
Fast Ruby parser and API client for Green Button data
Stars: ✭ 18 (+157.14%)
Mutual labels:  rubygem
Ruby Push Notifications
iOS, Android and Windows Phone Push Notifications made easy!!
Stars: ✭ 385 (+5400%)
Mutual labels:  rubygem
Runbook
A framework for gradual system automation
Stars: ✭ 531 (+7485.71%)
Mutual labels:  rubygem
Clearance
Rails authentication with email & password.
Stars: ✭ 3,467 (+49428.57%)
Mutual labels:  rubygem
Tty Progressbar
Display a single or multiple progress bars in the terminal.
Stars: ✭ 377 (+5285.71%)
Mutual labels:  rubygem
Gingerice
Ruby wrapper for correcting spelling and grammar mistakes based on the context of complete sentences.
Stars: ✭ 478 (+6728.57%)
Mutual labels:  rubygem
Ruby Oembed
oEmbed for Ruby
Stars: ✭ 290 (+4042.86%)
Mutual labels:  rubygem
Materialize Sass
Materializecss rubygem for Rails Asset Pipeline / Sprockets
Stars: ✭ 785 (+11114.29%)
Mutual labels:  rubygem
Webinspector
Ruby gem to inspect completely a web page. It scrapes a given URL, and returns you its meta, links, images more.
Stars: ✭ 288 (+4014.29%)
Mutual labels:  rubygem
Dry Monads
Useful, common monads in idiomatic Ruby
Stars: ✭ 453 (+6371.43%)
Mutual labels:  rubygem
App store connect
A Ruby interface to the App Store Connect API
Stars: ✭ 22 (+214.29%)
Mutual labels:  rubygem
Ordinalize full
Turns a number into an ordinal string such as first, second, third or 1st, 2nd, 3rd.
Stars: ✭ 6 (-14.29%)
Mutual labels:  rubygem
Maily
📫 Rails Engine to preview emails in the browser
Stars: ✭ 502 (+7071.43%)
Mutual labels:  rubygem

Attempt to parse and categorize the parts of names. Almost entirely focused on "western" style names.

With code borrowed from:

Built for use in Tixato by Figure 53.

Install

gem install human_name_parser

Usage

require 'rubygems'
require 'human_name_parser'

name = HumanNameParser.parse 'George W. Bush Jr.'
name.first    # => 'George'
name.last     # => 'Bush'
name.initials # => 'GWB'
name.suffix   # => 'Jr.'
name.to_s     # => 'George W. Bush Jr.'

Development

~/ $ git clone ... && cd human_name_parser
~/ $ bundle install
~/ $ rake

TODO

Handle nicknames

Handle strangely placed commas

Handle multiple last names. e.g., "Björn Charles O'Malley y Muñoz"

Handle multiple first names. e.g., "Mary Joe Francis Smith"

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].