APERTIUM-DESLATEX(1)

✨ Okay, Bestie, Let's Get Into apertium-deslatex(1) ✨

This is the manual page for apertium-deslatex from the General Commands Manual, section 1. It's giving main character energy πŸ’…

✨ NAME ✨

apertium-deslatex is a LaTeX format processor for Apertium 🌸 literally the vibe.

✨ SYNOPSIS ✨

apertium-deslatex [-hin] [input_file [output_file]]

✨ DESCRIPTION ✨

Okay so this tool is part of the Apertium open-source machine translation toolbox 🌈 you can check it out at https://apertium.org/.

The apertium-deslatex filter takes the output of apertium-prelatex(1) and deformats it into a β€œXMLish” LaTeX custom format πŸŽ€ super clean, no cap. The result is ready for lt-proc(1). Format stuff like newlines and tabs gets wrapped in brackets so that lt-proc(1) reads it as whitespace between words 🫢

✨ OPTIONS ✨

  • -h, --help β€” pulls up the help text so you can see everything πŸ’–
  • -i β€” makes the trailing sentence terminator (β€˜.’) get added every single time, no exceptions πŸ”₯ heads up though, this one can lead to duplicates πŸ’€
  • -n β€” stops the trailing sentence terminator from being added at all πŸ™…

✨ EXAMPLES ✨

You could write something like this to see how the word β€œgener” gets analysed 🧚

echo "<textit/><CONTENTS>gener</CONTENTS>" | apertium-deslatex |
lt-proc ca-es.automorf.bin

✨ SEE ALSO ✨

apertium(1), apertium-destxt(1), apertium-postlatex(1), apertium-postlatex-raw(1), apertium-prelatex(1), apertium-relatex(1), lt-proc(1). These are all iconic, so go read them too πŸ‘‘

Copyright Β© 2005, 2006 Universitat d'Alacant / Universidad de Alicante. It's free software πŸ¦‹ so you're allowed to redistribute copies under the terms of the GNU General Public License: https://www.gnu.org/licenses/gpl.html.

✨ BUGS ✨

⚠️ Bestie, heads up: complicated constructions in LaTeX (e.g., custom defined tags) are not (yet) supported 😭

That's the whole tea, bestie πŸ’œ this page came from Apertium and is dated February 29, 2012. Slay ✨🫢