Skip to content
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

[BUG] Normalizers always tranform input to lowercase #26

Open
umoqnier opened this issue Dec 6, 2024 · 0 comments
Open

[BUG] Normalizers always tranform input to lowercase #26

umoqnier opened this issue Dec 6, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@umoqnier
Copy link
Member

umoqnier commented Dec 6, 2024

Describe the bug
Normalizers always tranform input to lowercase and information can be missing for other NLP tasks

To Reproduce

Steps to reproduce the behavior:

from elotl.otomi.orthography import Normalizer
N = Normalizer("ots")
input_str = "Ra ngaho ra tso̱ y'o̱te:"
print(N.normalize(input_str))
>>> "ra ngajo ra tso̱ y'o̱te:"

Expected behavior

from elotl.otomi.orthography import Normalizer
N = Normalizer("ots")
input_str = "Ra ngaho ra tso̱ y'o̱te:"
print(N.normalize(input_str))
>>> "Ra ngajo ra tso̱ y'o̱te:"

Desktop (please complete the following information):

  • OS: Any
  • Version: 0.0.1.16
@umoqnier umoqnier added the bug Something isn't working label Dec 6, 2024
@umoqnier umoqnier self-assigned this Dec 6, 2024
@umoqnier umoqnier added this to the Otomi normalizer release milestone Dec 6, 2024
@umoqnier umoqnier removed this from the Otomi normalizer release milestone Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant