mirror of
https://github.com/mii443/tokenizers.git
synced 2025-08-22 16:25:30 +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 {}
|
||||
#[pymethods]
|
||||
impl Strip {
|
||||
|
Reference in New Issue
Block a user