Member-only story

Learning spaCy | Day 2

Emad Dehnavi
5 min readMar 31, 2024

So far we went through some spacCy basics, we learned some terms, like what a span or token is and we introduced some of their lexical attributes, we also download and installed a pipeline package, before we go further, if you didn’t read those yet, you can find them here:

Learn spaCy — Day 2

Now, we going to see what exactly is added when we install a package pipeline, in other words, what’s included in a pipeline package that you can load into spaCy?

First, let’s see where the packages are actually installed and this depends on what tool you are using for managing your python dependencies. I use Poetry and Poetry installed in a dedicated virtual environment, so I need to find where the path for my vm is.

if you are using mac and don’t have poetry installed, you can check this post which walk you through the steps to install poetry: How to install Poetry in mac

I can find my vm path by running this in my terminal:

poetry config --list

This will show your poetry config

cache-dir = "/Users/YOUR_USER_NAME/Library/Caches/pypoetry"
experimental.system-git-client = false
installer.max-workers = null
installer.modern-installation = true
installer.no-binary = null…

--

--

Emad Dehnavi
Emad Dehnavi

Written by Emad Dehnavi

With 8 years as a software engineer, I write about AI and technology in a simple way. My goal is to make these topics easy and interesting for everyone.

No responses yet