Difference between revisions of "Dictionary reader"

From Apertium
Jump to navigation Jump to search
(→‎Reading elements: URL as a filename)
m
Line 11: Line 11:
 
$ ./dictools dic-reader list-lemmas -url http://xixona.dlsi.ua.es/~ebenimeli/files/mydic.dix
 
$ ./dictools dic-reader list-lemmas -url http://xixona.dlsi.ua.es/~ebenimeli/files/mydic.dix
   
== List of paradigms ==
+
== Getting a simple list of elements ==
  +
=== List of paradigms ===
   
 
$ ./dictools dic-reader list-paradigms <dic>
 
$ ./dictools dic-reader list-paradigms <dic>
   
== List of lemmas ==
+
=== List of lemmas ===
   
 
$ ./dictools dic-reader list-lemmas <dic>
 
$ ./dictools dic-reader list-lemmas <dic>
   
== List of definitions ==
+
=== List of definitions ===
   
 
$ ./dictools dic-reader list-definitions <dic>
 
$ ./dictools dic-reader list-definitions <dic>
   
== List pairs ==
+
=== List pairs ===
   
 
$ ./dictools dic-reader list-pairs <bil-dic>
 
$ ./dictools dic-reader list-pairs <bil-dic>
  +
  +
[[Category:Tools]]
  +
[[Category:Development]]

Revision as of 08:22, 4 October 2007

Reading elements

Reading elements in dictionaries

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

You can also use a URL as a filename (with -url before the dictionary filename)

Example:

$ ./dictools dic-reader list-lemmas -url http://xixona.dlsi.ua.es/~ebenimeli/files/mydic.dix

Getting a simple list of elements

List of paradigms

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

List of lemmas

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

List of definitions

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

List pairs

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