Strip should inherits from Normalizer on Python binding.

Signed-off-by: Morgan Funtowicz <morgan@huggingface.co>
This commit is contained in:
Morgan Funtowicz
2020-03-31 20:20:09 +02:00
parent 6e89d97c0b
commit afe9cfe96e

View File

@ -134,7 +134,7 @@ impl Lowercase {
} }
} }
#[pyclass] #[pyclass(extends=Normalizer)]
pub struct Strip {} pub struct Strip {}
#[pymethods] #[pymethods]
impl Strip { impl Strip {