Text this: An energy-based deep splitting method for the nonlinear filtering problem