All Projects → ralyodio → humanparser

ralyodio / humanparser

Licence: MIT License
Parse a human name string into salutation, first name, middle name, last name, suffix.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to humanparser

Scrapysharp
reborn of https://bitbucket.org/rflechner/scrapysharp
Stars: ✭ 226 (+189.74%)
Mutual labels:  parsing, scraping
Goose Parser
Universal scrapping tool, which allows you to extract data using multiple environments
Stars: ✭ 211 (+170.51%)
Mutual labels:  parsing, scraping
Jikan Rest
The REST API for Jikan
Stars: ✭ 200 (+156.41%)
Mutual labels:  parsing, scraping
angel.co-companies-list-scraping
No description or website provided.
Stars: ✭ 54 (-30.77%)
Mutual labels:  parsing, scraping
scrapy facebooker
Collection of scrapy spiders which can scrape posts, images, and so on from public Facebook Pages.
Stars: ✭ 22 (-71.79%)
Mutual labels:  scraping
shup
A POSIX shell script to parse HTML
Stars: ✭ 28 (-64.1%)
Mutual labels:  scraping
image-collector
Download images from Google Image Search
Stars: ✭ 38 (-51.28%)
Mutual labels:  scraping
naos
📉 Uptime and error monitoring CLI
Stars: ✭ 30 (-61.54%)
Mutual labels:  scraping
dust
Archive web pages with all relevant assets or save as a single file HTML
Stars: ✭ 19 (-75.64%)
Mutual labels:  scraping
LR
explore different techniques to generate LR(k) parsing code
Stars: ✭ 13 (-83.33%)
Mutual labels:  parsing
Jsonify
♨️A delightful JSON parsing framework.
Stars: ✭ 42 (-46.15%)
Mutual labels:  parsing
copper
An integrated context-aware scanner and parser generator
Stars: ✭ 14 (-82.05%)
Mutual labels:  parsing
YaccConstructor
Platform for parser generators and other grammarware research and development. GLL, RNGLR, graph parsing algorithms, and many others are included.
Stars: ✭ 36 (-53.85%)
Mutual labels:  parsing
chirps
Twitter bot powering @arichduvet
Stars: ✭ 35 (-55.13%)
Mutual labels:  scraping
node-typescript-parser
Parser for typescript (and javascript) files, that compiles those files and generates a human understandable AST.
Stars: ✭ 121 (+55.13%)
Mutual labels:  parsing
Scraper-Projects
🕸 List of mini projects that involve web scraping 🕸
Stars: ✭ 25 (-67.95%)
Mutual labels:  scraping
CYK-Parser
A CYK parser written in Python 3.
Stars: ✭ 24 (-69.23%)
Mutual labels:  parsing
structures
Declarative binary data builder and parser: simple, fast, extensible
Stars: ✭ 29 (-62.82%)
Mutual labels:  parsing
dmi-instascraper
A GUI for Instaloader to scrape users and hashtags with on Instagram
Stars: ✭ 21 (-73.08%)
Mutual labels:  scraping
statham-schema
Statham is a Python Model Parsing Library for JSON Schema.
Stars: ✭ 21 (-73.08%)
Mutual labels:  parsing

humanparser

NPM

Build Status Requirements Status

Parse a human name string into salutation, first name, middle name, last name, suffix.

Install

npm install humanparser

Usage

const human = require('humanparser');

parse human name

const fullName = 'Mr. William R. Hearst, III';
const attrs = human.parseName(fullName);

console.log(attrs);

//produces the following output

{ 
    salutation: 'Mr.',
    firstName: 'William',
    suffix: 'III',
    lastName: 'Hearst',
    middleName: 'R.',
    fullName: 'Mr. William R. Hearst, III'
}

get fullest name in string

const name = 'John & Peggy Sue';
const fullName = human.getFullestName(name);

//produces the following output
{
    fullName: 'Peggy Sue'
}

parse address

const address = '123 Happy Street, Honolulu, HI  65780';
const parsed = human.parseAddress(address);

//produces the following output    
{
    address: '123 Happy Street',
    city: 'Honolulu',
    state: 'HI',
    zip: '65780',
    fullAddress: '123 Happy Street, Honolulu, HI  65780'
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].