APERTIUM-DESMEDIAWIKI(1)

✨ APERTIUM-DESMEDIAWIKI(1) ✨

General Commands Manual 🧚 this one lives in the General Commands crew, bestie.

πŸ’– NAME

apertium-desmediawiki β€” a mediawiki format processor for Apertium πŸŽ€

🌸 SYNOPSIS

apertium-desmediawiki [input_file [output_file]]

✨ DESCRIPTION

okay so apertium-desmediawiki is a processor for mediawiki XML dumps (aka the ones you get from Special:Export) πŸ“– literally the way to clean them up before anything else happens!!

You pass your data through this processor before piping it into lt-proc(1) πŸ’… It takes input from a text file and spits out output that lt-proc(1) can actually work with. The formatting stuff (newlines, tabs, etc.) gets wrapped in brackets, so lt-proc(1) reads it as whitespace between words. It's giving organized 🫢


πŸŽ€ OPTIONS

  • -h, --help β€” shows you the help text πŸ’œ when you're lost, start here bestie

πŸ¦‹ EXAMPLES

Here's a cute little demo of how the word β€œgener” gets analysed πŸ“

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

πŸ‘‘ SEE ALSO


Copyright © 2005, 2006 Universitat d'Alacant / Universidad de Alicante. ✨

This is free software, so you're totally allowed to redistribute copies of it under the terms of the GNU General Public License: https://www.gnu.org/licenses/gpl.html 🫢


πŸ™ˆ BUGS

⚠️ Heads up: complicated links like [[page|alternative text]], [[link]]s, etc. are not supported. Sorry, bestie 😭
⚠️ Another heads up: the mediawiki parser has special support for mixing apostrophes and apostrophes as formatting. That's not supported either πŸ’€

Apertium Β· August 30, 2009 πŸ¦‹ Stay iconic and keep those pages clean, bestie! πŸ’…βœ¨