diff --git a/nlpretext/preprocessor.py b/nlpretext/preprocessor.py index e92c501..5d5acd1 100644 --- a/nlpretext/preprocessor.py +++ b/nlpretext/preprocessor.py @@ -83,5 +83,5 @@ def run(self, text: str) -> str: {"operation": operation, "args": None} for operation in operations_to_pipe ] self.pipeline = self.build_pipeline(operations) - text = self.pipeline.fit_transform(text) + text = self.pipeline.transform(text) return text