a machine learning approach for processing mathematical language in scientific documents