|
From: Xavi I. <xa...@in...> - 2013-02-27 20:52:13
|
I've just checked in the code for the new Dixtools option. For now, only the *interactive mode* is working (no batch mode yet), so don't expect much from it; I would consider it just a proof of concept. It's only tested in standard "dix" files (from the pair es-ca), so it might not work for metadix files. If you want to try it, just update and build the SVN version of Dixtools (or download a snapshot I've just bulit from https://dl.dropbox.com/u/188135/apertium-dixtools.jar) How to use it: * java -jar path/to/apertium-dixtools.jar *enhance *existing_dict.xml * name_new_dict.dix* There are 3 parameters - *enhance* - the name for the tool - *existing_dict.dix* - the name of the existing dict (i.e.: apertium-es-ca.ca.dix) - name_new_dict.dix - the name we want the new (*enhanced*) dict to be saved - ALERT: the tool simply overrides whatever file exists with that name If anyone finds any error, don't hesitate to report it to the list. I'll try to fix it ASAP. Regards -- < Xavi Ivars > < http://xavi.ivars.me > |