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
I came across this library but in the documentation there was no convert numbers to words + change them in a sentence. so i made a function for that.
sentence = extract_replace("In 2019, mark saved $15 thousand, for a total savings of 54 thousand over eight years." ) print(sentence)
output : In two thousand and nineteen, mark saved $fifteen thousand, for a total savings of fifty-four thousand over eight years.
i made the extract_replace() function which calls another function that i made called find_num_index() .
i would appreciate if anyone can tell me if i can commit my work to help other people who might need this function to directly convert numbers to words in sentences in the future.
Thank you :)
The text was updated successfully, but these errors were encountered:
I came across this library but in the documentation there was no convert numbers to words + change them in a sentence. so i made a function for that.
sentence = extract_replace("In 2019, mark saved $15 thousand, for a total savings of 54 thousand over eight years." ) print(sentence)
output : In two thousand and nineteen, mark saved $fifteen thousand, for a total savings of fifty-four thousand over eight years.
i made the extract_replace() function which calls another function that i made called find_num_index() .
i would appreciate if anyone can tell me if i can commit my work to help other people who might need this function to directly convert numbers to words in sentences in the future.
Thank you :)
The text was updated successfully, but these errors were encountered: