mirror of
https://github.com/mii443/tokenizers.git
synced 2025-08-23 00:35:35 +00:00
BertNormalizer has same behavior than original implem
This commit is contained in:
@ -51,7 +51,7 @@ impl BertNormalizer {
|
||||
fn new(kwargs: Option<&PyDict>) -> PyResult<(Self, Normalizer)> {
|
||||
let mut clean_text = true;
|
||||
let mut handle_chinese_chars = true;
|
||||
let mut strip_accents = true;
|
||||
let mut strip_accents = None;
|
||||
let mut lowercase = true;
|
||||
|
||||
if let Some(kwargs) = kwargs {
|
||||
|
Reference in New Issue
Block a user