Skip to content

Instantly share code, notes, and snippets.

@manmohan24nov
Created February 3, 2021 16:25
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save manmohan24nov/408d800d75aea34738a8a60f33a27e86 to your computer and use it in GitHub Desktop.
Save manmohan24nov/408d800d75aea34738a8a60f33a27e86 to your computer and use it in GitHub Desktop.
>>> import spacy
>>> nlp = spacy.load("en_core_sci_lg")
>>> text = """spaCy is an open-source software library for advanced natural language processing,
written in the programming languages Python and Cython. The library is published under the MIT license
and its main developers are Matthew Honnibal and Ines Montani, the founders of the software company Explosion."""
>>> doc = nlp(text)
>>> print(doc.ents)
(spaCy, open-source software library, written, programming languages,
Python, Cython, library, MIT, license, developers, Matthew Honnibal,
Ines, Montani, founders, software company)
@Salmanshabbir
Copy link

VERY HELPFULL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment