All Projects → philipperemy → Stanford-NER-Python

philipperemy / Stanford-NER-Python

Licence: MIT License
Stanford Named Entity Recognizer (NER) - Python Wrapper

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to Stanford-NER-Python

Stanford Openie Python
Stanford Open Information Extraction made simple!
Stars: ✭ 348 (+452.38%)
Mutual labels:  extraction, python-wrapper, stanford
Pynlp
A pythonic wrapper for Stanford CoreNLP.
Stars: ✭ 103 (+63.49%)
Mutual labels:  named-entity-recognition, stanford
europeananp-ner
Named Entities Recognition Annotator Tool for Europeana Newspapers
Stars: ✭ 58 (-7.94%)
Mutual labels:  named-entity-recognition, stanford-ner
PyStanfordNLP
A Python Wrapper of Stanford Chinese Segmenter
Stars: ✭ 17 (-73.02%)
Mutual labels:  python-wrapper, stanford
stack-lstm-ner
Transition-based NER system
Stars: ✭ 35 (-44.44%)
Mutual labels:  named-entity-recognition
LNEx
📍 🏢 🏦 🏣 🏪 🏬 LNEx: Location Name Extractor
Stars: ✭ 21 (-66.67%)
Mutual labels:  named-entity-recognition
huner
Named Entity Recognition for biomedical entities
Stars: ✭ 44 (-30.16%)
Mutual labels:  named-entity-recognition
nlp ner workshop
Named-Entity-Recognition Workshop
Stars: ✭ 15 (-76.19%)
Mutual labels:  named-entity-recognition
baresipy
baresip python wrapper
Stars: ✭ 16 (-74.6%)
Mutual labels:  python-wrapper
open-semantic-desktop-search
Virtual Machine for Desktop Search with Open Semantic Search
Stars: ✭ 22 (-65.08%)
Mutual labels:  named-entity-recognition
H2PC TagExtraction
A application made to extract assets from cache files of H2v using BlamLib by KornnerStudios.
Stars: ✭ 12 (-80.95%)
Mutual labels:  extraction
CLNER
[ACL-IJCNLP 2021] Improving Named Entity Recognition by External Context Retrieving and Cooperative Learning
Stars: ✭ 50 (-20.63%)
Mutual labels:  named-entity-recognition
article-summary-deep-learning
📖 Using deep learning and scraping to analyze/summarize articles! Just drop in any URL!
Stars: ✭ 18 (-71.43%)
Mutual labels:  named-entity-recognition
clinical concept extraction
Clinical Concept Extraction with Contextual Word Embedding
Stars: ✭ 34 (-46.03%)
Mutual labels:  named-entity-recognition
ro.py
ro.py is a modern, asynchronous Python 3 wrapper for the Roblox API.
Stars: ✭ 65 (+3.17%)
Mutual labels:  python-wrapper
cs229-solutions-2020
Unofficial Stanford's CS229 Machine Learning Problem Solutions (summer edition 2019, 2020).
Stars: ✭ 37 (-41.27%)
Mutual labels:  stanford
named-entity-recognition
Notebooks for teaching Named Entity Recognition at the Cultural Heritage Data School, run by Cambridge Digital Humanities
Stars: ✭ 18 (-71.43%)
Mutual labels:  named-entity-recognition
FineGrainedVisualRecognition
Fine grained visual recognition tensorflow baseline on CUB, Stanford Cars, Dogs, Aircrafts, and Flower102.
Stars: ✭ 19 (-69.84%)
Mutual labels:  stanford
PySophus
Python bindings for Sophus Lie Algebra C++ Library
Stars: ✭ 52 (-17.46%)
Mutual labels:  python-wrapper
grobid-ner
A Named-Entity Recogniser based on Grobid.
Stars: ✭ 38 (-39.68%)
Mutual labels:  named-entity-recognition

Python wrapper for Stanford NER

The unofficial cross-platform Python wrapper for the state-of-art named entity recognition library from Stanford University.

Input: Google bought IBM for 10 dollars. Mike was happy about this deal.

Output:

Google              	ORGANIZATION
IBM                 	ORGANIZATION
10 dollars          	MONEY
Mike                	PERSON

NOTE: It works well on Linux and Ubuntu but it's unclear for Windows.

About Stanford NER

Named Entity Recognition (NER) labels sequences of words in a text which are the names of things, such as person and company names, or gene and protein names. It comes with well-engineered feature extractors for Named Entity Recognition, and many options for defining feature extractors. Included with the download are good named entity recognizers for English, particularly for the 3 classes (PERSON, ORGANIZATION, LOCATION).

More information can be found here : https://nlp.stanford.edu/software/CRF-NER.shtml

Installation

First of all, make sure Java 1.8 is installed. Open a terminal and run this command to check:

java -version

If this is not the case and if your OS is Ubuntu, you can install it this way:

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer

The code can be invoked either programmatically or through the command line. The program can be invoked with the following commands:

git clone https://github.com/philipperemy/Stanford-NER-Python.git
cd Stanford-NER-Python
chmod +x init.sh
./init.sh # will run this example above.

Usage

Command

echo "Google bought IBM for 10 dollars. Mike was happy about this deal." > input.txt
python main.py -f input.txt

Output

Google              	ORGANIZATION
IBM                 	ORGANIZATION
10 dollars          	MONEY
Mike                	PERSON

Support

Just open an issue. Any contributions are welcomed!

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].