text2num icon indicating copy to clipboard operation
text2num copied to clipboard

Is there a way to convert ordinals less than 3?

Open leokury opened this issue 1 year ago • 3 comments

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 avatar Sep 25 '23 19:09 leokury

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

rtxm avatar Oct 13 '23 07:10 rtxm

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

haitiangk92 avatar Jan 25 '24 21:01 haitiangk92

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

Even with ordinal_threshold=0?

rtxm avatar Jan 26 '24 09:01 rtxm