Difference between revisions of "Dictionary reader"

From Apertium
Jump to navigation Jump to search
m
(New name for French Page)
 
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
[[Lecteur de dictionnaire|En français]]

== Reading elements ==
== 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)
You can also use a URL as a filename (with <code>-url</code> before the dictionary filename)
Line 9: Line 11:
Example:
Example:


$ ./dictools dic-reader list-lemmas -url http://xixona.dlsi.ua.es/~ebenimeli/files/mydic.dix
$ 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 ===


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


=== List of lemmas ===
=== List of lemmas ===


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


=== List of definitions ===
=== List of definitions ===


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


=== List pairs ===
=== List pairs ===


$ ./dictools 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:Tools]]
[[Category:Dixtools]]
[[Category:Development]]
[[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>