mirror of
https://github.com/mii443/tokenizers.git
synced 2025-08-23 16:49:27 +00:00
Strip should inherits from Normalizer on Python binding.
Signed-off-by: Morgan Funtowicz <morgan@huggingface.co>
This commit is contained in:
@ -134,7 +134,7 @@ impl Lowercase {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[pyclass]
|
#[pyclass(extends=Normalizer)]
|
||||||
pub struct Strip {}
|
pub struct Strip {}
|
||||||
#[pymethods]
|
#[pymethods]
|
||||||
impl Strip {
|
impl Strip {
|
||||||
|
Reference in New Issue
Block a user