apertium-desmediawiki(1)

apertium-desmediawiki1

Mediawiki format processor for apertium

Usage

apertium-desmediawiki [input_file [output_file]]

Overview

apertium-desmediawiki is a processor for mediawiki XML dumps (i.e., those produced using Special:Export). Data should be passed through this processor before being piped to lt-proc(1). The program takes input in the form of a text file and produces output suitable for processing with lt-proc(1). Format information (newlines, tabs, etc.) is enclosed in brackets so that lt-proc(1) treats it as whitespace between words.

Options

-h, --help

Display this help.

Examples

You could write the following to show how the word “gener” is analysed:

echo "gener" | apertium-destxt | lt-proc ca-es.automorf.bin

Releases

5 releases since Debian 9 (Stretch); the text changed 2 times.

  1. 9
  2. 10
  3. 11–13

Bugs

Complicated links – [[page|alternative text]], [[link]]s, etc. are not supported.

The mediawiki parser has special support for mixing apostrophes and apostrophes as formatting. This is not supported either.

From apertium 3.9.12-1 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.