Simple API for detecting gender by first name.
API created based on brilliant datasets by mbejda:
- Black-Female-Names.csv
- Black-Male-Names.csv
- White-Male-Names.csv
- White-Female-Names.csv
- Hispanic-Male-Names.csv
- Hispanic-Female-Names.csv
- Indian-Male-Names.csv
- Indian-Female-Names.csv
More datasets are here: http://mbejda.github.io
https://gender-detect-ex.herokuapp.com/detect?name=christina
{"gender":"female","name":"christina","probability":1.0}
$ git clone https://github.com/alexfilatov/gender_detect.git
$ cd gender_detect
$ mix deps.get
$ iex -S mix
Now you have it running on your http://localhost:4000 and you can make requests:
http://localhost:4000/detect?name=christina
- Fork the repo on GitHub
- Clone the project to your own machine
- Commit changes to your own branch
- Push your work back up to your fork
- Submit a Pull request so that we can review your changes