Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 402 Bytes

README.md

File metadata and controls

12 lines (7 loc) · 402 Bytes

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