Skip to content

garyharan/genders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gender Guesser

This is a Ruby implementation of the very simple Gender Guesser by Dr. Neal Krawetz.

It is limited in efficacy and quite useful if you're getting anonymous mail from an admirer. Agreeing to meet before analysis of the emails could be disastrous.

Installation

sudo gem install genders

Usage

require 'genders'
analysis = Genders::Formal.analyze("This is a test")
puts analysis.gender
puts analysis.percentage # how much of the text was in the gender's class

About

Gender guesser library for ruby

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages