Skip to content

Instantly share code, notes, and snippets.

@namsor
Last active August 29, 2015 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save namsor/2fad2880dc1d0127c580 to your computer and use it in GitHub Desktop.
Save namsor/2fad2880dc1d0127c580 to your computer and use it in GitHub Desktop.
wget call to Gendre API inferring gender from a personal name
# Jean Smith is more likely a female name in the US
wget -q -O - http://api.onomatic.com/onomastics/api/gendre/Jean/Smith/us
0.9
# Jean Valjean is a male name in France
wget -q -O - http://api.onomatic.com/onomastics/api/gendre/Jean/Valjean/fr
-1.0
# Olga Sokolova is a female name
wget -q -O - http://api.onomatic.com/onomastics/api/gendre/Olga/Sokolova
0.99
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment