borzaresearch

borzaresearch / OriginByName / 0.1.0

README.md

Overview

The Origin by Name algorithm infers the country of origin (nationality) of a person from his or her name.

Applicable Scenarios and Problems

  • Use for diversity hiring. Create a balanced workforce in your organization.

Usage

Input

ParameterDescription
nameThe name of the person.

No preprocessing of the name is required when you call this algorithm.

Output

Describe the output fields for your algorithm. For example:

ParameterDescription
nameThe name of the person.
origin.americanThe confidence that this person is American.
origin.arabThe confidence that this person is Arab.
origin.australianThe confidence that this person is Australian.
origin.brazilianThe confidence that this person is Brazilian.
origin.britishThe confidence that this person is British.
origin.chechenThe confidence that this person is Chechen.
origin.chineseThe confidence that this person is Chinese.
origin.croatianThe confidence that this person is Croatian.
origin.czechThe confidence that this person is Czech.
origin.danishThe confidence that this person is Danish.
origin.dutchThe confidence that this person is Dutch.
origin.eritreanThe confidence that this person is Eritrean.
origin.finnishThe confidence that this person is Finnish.
origin.frenchThe confidence that this person is French.
origin.germanThe confidence that this person is German.
origin.greenlandicThe confidence that this person is Greenlandic.
origin.hispanicThe confidence that this person is Hispanic.
origin.hungarianThe confidence that this person is Hungarian.
origin.icelandicThe confidence that this person is Icelandic.
origin.igboThe confidence that this person is Igbo.
origin.italianThe confidence that this person is Italian.
origin.japaneseThe confidence that this person is Japanese.
origin.norwegianThe confidence that this person is Norwegian.
origin.persianThe confidence that this person is Persian.
origin.polishThe confidence that this person is Polish.
origin.russianThe confidence that this person is Russian.
origin.scottishThe confidence that this person is Scottish.
origin.slovenianThe confidence that this person is Slovenian.
origin.swedishThe confidence that this person is Swedish.
origin.thaiThe confidence that this person is Thai.
origin.vietnameseThe confidence that this person is Vietnamese.

Examples

{
  "name": "Thomas A. Anderson"
}
{
  "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
  }
}