mirror of
https://github.com/mii443/tokenizers.git
synced 2025-12-06 20:58:22 +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