📜  从名称中检测性别 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:34.055000             🧑  作者: Mango

代码示例1
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