Published in


SpaceX Falcon Heavy Launch — Credit SpaceX

🚀 100 Times Faster Natural Language Processing in Python

I also published a Jupyter notebook with the examples I describe in this post.

One last thing before we start: I also published a Jupyter Notebook with the working examples I talk about in this post. Try it out!

First step to rocket speed: Profiling

Fast Loops in Python with a bit of Cython

A good reference on the practical usage of Cython in NLP is the Cython Conventions page of spaCy’s API.

👩‍🎨 Let’s Try that Code!

💫 Using Cython with spaCy to speed up NLP

Generally speaking: unless you know what you are doing, avoid using C strings where possible and use Python string objects instead.

🚀Fast NLP Processing with spaCy and Cython




Stories @ Hugging Face

Recommended from Medium

The focus of QA — Automation

A small project in creating an external controller for the Music app on the Macbook Pro

What are the Margins on MongoDB’s SaaS Business?

Why Code Review?

.Net Core MVC Controllers Migration


My Awesome Pet Store

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Thomas Wolf

Thomas Wolf

Natural Language Processing, Deep learning and Computational Linguistics – Science Lead @Huggingface |

More from Medium

How to Paraphrase Documents using Transformers

Build A Custom NER Pipeline With Hugging Face

Top 3 Packages for Named Entity Recognition

4 NLP Libraries for Automatic Language Identification of Text Data In Python