Recognizing Accountancy Formulas