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

Is there a way to convert ordinals less than 3? #98

Open
leokury opened this issue Sep 25, 2023 · 3 comments
Open

Is there a way to convert ordinals less than 3? #98

leokury opened this issue Sep 25, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@leokury
Copy link

leokury commented Sep 25, 2023

I cannot convert ordinal less than 3 in Portuguese even setting the ordinal threshold parameter. Is there any way to do that?

Examples:

alpha2digit("primeiro", "pt", ordinal_threshold=0)

Expected = 1º
Result = 'primeiro'

alpha2digit("segundo", "pt", ordinal_threshold=1)

Expected = 2º
Result = 'segundo'

@leokury leokury changed the title Issue for converting ordinals in Portuguese Is there a way to convert ordinals less than 3? Sep 25, 2023
@rtxm
Copy link
Collaborator

rtxm commented Oct 13, 2023

It looks like there is a bug in the Portuguese version indeed.

@rtxm rtxm added the bug Something isn't working label Oct 13, 2023
@haitiangk92
Copy link

This is also an issue in English.
'First', 'Second' and 'Third' do not get interpreted.

@rtxm
Copy link
Collaborator

rtxm commented Jan 26, 2024

This is also an issue in English. 'First', 'Second' and 'Third' do not get interpreted.

Even with ordinal_threshold=0?

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

3 participants