Extract Person Name

node v8.14.0
version: 1.0.0
endpointsharetweet
When the person name column in your database table has title, degree, etc. sticking on, here is a simple script to extract the names only!
// Load wink-nlp-utils var nlp = require( 'wink-nlp-utils' ); // Clean up and extract just the name: var name = nlp.string.extractPersonsName( 'Dr. Sarah Connor M. Tech., PhD. - Machine Learning' ); console.log( name );
Loading…

no comments

    sign in to comment