Large deviations and Nelson processes