diff --git a/bindings/python/src/normalizers.rs b/bindings/python/src/normalizers.rs index 6f801d860..c46a5b0a0 100644 --- a/bindings/python/src/normalizers.rs +++ b/bindings/python/src/normalizers.rs @@ -67,7 +67,7 @@ impl PyNormalizer { Py::new(py, (PyBertNormalizer {}, base))?.into_py(py) } NormalizerWrapper::StripNormalizer(_) => { - Py::new(py, (PyBertNormalizer {}, base))?.into_py(py) + Py::new(py, (PyStrip {}, base))?.into_py(py) } NormalizerWrapper::Prepend(_) => Py::new(py, (PyPrepend {}, base))?.into_py(py), NormalizerWrapper::ByteLevel(_) => {