Convert written numbers to Arabic numerals