Wer nur den lieben Gott laesst walten
My working based on just the soprano line:
WAV file generated by Sibelius
This compares with a recent ‘DeepBach’ machine harmonisation given in the paper:
and a different, better example from the same tool in this video:
The DeepBach tool does not check for parallels but is quite impressive.