This package provides a tool for textualizing integers. In other words, a tool for getting the textual representation of integers.
For example, the textual representation of 123 is 'one hundred twenty-three'.
importtextualizeprint(textualize.textualize(5))
# 'five' is printedInstead of textualize(num), you can also use the convenience
function i2s(num):
importtextualizeprint(textualize.i2s(5))
# 'five' is printedor
fromtextualizeimport*print(i2s(5))
# 'five' is printed>>>fromtextualizeimporti2s>>>i2s(5)
'five'>>>i2s(104)
'one hundred four'>>>i2s(8294)
'eight thousand two hundred ninety-four'>>>i2s(10000)
'ten thousand'This package is released under The MIT License. See LICENSE.txt for details.