Difference between revisions of "Dictionary reader"

From Apertium
Jump to navigation Jump to search
(Reading a dictionary: list of paradigms, lemmas, definitions, pairs, etc.)
 
(New name for French Page)
 
(10 intermediate revisions by 5 users not shown)
Line 1: Line 1:
[[Lecteur de dictionnaire|En français]]

== Reading elements ==

Reading elements in dictionaries
Reading elements in dictionaries


$ ./dictools dic-reader <action> [-url] <dic>
$ apertium-dixtools dic-reader <action> [-url] <dic>

You can also use a URL as a filename (with <code>-url</code> 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 paradigms ==


=== List of definitions ===
$ ./dictools dic-reader list-paradigms <dic>


$ apertium-dixtools dic-reader list-definitions <dic>
== List of lemmas ==


=== List pairs ===
$ ./dictools dic-reader list-lemmas <dic>


$ apertium-dixtools dic-reader list-pairs <bil-dic>
== List of definitions ==


=== List lexical forms of words ===
$ ./dictools dic-reader list-definitions <dic>


$ apertium-dixtools dic-reader list-lexicalforms <dic>
== List pairs ==


[[Category:Dixtools]]
$ ./dictools dic-reader list-pairs <bil-dic>
[[Category:Documentation in English]]

Latest revision as of 08:56, 6 October 2014

En français

Reading elements[edit]

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[edit]

List of paradigms[edit]

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

List of lemmas[edit]

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

List of definitions[edit]

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

List pairs[edit]

$ apertium-dixtools dic-reader list-pairs <bil-dic>

List lexical forms of words[edit]

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