Transforming a Nonstandard Table into Formalized Tables