Difference between revisions of "Dictionary reader"

From Apertium
Jump to navigation Jump to search
m
Line 26: Line 26:
=== List pairs ===
=== List pairs ===


$ ./dictools dic-reader list-pairs <bil-dic>
$ apertium-dixtools dic-reader list-pairs <bil-dic>


[[Category:Tools]]
[[Category:Tools]]

Revision as of 14:06, 17 March 2008

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>