On 22 June 2011 16:25, mougeyc <[email protected]> wrote: > Hi everybody, > > I have tested the ODT format module, with a file > test.odt: Contains just "Apertium" > > The command > $ apertium-unformat test.odt | apertium-reodt > test2.odt > gives a corrupted file, that my OOo isn't able to read. > > OOo version: 3.2.1 > Ubuntu 10.10 > > Any ideas ?
Where did you get this 'apertium-unformat' command? Is that part of apertium-awi? If so, don't you think you should have asked Arnaud first? The command apertium -f odt en-es test.odt out.odt works fine for me. The thing that should be noted here is that the apertium shellscript takes care of unzipping the .odt file, extracting the XML from inside it, passing it through apertium-desodt, the mode for the language, and apertium-reodt, then zipping the output into the desired output file. IIRC, apertium-awi takes care of unzip/zip itself, so those are probably the missing steps. -- <Sefam> Are any of the mentors around? <jimregan> yes, they're the ones trolling you ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Apertium-stuff mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/apertium-stuff
