Skip to content

Commit

Permalink
updating message
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsbatista committed Dec 12, 2024
1 parent 3b4a820 commit 0b3fcf3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion haystack/components/preprocessors/nltk_document_splitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)

Expand Down

0 comments on commit 0b3fcf3

Please sign in to comment.