Skip to content

Commit 0d2e6f7

Browse files
Add word_to_number function for converting words to numbers
The number will be provided into a alphabet characters, the goal is to convert them into numbers.
1 parent b8d0760 commit 0d2e6f7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

word2number.py renamed to nitkarshchourasia/word2number/word2number.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,11 @@ def word_to_number(word):
7373
number_str = "two trillion seven billion fifty crore thirty-four lakh seven thousand nine hundred"
7474
result = word_to_number(number_str)
7575
print(result)
76+
77+
78+
# Will make a tkinter application out of it.
79+
## It will have a slider to use the more efficient way or just the normal way.
80+
## More efficient way would have a library word2num to choose from.
81+
82+
# The application would be good.
83+
# I want to make it more efficient and optimized.

0 commit comments

Comments
 (0)