Dictionary reader

From Apertium
Revision as of 17:29, 3 September 2011 by Bech (talk | contribs) (Documentation in English)
Jump to navigation Jump to search

Reading elements

Reading elements in dictionaries

$ apertium-dixtools dic-reader <action> [-url] <dic>

You can also use a URL as a filename (with -url before the dictionary filename)

Example:

$ apertium-dixtools dic-reader list-lemmas -url http://xixona.dlsi.ua.es/~ebenimeli/files/mydic.dix

Getting a simple list of elements

List of paradigms

$ apertium-dixtools dic-reader list-paradigms <dic>

List of lemmas

$ apertium-dixtools dic-reader list-lemmas <dic>

List of definitions

$ apertium-dixtools dic-reader list-definitions <dic>

List pairs

$ apertium-dixtools dic-reader list-pairs <bil-dic>

List lexical forms of words

$ apertium-dixtools dic-reader list-lexicalforms <dic>