APERTIUM-DESWXML(1)

✨ APERTIUM-DESWXML(1) β€” General Commands Manual πŸ’–

🌸 NAME

Okay so the name of this one is apertium-deswxml β€” it's a WXML format processor for Apertium πŸ¦‹ bestie, it's literally the tool that cleans up your WXML data so the rest of the pipeline can vibe with it πŸ’…

🧚 SYNOPSIS

apertium-deswxml [-hin] [input_file [output_file]]

πŸ’œ DESCRIPTION

okay so apertium-deswxml is a WXML format processor, and you should always run your data through it before you pipe it into lt-proc(1) πŸŽ€ It takes a WXML document as input and spits out something lt-proc(1) can actually work with ✨

The trick is that all the WXML tags and other formatting info get wrapped in brackets, so lt-proc(1) treats them as whitespace between words. It's giving invisible-but-still-there πŸ™ˆ

πŸ‘‘ OPTIONS

  • -h, --help β€” Shows you the help text. Main character energy, literally just ask for help 🫢
  • -i β€” Makes the trailing sentence terminator (.) get added every single time, no exceptions. Heads up though, this can lead to duplicates πŸ’€
  • -n β€” Stops the trailing sentence terminator from being added at all πŸ“

πŸ“ EXAMPLES

You could write the following to show how the word β€œgener” gets analysed 🌈

echo "<b>gener</b>" | apertium-deswxml | lt-proc
ca-es.automorf.bin

πŸ¦‹ SEE ALSO

apertium(1), apertium-desrtf(1), apertium-destxt(1), lt-proc(1) πŸ’–

Copyright © 2005, 2006 Universitat d'Alacant / Universidad de Alicante. This is free software, so you can redistribute copies of it under the terms of the GNU General Public License: https://www.gnu.org/licenses/gpl.html 🫢

πŸ™ˆ BUGS

Many... lurking in the dark and waiting for you! πŸ‘»


Bye bestie, this manual was brought to you by the Apertium team, version 2006-03-21 πŸ’…βœ¨