runtime error
on3.10/site-packages/unstructured/partition/text.py", line 89, in partition_text elif is_possible_narrative_text(ctext): File "/home/user/.local/lib/python3.10/site-packages/unstructured/partition/text_type.py", line 75, in is_possible_narrative_text if exceeds_cap_ratio(text, threshold=cap_threshold): File "/home/user/.local/lib/python3.10/site-packages/unstructured/partition/text_type.py", line 267, in exceeds_cap_ratio if sentence_count(text, 3) > 1: File "/home/user/.local/lib/python3.10/site-packages/unstructured/partition/text_type.py", line 216, in sentence_count sentences = sent_tokenize(text) File "/home/user/.local/lib/python3.10/site-packages/unstructured/nlp/tokenize.py", line 38, in sent_tokenize return _sent_tokenize(text) File "/home/user/.local/lib/python3.10/site-packages/nltk/tokenize/__init__.py", line 106, in sent_tokenize tokenizer = load(f"tokenizers/punkt/{language}.pickle") File "/home/user/.local/lib/python3.10/site-packages/nltk/data.py", line 750, in load opened_resource = _open(resource_url) File "/home/user/.local/lib/python3.10/site-packages/nltk/data.py", line 876, in _open return find(path_, path + [""]).open() File "/home/user/.local/lib/python3.10/site-packages/nltk/data.py", line 583, in find raise LookupError(resource_not_found) LookupError: ********************************************************************** Resource [93mpunkt[0m not found. Please use the NLTK Downloader to obtain the resource: [31m>>> import nltk >>> nltk.download('punkt') [0m For more information see: https://www.nltk.org/data.html Attempted to load [93mtokenizers/punkt/PY3/english.pickle[0m Searched in: - '/home/user/nltk_data' - '/usr/local/nltk_data' - '/usr/local/share/nltk_data' - '/usr/local/lib/nltk_data' - '/usr/share/nltk_data' - '/usr/local/share/nltk_data' - '/usr/lib/nltk_data' - '/usr/local/lib/nltk_data' - '' **********************************************************************
Container logs:
Fetching error logs...