pywikitools.lang.native_numerals#

Module Contents#

Functions#

native_to_standard_numeral(language_code: str, native_text: str) → str

Replace native numerals in a str with standard numerals.

pywikitools.lang.native_numerals.native_to_standard_numeral(language_code: str, native_text: str) str#

Replace native numerals in a str with standard numerals.

@param language_code Selects which languages numerals are to be replaced @param native_text Text in which native numerals are to be replaced @return str with native numerals replaced by standard numerals