Standardization of full name

Name standardization #

Method of standardization full name

Method address #

POST /clean/name

Functionality #

  • clears the incoming data from unnecessary characters to search for the last name, first name, patronymic;
  • determines gender

Request parameters #

ParameterDescription
searchSearch string and standardization

Sample request data #

{
  "query": "Андрей Ильич Петров"
}

Response options #

ParameterDescription
originalSource string
resultString with the result of standardization
lastNameSurname
firstNameName
middleNamemiddle name
genderFloor
unparsedPartsParts of a string that could not be standardized
validSign of the validity of the response

Sample response data #

{
  "original": "Андрей Ильич Петров",
  "result": "Петров Андрей Ильич",
  "lastName": "Петров",
  "firstName": "Андрей",
  "middleName": "Ильич",
  "gender": "MALE",
  "unparsedParts": [],
  "possible": true,
  "valid": true
}