From a0dfea149d096a5daf340658380a79c33a4c1511 Mon Sep 17 00:00:00 2001 From: "David S. Batista" Date: Tue, 3 Dec 2024 12:03:37 +0100 Subject: [PATCH] fixing imports path --- haystack/components/preprocessors/nltk_document_splitter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/haystack/components/preprocessors/nltk_document_splitter.py b/haystack/components/preprocessors/nltk_document_splitter.py index e0570eea8b..d6f947ebfc 100644 --- a/haystack/components/preprocessors/nltk_document_splitter.py +++ b/haystack/components/preprocessors/nltk_document_splitter.py @@ -7,7 +7,7 @@ from haystack import Document, component, logging from haystack.components.preprocessors.document_splitter import DocumentSplitter -from haystack.components.preprocessors.utils import Language, SentenceSplitter, nltk_imports +from haystack.components.preprocessors.sentence_tokenizer import Language, SentenceSplitter, nltk_imports from haystack.core.serialization import default_to_dict from haystack.utils import serialize_callable