Difference between revisions of "Dixtools: Merge dictionaries"

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

{{main|Crossdics}}
{{main|Crossdics}}


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


In order to merge two morphological dictionaries you can use the <code>dictools</code> 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 13: Line 15:
* [[List of language pairs|List of available language pairs]]
* [[List of language pairs|List of available language pairs]]
* [[Sort a dictionary|How to sort a dictionary]]
* [[Sort a dictionary|How to sort a dictionary]]
* [[Sort_a_dictionary#Dictionaries_with_xi:includes|Processing dictionaries with xincludes]]


[[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]