From 0b3fcf325baaae2448c725256597d9477db676dc Mon Sep 17 00:00:00 2001 From: "David S. Batista" Date: Thu, 12 Dec 2024 11:21:04 +0100 Subject: [PATCH] updating message --- haystack/components/preprocessors/nltk_document_splitter.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/haystack/components/preprocessors/nltk_document_splitter.py b/haystack/components/preprocessors/nltk_document_splitter.py index 29879fa7f7..812a956516 100644 --- a/haystack/components/preprocessors/nltk_document_splitter.py +++ b/haystack/components/preprocessors/nltk_document_splitter.py @@ -55,7 +55,8 @@ def __init__( # pylint: disable=too-many-positional-arguments warnings.warn( "The NLTKDocumentSplitter will deprecated and will be removed in the next release. " - "The DocumentSplitter will instead support the functionality of the NLTKDocumentSplitter.", + "See DocumentSplitter which now supports the functionalities of the NLTKDocumentSplitter, i.e.: " + "using NLTK to detect sentence boundaries.", DeprecationWarning, )