From 20a6d88a3de367924049eeb1bd14fe0e058e7569 Mon Sep 17 00:00:00 2001 From: Lopa10ko Date: Thu, 15 Aug 2024 17:01:25 +0300 Subject: [PATCH] fix: remove punkt_tab from nltk lookup list --- .../data_operations/text_preprocessing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fedot/core/operations/evaluation/operation_implementations/data_operations/text_preprocessing.py b/fedot/core/operations/evaluation/operation_implementations/data_operations/text_preprocessing.py index 61a1da537d..929bfe5897 100644 --- a/fedot/core/operations/evaluation/operation_implementations/data_operations/text_preprocessing.py +++ b/fedot/core/operations/evaluation/operation_implementations/data_operations/text_preprocessing.py @@ -65,7 +65,7 @@ def transform(self, input_data: InputData) -> OutputData: @staticmethod def _download_nltk_resources(): - for resource in ['punkt', 'punkt_tab']: + for resource in ['punkt']: try: nltk.data.find(f'tokenizers/{resource}') except LookupError: