-
Notifications
You must be signed in to change notification settings - Fork 19.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TextVectorization does not convert Cyrillic characters to lowercase #19668
Comments
The lowercasing is simply does via the TensorFlow operation |
It's not because of tf.strings.lower()!
By default: tf.keras.layers.TextVectorization(encoding='utf-8') |
Can someone check if TextVectorization does pass the encoding argument to tf.strings.lower() ? |
keras.layers.TextVectorization does not convert Cyrillic characters to lowercase with 'lower_and_strip_punctuation'.
Deprecated keras.preprocessing.text.Tokenizer does this.
The text was updated successfully, but these errors were encountered: