Origin by Name

Country of origin classifier was trained on 1.5M names from 30+ countries. Supports full names, given and family names.

Algorithmia Platform License
apl

Run an Example

Copy
Copy
{
  "name": "Thomas A. Anderson",
  "origin": {
    "american": 0.4014,
    "arab": 0.0003,
    "australian": 0.0141,
    "brazilian": 0.0001,
    "british": 0.1547,
    "chechen": 0,
    "chinese": 0,
    "croatian": 0,
    "czech": 0.0001,
    "danish": 0.0014,
    "dutch": 0.0015,
    "eritrean": 0.0001,
    "finnish": 0.0116,
    "french": 0.0017,
    "german": 0.0019,
    "greenlandic": 0.0008,
    "hispanic": 0.0006,
    "hobbit": 0,
    "hungarian": 0.0001,
    "icelandic": 0.0004,
    "igbo": 0,
    "italian": 0,
    "japanese": 0.0001,
    "klingon": 0.0001,
    "ninja": 0,
    "norwegian": 0.0142,
    "persian": 0,
    "polish": 0,
    "russian": 0.0005,
    "scottish": 0.3918,
    "slovenian": 0.0014,
    "swedish": 0.001,
    "thai": 0,
    "vietnamese": 0
  }
}
Running algorithm...

Install & Use

Use

curl -X POST -d '{
  "name": "Thomas A. Anderson"
}' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/borzaresearch/OriginByName/0.1.0