Difference between revisions of "Dixtools: Merge dictionaries"

From Apertium
Jump to navigation Jump to search
m
(Link to French page)
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Fusion de dictionnaires|En français]]

{{main|Crossdics}}

== Merging morphological dictionaries ==
== Merging morphological dictionaries ==


In order to merge two morphological dictionaries you can use the <code>dictools</dictools> scripts available in <code>crossdics</code> package.
In order to merge two morphological dictionaries you can use the <code>apertium-dixtools</code> script.


dictools '''merge-morph''' apertium-xx-yy.'''xx'''.dix apertium-xx-zz.'''xx'''.dix apertium-merged-xx.dix [-debug]
$ apertium-dixtools '''merge-morph''' apertium-xx-yy.'''xx'''.dix apertium-xx-zz.'''xx'''.dix apertium-merged-xx.dix [-debug]


* Use the option <code>-debug</code> to get more details about the merging process. A log file <code>merge.log</code> will be generated.
* Use the option <code>-debug</code> to get more details about the merging process. A log file <code>merge.log</code> will be generated.
Line 12: Line 16:
* [[Sort a dictionary|How to sort a dictionary]]
* [[Sort a dictionary|How to sort a dictionary]]


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

Latest revision as of 09:11, 6 October 2014

En français

Main article: Crossdics

Merging morphological dictionaries[edit]

In order to merge two morphological dictionaries you can use the apertium-dixtools script.

$ apertium-dixtools merge-morph apertium-xx-yy.xx.dix apertium-xx-zz.xx.dix apertium-merged-xx.dix [-debug]
  • Use the option -debug to get more details about the merging process. A log file merge.log will be generated.

See also[edit]