Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

detect gender from name

import gender_guesser.detector as gender
d = gender.Detector()
print(d.get_gender(u"Bob"))
male
print(d.get_gender(u"Sally"))
female
print(d.get_gender(u"Pauley")) # should be androgynous
andy
Source by pypi.org #
 
PREVIOUS NEXT
Tagged: #detect #gender
ADD COMMENT
Topic
Name
8+8 =