This phase II trial studies how well combination chemotherapy and pralatrexate works in treating patients with non-Hodgkin lymphoma (NHL). Drugs used in chemotherapy work in different ways to stop the growth of cancer cells, either by killing the cells or by stopping them from dividing