Skip to content

Commit

Permalink
fix: remove punkt_tab from nltk lookup list
Browse files Browse the repository at this point in the history
  • Loading branch information
Lopa10ko committed Aug 15, 2024
1 parent c75c43e commit 20a6d88
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 20a6d88

Please sign in to comment.