Welcome to text2num’s documentation!

text2num is a package that provides functions and parser classes for:

  • parsing numbers expressed as words in French and convert them to integer values;
  • detect ordinals, cardinals and decimal numbers in a stream of French words and get their decimal digit representations.

text2num is distributed under the MIT license and is known to work on python version 3.6 and above.

Indices and tables