Dixtools: Grep

From Apertium
Jump to navigation Jump to search

Usage

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

Examples

  • 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