#!/usr/bin/python2.2 from IRstruct import * from docs import * Item.map = stemprops ircl = SimThes_CL(terms_en + terms_de, docs) print ircl.asMP() texfile=open('simthes-cl.tex', 'w') mpfile=open('simthes-cl.mp', 'w') texfile.write(ircl.asTeX()) mpfile.write(ircl.asMP()) ir = SimThes(terms_en, doc_en) texfile=open('simthes-upd.tex', 'w') mpfile=open('simthes-upd.mp', 'w') texfile.write(ir.asTeX()) mpfile.write(ir.asMP())