Difference between revisions of "Dictionary reader"
Jump to navigation
Jump to search
m |
m |
||
Line 3: | Line 3: | ||
Reading elements in dictionaries |
Reading elements in dictionaries |
||
$ |
$ apertium-dixtools dic-reader <action> [-url] <dic> |
||
You can also use a URL as a filename (with <code>-url</code> before the dictionary filename) |
You can also use a URL as a filename (with <code>-url</code> before the dictionary filename) |
||
Line 9: | Line 9: | ||
Example: |
Example: |
||
$ |
$ apertium-dixtools dic-reader list-lemmas -url http://xixona.dlsi.ua.es/~ebenimeli/files/mydic.dix |
||
== Getting a simple list of elements == |
== Getting a simple list of elements == |
||
=== List of paradigms === |
=== List of paradigms === |
||
$ |
$ apertium-dixtools dic-reader list-paradigms <dic> |
||
=== List of lemmas === |
=== List of lemmas === |
||
$ |
$ apertium-dixtools dic-reader list-lemmas <dic> |
||
=== List of definitions === |
=== List of definitions === |
||
$ |
$ apertium-dixtools dic-reader list-definitions <dic> |
||
=== List pairs === |
=== List pairs === |
Revision as of 14:05, 17 March 2008
Contents
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
$ ./dictools dic-reader list-pairs <bil-dic>