Fix NLTK Resource punkt not found – NLTK Tutorial

By | July 4, 2019

When you are tokenizing an english test, you may find this error:

Resource punkt not found
Attempted to load tokenizers/punkt/english.pickle

In this tutorial, we will introduce how to fix this error.

Preliminaries

import nltk

Download punkt resource

nltk.download('punkt')

nltk download punkt

Leave a Reply