0.0
No commit activity in last 3 years
No release in over 3 years
Infers gender based upon first names, based upon https://autohotkey.com/board/topic/20260-gender-verification-by-forename-cmd-line-tool-db/
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.12
~> 10.0
~> 3.0
 Project Readme

NameToGender

Determines the gender of a first name. A ruby port of https://github.com/MarcSalvat/sexmachine

Makes several simplifyiing assumptions:

  • Only parses names common in the USA
  • Ignores case

Installation

Add this line to your application's Gemfile:

gem 'name_to_gender'

And then execute:

$ bundle

Or install it yourself as:

$ gem install name_to_gender

Usage

NameToGender.build.gender_of("Fred") # => "M"

License

This code is distributed under the GPLv3. The data file nam_dict.txt is released under the GNU Free Documentation License.