Factor out parallel corpus handling, update from kenlm