nogoodconfig / pypeoplenames

A python package to extract full western 'people' names from a string

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PyPeopleNames

A python package to extract full western 'people' names from a string

Prerequisites

Requires NLTK and various word sets. These are downloaded automatically from the internet when the function is run to fetch the full sets or updated sets.

Installing

Compatable with Python 3+ only

The package will soon be available in the Python Package Index:

pip install pypeoplenames

Using

Takes a string as an input and returns a list of people names:

names = pypeoplenames(text)

Built With

  • NLTK - The awesome natural language toolkit for understanding word types
  • Enchant - A spellchecking library for Python, used for it's English dictionary

About

A python package to extract full western 'people' names from a string


Languages

Language:Python 100.0%