copy the OutputFileStream from phrase-extract into moses. If you give it a file name that ends in .gz, it'll automatically output a gzip file
On 15 March 2013 13:25, Lane Schwartz <[email protected]> wrote: > I'm working on code that exports the Moses search lattice as a > hypergraph, and at times these files can get rather large. I am > interested in allowing the user to specify that Moses should gzip > these files as it outputs them. > > Is there an example anywhere in the Moses code to show how to output a > file in gzip format? > > Thanks, > Lane > _______________________________________________ > Moses-support mailing list > [email protected] > http://mailman.mit.edu/mailman/listinfo/moses-support > -- Hieu Hoang Research Associate University of Edinburgh http://www.hoang.co.uk/hieu
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
