Text this: Learning motif features and topological structure of molecules for metabolic pathway prediction