allo-media / text2num

Parse and convert numbers written in French, English, Spanish, Portuguese, German and Catalan into their digit representation.
https://text2num.readthedocs.io
MIT License
102 stars 47 forks source link

about the position of number text #80

Closed zhenjia2017 closed 1 year ago

zhenjia2017 commented 2 years ago

Hi, can we know the position of number text in the original text using text2num? Thanks!

rtxm commented 2 years ago

Hello, we currently don't provide a ready made function for this, but you can write your own using the class text2num.parsers.WordToDigitParser.