gpt4 book ai didi

r - 是否有从英文名字中确定性别的软件包?

转载 作者:行者123 更新时间:2023-12-04 16:29:18 25 4
gpt4 key购买 nike

关闭。这个问题不满足Stack Overflow guidelines .它目前不接受答案。












想改善这个问题吗?更新问题,使其成为 on-topic对于堆栈溢出。

5年前关闭。




Improve this question




很想知道有没有包或者方法R 从名字猜性别。

我正在考虑在美国国会上运行它作为测试。

我需要这个来处理几种欧洲语言。

CRAN 没有这样的包。

CRAN 有性别包,但它只适用于英文名字。

问题由 genderizeR 解决包裹。 请参阅我的自我回答中的链接。

最佳答案

现在在 CRAN 上有一个专门用于此的包:gender

从描述来看:

Encodes gender based on names and dates of birth, using either the Social Security Administration's data set of first names by year of birth or the Census Bureau data from 1789 to 1940, both from the United States of America. By using these data sets instead of lists of male and female names, this package is able to more accurately guess the gender of a name, and it is able to report the probability that a name was male or female.



它还有一个非常有用的 vignette展示典型用途。

关于r - 是否有从英文名字中确定性别的软件包?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16802704/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com