Dixtools: Grep

From Apertium
Revision as of 08:20, 25 March 2015 by Raveesh (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage[edit]

apertium-dixtools grep [--section section-id] [--lemma lemma-name] [--par paradigm-name] [input.dix] [output.dix]

Examples[edit]

  • This command will filter lemmas with "abeja__n" paradigm and then print inflections of them.
$ apertium-dixtools grep --par abeja__n apertium-en-es.es.dix | lt-expand-j -
  • This command will filter all nouns and print a dictionary as output.
$ apertium-dixtools grep --par '.*__n' apertium-eo-es.es.dix