Difference between revisions of "Dictionary reader"

From Apertium
Jump to navigation Jump to search
Line 28: Line 28:
$ apertium-dixtools dic-reader list-pairs <bil-dic>
$ apertium-dixtools dic-reader list-pairs <bil-dic>


=== List lexical forms of words ===

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


[[Category:Dixtools]]
[[Category:Dixtools]]

Revision as of 10:35, 7 September 2010

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>