Text this: Mitigation of nonlinear effects using machine learning in coherent optical access networks