TensorRT  7.2.1.6
NVIDIA TensorRT
Looking for a C++ dev who knows TensorRT?
I'm looking for work. Hire me!
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
text.numbers Namespace Reference

Functions

def _remove_commas (m)
 
def _expand_decimal_point (m)
 
def _expand_dollars (m)
 
def _expand_ordinal (m)
 
def _expand_number (m)
 
def normalize_numbers (text)
 

Variables

 _inflect = inflect.engine()
 
 _comma_number_re = re.compile(r'([0-9][0-9\,]+[0-9])')
 
 _decimal_number_re = re.compile(r'([0-9]+\.[0-9]+)')
 
 _pounds_re = re.compile(r'£([0-9\,]*[0-9]+)')
 
 _dollars_re = re.compile(r'\$([0-9\.\,]*[0-9]+)')
 
 _ordinal_re = re.compile(r'[0-9]+(st|nd|rd|th)')
 
 _number_re = re.compile(r'[0-9]+')
 

Function Documentation

◆ _remove_commas()

def text.numbers._remove_commas (   m)
private

◆ _expand_decimal_point()

def text.numbers._expand_decimal_point (   m)
private

◆ _expand_dollars()

def text.numbers._expand_dollars (   m)
private

◆ _expand_ordinal()

def text.numbers._expand_ordinal (   m)
private

◆ _expand_number()

def text.numbers._expand_number (   m)
private

◆ normalize_numbers()

def text.numbers.normalize_numbers (   text)

Variable Documentation

◆ _inflect

text.numbers._inflect = inflect.engine()
private

◆ _comma_number_re

text.numbers._comma_number_re = re.compile(r'([0-9][0-9\,]+[0-9])')
private

◆ _decimal_number_re

text.numbers._decimal_number_re = re.compile(r'([0-9]+\.[0-9]+)')
private

◆ _pounds_re

text.numbers._pounds_re = re.compile(r'£([0-9\,]*[0-9]+)')
private

◆ _dollars_re

text.numbers._dollars_re = re.compile(r'\$([0-9\.\,]*[0-9]+)')
private

◆ _ordinal_re

text.numbers._ordinal_re = re.compile(r'[0-9]+(st|nd|rd|th)')
private

◆ _number_re

text.numbers._number_re = re.compile(r'[0-9]+')
private