Python Function that changes words describing a number into a real value.