From 123aad8ee6a87f013731467b4364e4b093ab7ef0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maik=20Fr=C3=B6be?= Date: Fri, 30 Aug 2024 15:56:26 +0200 Subject: [PATCH] Update argumentative.py --- ir_axioms/axiom/argumentative.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ir_axioms/axiom/argumentative.py b/ir_axioms/axiom/argumentative.py index ec1bcc3..2cbb632 100644 --- a/ir_axioms/axiom/argumentative.py +++ b/ir_axioms/axiom/argumentative.py @@ -141,6 +141,7 @@ def _sentence_length( document: RankedDocument, ) -> float: download_nltk_dependencies("punkt") + download_nltk_dependencies("punkt_tab") sentences = sent_tokenize(context.contents(document)) if len(sentences) == 0: return nan