BESSER-Bot-Framework
BESSER-Bot-Framework copied to clipboard
Installation package doesn't automatically download punkt_tab from NLTK
The installation package does not automatically download the required NLTK punkt_tab.
I got this error running the Greeting agent:
**********************************************************************
Resource punkt_tab not found.
Please use the NLTK Downloader to obtain the resource:
>>> import nltk
>>> nltk.download('punkt_tab')
For more information see: https://www.nltk.org/data.html
Attempted to load tokenizers/punkt_tab/english/
The expected behavior is that the installation BAF package should execute:
import nltk
nltk.download('punkt_tab')
However, I have to manually run these lines before creating any agents. I tested with both Python 3.11 and Python 3.12