More language model fixes
A script to generate a single document from all the fragments