Dixtools: Equivalent paradigms

From Apertium
Revision as of 20:36, 21 January 2020 by ScoopGracie (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

En français

The equiv-paradigms task available in Apertium-dixtools package finds equivalent paradigms, removes duplicated ones and updates the references to paradigms (<par n="..."/> elements)

$ apertium-dixtools equiv-paradigms <dic> <newdic>

Example[edit]

$ apertium-dixtools 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.

See also[edit]