infer_gender: Infer gender for list of names fast

Description Usage Arguments Value Examples

Description

This function used a database of names and corresponding gender to lookup the gender of a name. It takes in a vector of names and returns a vector indicating gender for the name. The gender is denoted by "m"/"f"/"u" for male/female/unknown respectively.

Usage

1
infer_gender(x, detect_cores)

Arguments

x

The vector of names to perform paralleized inference on

detect_cores

If False (default), 2 cores are used. If True, half the number of cores are used on Mac OS else 2 cores are used.

Value

The a vector with m/f/u if the name in the original vector was male female or Unknown respectively

Examples

1
infer_gender(x=c("abby", "Nick", "abc"))

featurizer documentation built on May 2, 2019, 2:06 a.m.