transform literary texts into legal contracts