Dixtools: Equivalent paradigms
Jump to navigation
Jump to search
The equiv-paradigms task available in crossdics package finds equivalent paradigms, removes duplicated ones and updates the references to paradigms (<par n="..."/>
elements)
$ ./dictools equiv-paradigms <dic> <newdic>
Example
$ ./dictools equiv-paradigms apertium-es-ca.es.dix newdic.dix
Output:
Equivalent paradigms: (S__haz, S__cantad) (S__ház, S__cantád) (buen__adj, mal__adj) (cambi/ar__vblex, abandon/ar__vblex) (alí/ar__vblex, sitú/ar__vblex) (vénd/er__vblex, déb/er__vblex) (prohib/ir__vblex, reun/ir__vblex) Replacements: 'reun/ir__vblex' has been replaced 1 times. 'abandon/ar__vblex' has been replaced 1213 times. 'sitú/ar__vblex' has been replaced 14 times. 'mal__adj' has been replaced 1 times. 'S__cantád' has been replaced 122 times. 'déb/er__vblex' has been replaced 1 times. 'S__cantad' has been replaced 122 times.