Skip to main content

Python client for the Stanford Named Entity Recognizer

Project description

# PyNER

The Python interface to the [Stanford Named Entity Recognizer](https://github.com/dat/stanford-ner).

## Project Homepage

## Installation

$ python setup.py install

## Basic Usage

>>> import ner
>>> tagger = ner.HttpNER(host='localhost', port=8080)
>>> tagger.get_entities("University of California is located in California, United States")
{'LOCATION': ['California', 'United States'],
 'ORGANIZATION': ['University of California']}
>>> tagger.json_entities("Alice went to the Museum of Natural History.")
'{"ORGANIZATION": ["Museum of Natural History"], "PERSON": ["Alice"]}'

## Online Demo

## License

BSD License

## Author

PyNER is developed by maintained by Dat Hoang. It can be found here: http://github.com/dat/pyner

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ner-0.1.tar.gz (4.7 kB view hashes)

Uploaded Source

Built Distribution

ner-0.1.macosx-10.8-x86_64.exe (67.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page