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

nltk.download('punkt')