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
apertium(1)πapertium-deshtml(1)πapertium-desrtf(1)πapertium-destxt(1)πlt-proc(1)π
π COPYRIGHT
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! π β¨
π¦ where this page comes from
- debian bookworm: apertium 3.8.3-1+b2 Β· GPL-2.0-or-later
- debian trixie: apertium 3.9.12-1 Β· GPL-2.0-or-later
- ubuntu jammy: apertium 3.7.2-2build2 Β· GPL-2.0-or-later
- ubuntu noble: apertium 3.9.4-1build1 Β· GPL-2.0-or-later
- ubuntu questing: apertium 3.9.12-1build1
- ubuntu resolute: apertium 3.9.12-1build3 Β· GPL-2.0-or-later
- ubuntu stonking: apertium 3.9.12-2 Β· GPL-2.0-or-later
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms