Skip to content

dat/pyner

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
ner
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

PyNER

The Python interface to the Stanford Named Entity Recognizer.

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

About

Python interface to the Stanford Named Entity Recognizer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages