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 #
| Parameter | Description |
|---|---|
| search | Search string and standardization |
Sample request data #
{
"query": "Андрей Ильич Петров"
}
Response options #
| Parameter | Description |
|---|---|
| original | Source string |
| result | String with the result of standardization |
| lastName | Surname |
| firstName | Name |
| middleName | middle name |
| gender | Floor |
| unparsedParts | Parts of a string that could not be standardized |
| valid | Sign of the validity of the response |
Sample response data #
{
"original": "Андрей Ильич Петров",
"result": "Петров Андрей Ильич",
"lastName": "Петров",
"firstName": "Андрей",
"middleName": "Ильич",
"gender": "MALE",
"unparsedParts": [],
"possible": true,
"valid": true
}