Dictionary reader

From Apertium
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>