SpaCy

spaCy for production NLP: fast pipelines for tokenisation, named-entity recognition and dependency parsing, custom components and transformer models.

spaCy is built for production: fast, opinionated pipelines that are easy to deploy.

What I work with

  • Pretrained pipelines; NER, dependency parsing, sentence segmentation.
  • Custom components and rule-based matchers.
  • Training custom NER with config files; transformer-based pipelines.

Example

import spacy
nlp = spacy.load("en_core_web_sm")
doc = nlp("NIST published FIPS 205 in August 2024.")
print([(e.text, e.label_) for e in doc.ents])

NLTK · AI and NLP in Python

References