Difference between revisions of "Dixtools: Equivalent paradigms"

From Apertium
Jump to navigation Jump to search
(Finding equivalent paradigms)
 
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Otherlang|Paradigmes équivalents|{{French}}}}
The '''equiv-paradigms''' task available in [[Crossdics|crossdics package]] finds equivalent paradigms, removes duplicated ones and updates the references to paradigms (<code><par n="..."/></code> elements)


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

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


== Example ==
== Example ==


$ ./dictools equiv-paradigms apertium-es-ca.es.dix newdic.dix
$ apertium-dixtools equiv-paradigms apertium-es-ca.es.dix newdic.dix


Output:
Output:
Line 29: Line 31:
</pre>
</pre>


== Check
== See also ==
== See also ==
* [[Paradigm chopper]]
* [[Paradigm chopper]]

[[Category:Dixtools]]
[[Category:Documentation in English]]

Latest revision as of 20:36, 21 January 2020

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]