Analysis of the full name in its components

We need a backend application that can parse the full name into

Prefix (Dr. Mr. Ms. etc)
First Name
Last Name
Middle Name
etc

The challenge here is that it must support the names of several countries and languages. One of the assumptions that we have is that we will always have a country and language together with a full name as input.

Full name can be in any format. For the same combination of countries / languages, it may contain a surname or first name. Comma will not be part of the full name.

Is it possible to? We are also open to any commercially available software.

+5
source share
9 answers

, . . " ", - "". , "", "" "".

, .

+6

, . ( ) , , /, , , .. , , .

+2

javascript npm:

https://www.npmjs.org/package/humanparser

humanparser

, , , , .

npm install humanparser

var human = require('humanparser');

var fullName = 'Mr. William R. Jenkins, III'
    , attrs = human.parseName(fullName);

console.log(attrs);

//produces the following output

{ saluation: 'Mr.',
  firstName: 'William',
  suffix: 'III',
  lastName: 'Jenkins',
  middleName: 'R.',
  fullName: 'Mr. William R. Jenkins, III' }
+2

:

  • , , Mrs, , , .
  • , , - , - ( )

, , . , IBM

+2

" " " " - , . , -, . .

, ( ), , (/////I/II/...) , .

+1

: ? , (, " " - ), .

"" .

+1

, . , , , ( ) " ", , , , .

,

, " ". .

, , ( )...

0

All Articles