Nice, really nice for newcomers, thanks Xavi. If you plan to go ahead refining it, remember that, at least in Spanish, in a regular .dix dictionary, most verbs are represented by two entries. For example, for "procastinar", the enhance tool currently adds:
<e lm="procastinar"> <i>procastin</i><par n="abandon/ar__vblex"/></e> Which is good, but, to cover all forms of verbs in Spanish (procastínatelo) there should be a complimentary entry: <e lm="procastinar"><p><l>procastín</l> <r>procastin</r></p><par n="abandón/ar__vblex"/></e> Cheers, Gema. On Wed, Feb 27, 2013 at 9:50 PM, Xavi Ivars <[email protected]> wrote: > 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 > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > _______________________________________________ > Apertium-stuff mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/apertium-stuff > -- Gema Ramírez --------------------- Prompsit LE Traduce, extrae, analiza: http://aplica.prompsit.com ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ Apertium-stuff mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/apertium-stuff
