zohebk / NLP-Entities-Python

Find the entities mentioned in text via the Google Cloud Language API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python NLP Entity Recognition

Find the entities mentioned in a text via the Google Cloud Language API

Main function: find_entities(text, max_entities)

Pass in a string of text and receive a list of the entities it mentions.

If you want to use it from the command line

python gcloud_entities.py <text_file> <number_of_entities (optional)>

Example: python gcloud_entities.py example.txt 5

About

Find the entities mentioned in text via the Google Cloud Language API

License:MIT License


Languages

Language:Python 100.0%