You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
testing_text_to_num = alpha2digit("""Please call me at one two three four five six seven eight nine zero in reference to ticket C F zero three two zero seven eight two""", 'en', ordinal_threshold=0)
The expected result would have been: 'Please call me at 1 2 3 4 5 6 7 8 9 0 in reference to ticket C F 03 2 07 8 2'
or ''Please call me at 1 2 3 4 5 6 7 8 9 zero in reference to ticket C F 03 2 07 8 2'
The actual result was: 'Please call me at 1 2 3 4 5 6 7 8 9 in reference to ticket C F 03 2 07 8 2'
If there is punctuation after the 'zero' it converts it to int just fine, if you remove the 'in' after 'zero' it converts it to an int as well. I get why it's having trouble (#42), but it should not be dropping the data.
The text was updated successfully, but these errors were encountered:
testing_text_to_num = alpha2digit("""Please call me at one two three four five six seven eight nine zero in reference to ticket C F zero three two zero seven eight two""", 'en', ordinal_threshold=0)
The expected result would have been: 'Please call me at 1 2 3 4 5 6 7 8 9 0 in reference to ticket C F 03 2 07 8 2'
or ''Please call me at 1 2 3 4 5 6 7 8 9 zero in reference to ticket C F 03 2 07 8 2'
The actual result was: 'Please call me at 1 2 3 4 5 6 7 8 9 in reference to ticket C F 03 2 07 8 2'
If there is punctuation after the 'zero' it converts it to int just fine, if you remove the 'in' after 'zero' it converts it to an int as well. I get why it's having trouble (#42), but it should not be dropping the data.
The text was updated successfully, but these errors were encountered: