Difference between revisions of "Dictionary reader"

From Apertium
Jump to navigation Jump to search
(Documentation in English)
(Link to French page)
Line 1: Line 1:
  +
[[Examen d'un dictionnaire|En français]]
  +
 
== Reading elements ==
 
== Reading elements ==
   

Revision as of 08:46, 6 October 2014

En français

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>