Gender of a Name

Returns the gender of a name.

Input

This task identifies the gender associated with a given name. Provide a name, and the task will return the most likely gender, helping you with demographic analysis or personalization efforts.

[1.0.0]:
First Version
VersionAI ModelCreatedLink
1.0.021.04.2023

API

The REST API allows you to call the tool with the same costs as when running the tool. Please generate an Personal access token before using the REST API.

Parameters

  • name (Name): The name that should be gender predicted. It can be a first name or a combination of first and last name.
  • Call the REST API by cURL
    curl -v -H "Authorization: Bearer PERSONAL_ACCESS_TOKEN" https://api.anysolve.ai/rest/v1/u-ba835df8268fc301-gender-of-name/1.0.0?name=Julia
  • Install the package with pip
    python3 -m pip install anysolve
  • Run in python3
    import os
    from anysolve import AnySolve
    anysolve_token = os.environ.get('ANYSOLVE_PERSONAL_ACCESS_TOKEN') # Resolve your personal access token here
    client = AnySolve(anysolve_token)
    res = client.run('u-ba835df8268fc301-gender-of-name','1.0.0', {'name': 'Julia'})
    print(res)
  • Coming soon: Within AnySolve ChatComplete prompts you can use the following command to execute the task:
    /run('u-ba835df8268fc301-gender-of-name','1.0.0', name='Julia')